aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-strlen.c
diff options
context:
space:
mode:
authorSegher Boessenkool <segher@kernel.crashing.org>2018-03-12 16:26:16 +0100
committerSegher Boessenkool <segher@gcc.gnu.org>2018-03-12 16:26:16 +0100
commitfb54f550a047a40ff1438c5cfb890114baa31191 (patch)
tree0f6b19f946512482f7a72b2fb66daba7a03058d0 /gcc/tree-ssa-strlen.c
parentd67b5d8d1db0b9dff3e123a8e2be31cd5634821a (diff)
downloadgcc-fb54f550a047a40ff1438c5cfb890114baa31191.zip
gcc-fb54f550a047a40ff1438c5cfb890114baa31191.tar.gz
gcc-fb54f550a047a40ff1438c5cfb890114baa31191.tar.bz2
combine: Fix PR84780 (more LOG_LINKS trouble)
There still are situations where we have stale LOG_LINKS. This causes combine to try two-insn combinations I2->I3 where the register set by I2 is used before I3 as well. Not good. This patch fixes it by checking for this situation in can_combine_p (similar to what we already do for three and four insn combinations). From-SVN: r258452
Diffstat (limited to 'gcc/tree-ssa-strlen.c')
0 files changed, 0 insertions, 0 deletions