https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101995

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[12/13/14/15 Regression]    |[12/13/14 Regression]
                   |regression built-in memset  |regression built-in memset
                   |missed-optimization arm -Os |missed-optimization arm -Os
                   |since r9-3594               |since r9-3594

--- Comment #17 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Richard Earnshaw from comment #16)
> Still present.

I just tried on the today's trunk on arm and get the REG_RETURNED as needed.
This is because late_combine (don't complain about the name) removes the extra
move that was added.

> 
> Perhaps more significantly (and possibly related)

This is a different issue where the C++ front-end does not add a fnspec for the
constructor (and deconstructor) with `targetm.cxx.cdtor_returns_this ()`
returning true. I will file this a sperate issue.

Reply via email to