This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
This patch fixes part of PR7263 and it also fixes __extension__ to work on CPP diagnostics (for the C front-end at least). Bootstrapped and regression tested on x86_64-unknown-linux-gnu with --enable-languages=all,ada OK for trunk? 2008-08-16 Manuel Lopez-Ibanez <manu@gcc.gnu.org> PR cpp/7263 * c-opts.c (cpp_opts): Remove static. * c-parser.c (cpp_opts): Declare it extern. (disable_extension_diagnostics): Handle cpp options. (enable_extension_diagnostics): Likewise. testsuite/ * gcc.dg/cpp/pr7263-2.c: New. * gcc.dg/cpp/pr7263-2.h: New.
Attachment:
fix-pr7263-2.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |