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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

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

--- Comment #6 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> There is similar issue in RTL PRE GCSE [1], PR45223.

Right, there are various similar old issues in the RTL optimizers, but we must
be extra careful because we really don't want to pessimize the common case to
fix some artificial testcases.

Note that we have some backup here: the (green) Dragon Book gives a code motion
algorithm that is subject to this kind of issues and the authors elegantly
write "For this reason, it is wise to use the following algorithm for code
motion only if optimization may be inhibited by the programmer". :-)

Reply via email to