Re: Change warnings for unsupported alignment to errors

2013-11-19 Thread Joseph S. Myers
On Tue, 19 Nov 2013, Richard Biener wrote: > > - warning (0, "alignment of %q+D is greater than maximum object " > > - "file alignment. Using %d", decl, > > - MAX_OFILE_ALIGNMENT/BITS_PER_UNIT); > > + error ("alignment of %q+D is greater than maximum object "

Re: Change warnings for unsupported alignment to errors

2013-11-19 Thread Richard Biener
On Tue, Nov 19, 2013 at 2:45 AM, Joseph S. Myers wrote: > When implementing C11 _Alignas in > , I noted > that I has omitted checks that alignment was supported (which, as > constraints in C11, should be errors or pedwarns rather than just >

Change warnings for unsupported alignment to errors

2013-11-18 Thread Joseph S. Myers
When implementing C11 _Alignas in , I noted that I has omitted checks that alignment was supported (which, as constraints in C11, should be errors or pedwarns rather than just plain warnings). The issues with the C11 definition of alignment