[Bug rtl-optimization/82683] Combine: GCC generates bad code with -tune=thunderx2t99

segher at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 9 10:21:00 GMT 2017


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

--- Comment #19 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Author: segher
Date: Thu Nov  9 10:21:06 2017
New Revision: 254564

URL: https://gcc.gnu.org/viewcvs?rev=254564&root=gcc&view=rev
Log:
        Backport from mainline
        2017-11-01  Segher Boessenkool  <segher@kernel.crashing.org>

        PR rtl-optimization/64682
        PR rtl-optimization/69567
        PR rtl-optimization/69737
        PR rtl-optimization/82683
        * combine.c (distribute_notes) <REG_DEAD>: If the new I2 sets the same
        register mentioned in the note, drop the note, unless it came from I3,
        in which case it should go to I3 again.

Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/combine.c


More information about the Gcc-bugs mailing list