[Bug c/95126] Missed opportunity to turn static variables into immediates

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 14 11:47:46 GMT 2020


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
           Keywords|                            |missed-optimization
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2020-05-14

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.  Only RTL expansion sees the aggregate copy involved with the
function
call and this, when folded from a constant initializer, is not subject to
clever things such as merging of stores.


More information about the Gcc-bugs mailing list