[Bug rtl-optimization/64682] [5 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu
segher at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 11 22:27:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64682
--- Comment #9 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Author: segher
Date: Thu Feb 11 22:26:35 2016
New Revision: 233356
URL: https://gcc.gnu.org/viewcvs?rev=233356&root=gcc&view=rev
Log:
combine: More distribute_notes trouble (PR69737)
PR64682 is a problem in distribute_notes, where it has trouble putting
a REG_DEAD note for a reg that is set twice in the right spot. My fix
for that did the wrong thing for PR69567. And then my attempted fix
for that one made PR64682 fail again.
Instead, let's just lose the note in such complicated cases, like we
already do in certain similar cases.
PR rtl-optimization/64682
PR rtl-optimization/69567
PR rtl-optimization/69737
* combine.c (distribute_notes) <REG_DEAD>: If the register is set
in I2 as well, just lose it.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/combine.c
More information about the Gcc-bugs
mailing list