https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65889
Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2015-09-08 Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- Confirmed for trunk (6.0). The code compiles with 4.8 up to 5.2 and AFAICT gives a sensible result. Thus this PR is a regression if the use of sizeof is valid. If it is invalid then the behavior of 4.9 and 5.2 is wrong.