https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124857
--- Comment #11 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to H.J. Lu from comment #10)
> [hjl@gnu-zen4-1 gcc]$ cat /tmp/x.C
> void
> bar ()
> {
> #pragma omp metadirective when (device={arch("blahblah")}: nothing)
> default (nothing)
> ;
> }
> [hjl@gnu-zen4-1 gcc]$ ./xgcc -B./ -S -Wdeprecated-openmp -fopenmp /tmp/x.C
> /tmp/x.C: In function ‘void bar()’:
> /tmp/x.C:4:71: warning: ‘default’ clause on metadirectives deprecated since
> OpenMP 5.2, use ‘otherwise’ [-Wdeprecated-openmp]
> 4 | omp metadirective when (device={arch("blahblah")}: nothing) default
> (nothing)
> ^^^^^^^^^^^^ "#pragma " disappeared
> | ^~~~~~~
> | otherwise
> [hjl@gnu-zen4-1 gcc]$
layout::calculate_x_offset_display returns the offset which skips the first 10
characters.