https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89357
Joseph S. Myers <jsm28 at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|c |c++ --- Comment #1 from Joseph S. Myers <jsm28 at gcc dot gnu.org> --- The given test is C++, not C. I can't reproduce this issue with a C test; my expectation is that both _Alignas and __attribute__ ((aligned ())) should accept arbitrarily high alignments for automatic storage duration, which appears to be the case for C (if there were a bug I'd expect it to be rejects-valid not accepts-invalid). If you (Richard) think this is a C bug, please give a specific C testcase, target and options used to compile it.