[Bug middle-end/87323] More complicated assembly for sode with custom copy constructor

glisse at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Sep 16 05:19:00 GMT 2018


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

Marc Glisse <glisse at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #2 from Marc Glisse <glisse at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #1)
> Not exactly because the struct becomes a non-POD for ABI reasons.  

So this part cannot change.

> There is a missed optimization where it does not change to (a+b) * c.

And this is a DUP.

*** This bug has been marked as a duplicate of bug 87319 ***


More information about the Gcc-bugs mailing list