http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60747
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ebotcazou at gcc dot gnu.org
--- Comment #8 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> What we don't agree on is the code should behave the same regardless to the
> optimization level.
That's not doable, this would mean disabling optimizations at -O2 because there
are not enabled at -O0. You need to write valid C++ instead.