[Bug c++/54197] [4.7/4.8 regression] Lifetime of reference not properly extended
aaw at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Aug 13 18:04:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54197
Ollie Wild <aaw at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |aaw at gcc dot gnu.org
AssignedTo|unassigned at gcc dot |aaw at gcc dot gnu.org
|gnu.org |
--- Comment #2 from Ollie Wild <aaw at gcc dot gnu.org> 2012-08-13 18:04:21 UTC ---
The issue is that these cause a COMPOUND_EXPR to be passed to
extend_ref_init_temps_1.
I have a patch which replaces the second operand of the COMPOUND_EXPR with
another call to extend_ref_init_temps_1. Testing now. Will send out for
review shortly.
More information about the Gcc-bugs
mailing list