https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115566
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note HP's aCC errored out on this code even. So it was not just something GCC added to be extra pedantic either (this was mentioned in PR 11250 too).