https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119441

--- Comment #3 from Sam James <sjames at gcc dot gnu.org> ---
I can't seem to reproduce the BUG output, even with the usual options to negate
some defaults:

# g++ /tmp/a.cxx -g -O1 -ftree-slp-vectorize -fPIC -pedantic -Wall -Wextra -o
/tmp/a -fno-stack-protector -U_FORTIFY_SOURCE -U_GLIBCXX_ASSERTIONS
-fno-stack-clash-protection -fno-PIE -no-pie -O1 && /tmp/a
/tmp/a.cxx:1:3: warning: style of line directive is a GCC extension
[-Wpedantic]
    1 | # 0 "main.cpp"
      |   ^
main.cpp: warning: style of line directive is a GCC extension [-Wpedantic]
/home/defaultuser/Public/mre/src//:1:3: warning: style of line directive is a
GCC extension [-Wpedantic]
<built-in>: warning: style of line directive is a GCC extension [-Wpedantic]
<command-line>: warning: style of line directive is a GCC extension
[-Wpedantic]
<command-line>: warning: style of line directive is a GCC extension
[-Wpedantic]
main.cpp:1:3: warning: style of line directive is a GCC extension [-Wpedantic]
main.cpp:2:3: warning: style of line directive is a GCC extension [-Wpedantic]
main.cpp:3:3: warning: style of line directive is a GCC extension [-Wpedantic]
main.cpp:6:3: warning: style of line directive is a GCC extension [-Wpedantic]
main.cpp:67:3: warning: style of line directive is a GCC extension [-Wpedantic]
main.cpp:70:3: warning: style of line directive is a GCC extension [-Wpedantic]
0xf746de28 0xf746e62c 804
0xf746de28 0xf746e62c 804

Reply via email to