This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/54197] [4.7/4.8 regression] Lifetime of reference not properly extended
- From: "aaw at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 13 Aug 2012 18:04:21 +0000
- Subject: [Bug c++/54197] [4.7/4.8 regression] Lifetime of reference not properly extended
- Auto-submitted: auto-generated
- References: <bug-54197-4@http.gcc.gnu.org/bugzilla/>
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.