[Bug rtl-optimization/89795] [7/8/9/10 Regression] wrong code with -O2 -fno-dce -fno-forward-propagate -fno-sched-pressure

ebotcazou at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Sep 11 10:43:00 GMT 2019


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

--- Comment #11 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Wed Sep 11 10:42:31 2019
New Revision: 275636

URL: https://gcc.gnu.org/viewcvs?rev=275636&root=gcc&view=rev
Log:
        PR rtl-optimization/89795
        * rtlanal.c (nonzero_bits1) <SUBREG>: Do not propagate results from
        inner REGs to paradoxical SUBREGs if WORD_REGISTER_OPERATIONS is set.

Modified:
    branches/gcc-9-branch/gcc/ChangeLog
    branches/gcc-9-branch/gcc/rtlanal.c
    branches/gcc-9-branch/gcc/testsuite/ChangeLog
    branches/gcc-9-branch/gcc/testsuite/gcc.target/sparc/20161111-1.c


More information about the Gcc-bugs mailing list