This should produce two diagnostics. Only the second one is correctly emitted.
#define BAR _Pragma ("GCC poison XYZW") XYZW /*missing diagnostic*/ BAR XYZW /* correct diagnostic*/ -Chris -- Summary: _Pragma GCC poison broken Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: preprocessor AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: sabre at nondot dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28223