https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61280
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |manu at gcc dot gnu.org Resolution|--- |FIXED --- Comment #1 from Manuel López-Ibáñez <manu at gcc dot gnu.org> --- This seems fixed in GCC 5.0 since now the preprocessed output tracks the system-header bit within macros: # 1 "test.c" # 1 "<built-in>" # 1 "<command-line>" # 1 "test.c" # 1 "test.h" 1 # 2 "test.h" 3 # 2 "test.c" 2 int foo(int i, unsigned j) { return # 2 "test.c" 3 (( # 2 "test.c" i # 2 "test.c" 3 ) < ( # 2 "test.c" j # 2 "test.c" 3 )) # 2 "test.c" ; }