[Bug c++/49528] [4.6/4.7 regression] g++ fails to destroy temporary object when subobject is used to initialize a reference

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jun 25 03:35:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49528

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|g++ fails to destroy        |[4.6/4.7 regression] g++
                   |temporary object when       |fails to destroy temporary
                   |subobject is used to        |object when subobject is
                   |initialize a reference      |used to initialize a
                   |                            |reference

--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2011-06-25 03:34:55 UTC ---
Hmm, looks like this worked in 4.5.



More information about the Gcc-bugs mailing list