Re: [Patch] Emit error for negative _Alignas alignment values

2013-04-29 Thread Joseph S. Myers
On Thu, 25 Apr 2013, Senthil Kumar Selvaraj wrote: > On Wed, Apr 24, 2013 at 03:18:51PM +, Joseph S. Myers wrote: > > On Wed, 3 Apr 2013, Senthil Kumar Selvaraj wrote: > > > > > 2013-04-03Senthil Kumar Selvaraj > > > > > > > > > * c-common.c (check_user_alignment): Emit error fo

Re: [Patch] Emit error for negative _Alignas alignment values

2013-04-24 Thread Senthil Kumar Selvaraj
On Wed, Apr 24, 2013 at 03:18:51PM +, Joseph S. Myers wrote: > On Wed, 3 Apr 2013, Senthil Kumar Selvaraj wrote: > > > 2013-04-03 Senthil Kumar Selvaraj > > > > * c-common.c (check_user_alignment): Emit error for negative values > > > > * gcc.dg/c1x-align-3.c: Add test for neg

Re: [Patch] Emit error for negative _Alignas alignment values

2013-04-24 Thread Joseph S. Myers
On Wed, 3 Apr 2013, Senthil Kumar Selvaraj wrote: > 2013-04-03Senthil Kumar Selvaraj > > * c-common.c (check_user_alignment): Emit error for negative values > > * gcc.dg/c1x-align-3.c: Add test for negative power of 2 OK (but note there should be a "." at the end of each C