[Bug c++/34121] wrong this pointer passed to constructor of temporary object

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Dec 27 06:12:00 GMT 2008



------- Comment #5 from pinskia at gcc dot gnu dot org  2008-12-27 06:11 -------
I don't think the different pointer matters.
There is an extra temporary that shows up on the stack.
When doing the expanding of:
;; b.D.21263 = f (); [return slot optimization]

We get that extra temp.  RSO is not working?


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu dot org


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



More information about the Gcc-bugs mailing list