diff options
author | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2008-08-18 11:30:32 +0000 |
---|---|---|
committer | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2008-08-18 11:30:32 +0000 |
commit | d2e796ad5174fadb92878cee70cb5ee6e3a80df4 (patch) | |
tree | a1b6b4f8b23e426f282ef94475efeba20d3aac5f /gcc/c-opts.c | |
parent | cbe5f3b371c07c282d48d135cc5041092e1de28d (diff) | |
download | gcc-d2e796ad5174fadb92878cee70cb5ee6e3a80df4.zip gcc-d2e796ad5174fadb92878cee70cb5ee6e3a80df4.tar.gz gcc-d2e796ad5174fadb92878cee70cb5ee6e3a80df4.tar.bz2 |
re PR preprocessor/7263 (__extension__ keyword doesn't suppress warning on LL or ULL constants)
2008-08-18 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.
* gcc.dg/cpp/pr7263-3.c: New.
* gcc.dg/cpp/pr7263-3.h: New.
From-SVN: r139194
Diffstat (limited to 'gcc/c-opts.c')
-rw-r--r-- | gcc/c-opts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-opts.c b/gcc/c-opts.c index 300bf14..dccb45e 100644 --- a/gcc/c-opts.c +++ b/gcc/c-opts.c @@ -54,7 +54,7 @@ along with GCC; see the file COPYING3. If not see #endif /* CPP's options. */ -static cpp_options *cpp_opts; +cpp_options *cpp_opts; /* Input filename. */ static const char *this_input_filename; |