------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-22 15:04 ------- Confirmed, 4.0.0 have the same issue.
To reproduce this on i686-pc-linux-gnu use cc1 directly so _GNU_SOURCE is not defined or undefine it in the source or invoke gcc as g++ t.cc -U_GNU_SOURCE the C front-end works still too. I am thinking this comes from the tokenize before parsing start parsing. -- What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Known to fail| |4.0.0 4.1.0 Known to work| |3.4.0 Summary|[4.1 regression] C++ fails |[4.0/4.1 regression] C++ |to print #include stack |fails to print #include | |stack Target Milestone|--- |4.0.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24009