aboutsummaryrefslogtreecommitdiff
path: root/gcc/plugin.c
diff options
context:
space:
mode:
authorSegher Boessenkool <segher@kernel.crashing.org>2017-03-21 00:08:16 +0100
committerSegher Boessenkool <segher@gcc.gnu.org>2017-03-21 00:08:16 +0100
commite091a0fe0779f788ee11e81f0d3d6f5d7bd0e9f4 (patch)
tree210f18d4a1f6bc25ab025dbe7945ff510192ccfd /gcc/plugin.c
parent366e9446961bf5d8efcb0bc5442e2d112dc17160 (diff)
downloadgcc-e091a0fe0779f788ee11e81f0d3d6f5d7bd0e9f4.zip
gcc-e091a0fe0779f788ee11e81f0d3d6f5d7bd0e9f4.tar.gz
gcc-e091a0fe0779f788ee11e81f0d3d6f5d7bd0e9f4.tar.bz2
combine: Fix 79910
If the dest of an I0 or I1 is used in an insn before I2, as can happen in various uncommon cases, and we manage to do the combination, the set is moved to I2, which is wrong. Don't allow combining the insns in this case. PR rtl-optimization/79910 * combine.c (can_combine_p): Do not allow combining an I0 or I1 if its dest is used by an insn before I2 (other than the combined insns themselves, which are properly handled already). From-SVN: r246297
Diffstat (limited to 'gcc/plugin.c')
0 files changed, 0 insertions, 0 deletions