https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89151
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |msebor at gcc dot gnu.org Resolution|--- |WORKSFORME --- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> --- With the translation unit in attachment 45585 I'm unable to reproduce the errors with either GCC 8 or with trunk. After removing -Werror I get the following output with the command line options in comment #0 and the top of GCC 8 branch: $ gcc -S -Wno-class-memaccess -pipe -fsanitize=address -fno-omit-frame-pointer -ftrapv -std=c++11 -fPIC -g -Wall -pedantic -Wextra -Wformat=2 -Wshadow -Wmissing-include-dirs -Wuninitialized -Wfloat-equal -Wcast-align -Wcast-qual -Wwrite-strings -Wlogical-op -O1 -Wno-error=pragmas -O0 -fstrict-aliasing pr89151.C pr89151.C:1:3: warning: style of line directive is a GCC extension # 1 "bilsett.cc" ^ bilsett.cc:1:3: warning: style of line directive is a GCC extension /home/csabaraduly/wk/hotblack/__build-g++-8.2.0//:1:3: warning: style of line directive is a GCC extension <built-in>: warning: style of line directive is a GCC extension <command-line>:1:3: warning: style of line directive is a GCC extension <command-line>:1:3: warning: style of line directive is a GCC extension bilsett.cc:1:3: warning: style of line directive is a GCC extension bilsett.cc:9:3: warning: style of line directive is a GCC extension