Testcase: #define push _Pragma ("pack(push)") #define push1 _Pragma ("pack(push)")
push1 ------------------------------------------------------------------ This ICEs like: pc64:~> ~/newtest/bin/gcc t.c t.c:4: internal compiler error: in c_parser_consume_token, at c-parser.c:639 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. I will file a different bug for C++ since it is rejected there instead. -- Summary: [4.2 Regression] ice _Pragma and macros Product: gcc Version: 4.2.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27747