https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81566
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 --- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> --- > gcc-6 t.c -S t.c:6:1: error: requested alignment is not a positive power of 2 int __attribute__ ((aligned (0))) f (void); ^~~ t.c:12:1: error: requested alignment is not a positive power of 2 int __attribute__ ((aligned (0))) g (void); ^~~ > gcc-7 t.c -S so GCC 6 works for the accepts-invalid. Splitting the bug might help. I guess it's reasonable to fix the accepts-invalid even for GCC 7.3.