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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |alias

--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-03-01 
12:50:35 UTC ---
This is a failure to handle return-slot-optimization in IPA-PTA properly.  For

  D.2098 = foo (); [return slot optimization]

we have to make foos return function part point to D.2098.  That requires
some re-org, making the function result varinfo always a pointer,
making sure to use *result for result-decl uses (if not DECL_BY_REFERENCE).

I have a patch, but as this bug only affects IPA-PTA I'm defering it to 4.7
as the patch also touches non-IPA parts.

Reply via email to