https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79648
Eric Gallager <egallager at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2017-08-29 CC| |egallager at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Eric Gallager <egallager at gcc dot gnu.org> --- Confirmed that gcc only errors on g in C++ mode. In C mode, though, it errors on both functions for me with optimization. Also, it's weird that in C++ mode, the caret points to the 0 instead of the x.