[Bug rtl-optimization/96015] [10/11 Regression] gcc-10.1.0 miscompiles Python on hppa

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 9 18:56:25 GMT 2021


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

--- Comment #41 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Eric Botcazou <ebotcazou@gcc.gnu.org>:

https://gcc.gnu.org/g:20f28986a8d3cad3c848d1e7da48f4bea7637298

commit r11-7154-g20f28986a8d3cad3c848d1e7da48f4bea7637298
Author: Eric Botcazou <ebotcazou@adacore.com>
Date:   Tue Feb 9 19:49:18 2021 +0100

    Fix miscompilation of Python on HP-PA/Linux

    This is the miscompilation of Python at -O2 on HP-PA/Linux present
    on the mainline and 10 branch, caused by the presence of a call to
    __builtin_unreachable () in the middle of a heavily branchy code,
    which confuses the reorg pass.

    gcc/
            PR rtl-optimization/96015
            * reorg.c (skip_consecutive_labels): Minor comment tweaks.
            (relax_delay_slots): When deleting a jump to the next active
            instruction over a barrier, first delete the barrier if the
            jump is the only way to reach the target label.


More information about the Gcc-bugs mailing list