Re: [PING] [PATCH] c/69507 - bogus warning: ISO C does not allow ‘__alignof__ (expression)’

2016-06-21 Thread Christophe Lyon
On 20 June 2016 at 17:46, Martin Sebor wrote: >> Since this patch was committed, I am now seeing failures on: >> gcc.dg/gnu99-const-expr-1.c >> gcc.dg/gnu99-static-1.c >> >> (targets arm, aarch64, I don't think that it should matter?) >> >> Can you have a look? > > > Sorry

Re: [PING] [PATCH] c/69507 - bogus warning: ISO C does not allow ‘__alignof__ (expression)’

2016-06-20 Thread Martin Sebor
Since this patch was committed, I am now seeing failures on: gcc.dg/gnu99-const-expr-1.c gcc.dg/gnu99-static-1.c (targets arm, aarch64, I don't think that it should matter?) Can you have a look? Sorry about that. I missed the test updates in my initial patch. I've committed them in r237606.

Re: [PING] [PATCH] c/69507 - bogus warning: ISO C does not allow ‘__alignof__ (expression)’

2016-06-20 Thread Christophe Lyon
On 4 June 2016 at 23:24, Martin Sebor wrote: > Ping: https://gcc.gnu.org/ml/gcc-patches/2016-05/msg02216.html > > > On 05/27/2016 11:34 AM, Martin Sebor wrote: >> >> The patch below adjusts the C alignof pedantic warning to avoid >> diagnosing the GCC extension (__alignof__) and

Re: [PATCH] c/69507 - bogus warning: ISO C does not allow ‘__alignof__ (expression)’

2016-06-13 Thread Joseph Myers
On Fri, 27 May 2016, Martin Sebor wrote: > The patch below adjusts the C alignof pedantic warning to avoid > diagnosing the GCC extension (__alignof__) and only diagnose > _Alignof in C99 and prior modes. This is consistent with how > __attribute__ ((aligned)) and _Alignas is handled (among

[PING] [PATCH] c/69507 - bogus warning: ISO C does not allow ‘__alignof__ (expression)’

2016-06-04 Thread Martin Sebor
Ping: https://gcc.gnu.org/ml/gcc-patches/2016-05/msg02216.html On 05/27/2016 11:34 AM, Martin Sebor wrote: The patch below adjusts the C alignof pedantic warning to avoid diagnosing the GCC extension (__alignof__) and only diagnose _Alignof in C99 and prior modes. This is consistent with how

[PATCH] c/69507 - bogus warning: ISO C does not allow ‘__alignof__ (expression)’

2016-05-27 Thread Martin Sebor
The patch below adjusts the C alignof pedantic warning to avoid diagnosing the GCC extension (__alignof__) and only diagnose _Alignof in C99 and prior modes. This is consistent with how __attribute__ ((aligned)) and _Alignas is handled (among other extensions vs standard features). Martin PR