[Bug c++/70444] Optimizer removes expression template
trippels at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 30 09:44:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70444
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |trippels at gcc dot gnu.org
Resolution|--- |INVALID
--- Comment #3 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Yes.
Making e.g.:
const Left & left;
an object is one way to fix the undefined behavior:
const Left left;
More information about the Gcc-bugs
mailing list