https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94093
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2020-03-09 Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Keywords| |ABI, wrong-code --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Better testcase which fails at compile time (and is GNU++98 rather than C++11). typedef int aligndoubletest[__alignof__(double) != 4 ? 1 : -1]; typedef int alignlongdoubletest[__alignof__(long double) != 4 ? 1 : -1]; But it has been wrong since 4.1.2 so I doubt anyone is going to fix this.