re PR tree-optimization/63962 ([x86] Code pessimization after r217213)
authorRichard Biener <rguenther@suse.de>
Thu, 20 Nov 2014 09:26:48 +0000 (09:26 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 20 Nov 2014 09:26:48 +0000 (09:26 +0000)
commite6121733d569202d5e790c1e085c852748364f99
tree9922d9c8cb2ed3b5af82ccc946330f23519ebf59
parentb00734dfd64b2014140f84b821d1fdcd4a53affe
re PR tree-optimization/63962 ([x86] Code pessimization after r217213)

2014-11-20  Richard Biener  <rguenther@suse.de>

PR middle-end/63962
* match.pd ((p +p off1) +p off2 -> (p +p (off1 + off2))):
Guard with single-use operand 0.

* gcc.dg/tree-ssa/forwprop-30.c: New testcase.

From-SVN: r217828
gcc/ChangeLog
gcc/match.pd
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/forwprop-30.c [new file with mode: 0644]