[Bug middle-end/87323] More complicated assembly for sode with custom copy constructor
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Sep 15 23:35:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87323
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |missed-optimization
Component|c |middle-end
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>which should be equivalent
Not exactly because the struct becomes a non-POD for ABI reasons.
There is a missed optimization where it does not change to (a+b) * c.
More information about the Gcc-bugs
mailing list