Testcase: #define push _Pragma ("pack(push)") #define push1 _Pragma ("pack(push)")
push1 ------------------------------------------------------------------ In 4.1.0, this is accpeted and in 4.2.0, this is rejected: t.c:4: warning: malformed #pragma pack - ignored t.c:4: error: expected unqualified-id before ) token t.c:4: error: expected declaration before end of line I want to say this is valid -- Summary: [4.2 Regression] rejects _Pragma with macros Product: gcc Version: 4.2.0 Status: UNCONFIRMED Keywords: rejects-valid 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=27748