https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106758
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #5) > GCC produces a warning while compiling this also which I think is the same > issue really: I should say it is also rejected with -pedantic-errors.