https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84027
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-01-26 CC| |msebor at gcc dot gnu.org Ever confirmed|0 |1 Known to fail| |7.1.0, 8.0 --- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> --- Confirmed. AFAICS, both the form in comment #0 and the one below should be accepted but neither is. void f() { char* p = new char[sizeof(int)] [[gnu::aligned (alignof (int))]]; }