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 ***