This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PR cpp/7263 __extension__ doesn't suppress warning on LL or ULL constants
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Manuel López-Ibáñez <lopezibanez at gmail dot com>
- Cc: Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 16 Aug 2008 16:28:55 +0000 (UTC)
- Subject: Re: PR cpp/7263 __extension__ doesn't suppress warning on LL or ULL constants
- References: <6c33472e0808160600g5d9d3948j9e6d247cadff7b0e@mail.gmail.com>
On Sat, 16 Aug 2008, Manuel López-Ibáñez wrote:
> 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?
OK, but please also add a testcase for the _Complex_I case -
(__extension__ 1.0iF) should not be warned for with -std=c99 -pedantic -
if the patch fixes that as well.
--
Joseph S. Myers
joseph@codesourcery.com