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;