[Bug rtl-optimization/108117] Wrong instruction scheduling on value coming from abnormal SSA

amonakov at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Dec 15 07:15:26 GMT 2022


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

Alexander Monakov <amonakov at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amonakov at gcc dot gnu.org

--- Comment #4 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
-Wclobbered properly warns here (and it's part of -Wextra).

With explicit -fschedule-insns, reproducible on x86 as well.

The reason for the issue is quite surprising though, I did not expect pre-RA
scheduling to lift assignments to pseudos across calls, because it just
increases register pressure at the point of the call for little or no gain.


More information about the Gcc-bugs mailing list