[Bug rtl-optimization/112525] fail to eliminate unused store

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 14 07:44:10 GMT 2023


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2023-11-14

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
I wonder if optimizing for "unused" parameters is worth it (usually IPA SRA
will elide them).  "unused" could be computed by cfgexpand walking the body,
but
we do expect to be able to inspect those parameters with -g, so care has to
be taken that this works at all optimization levels.


More information about the Gcc-bugs mailing list