]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR middle-end/59993 (ICE: SSA corruption)
authorRichard Biener <rguenther@suse.de>
Thu, 30 Jan 2014 18:28:19 +0000 (18:28 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 30 Jan 2014 18:28:19 +0000 (18:28 +0000)
commitc965e18748995d2ce9a13395152fd0da295da573
treed57bbbc4b9b65da04a915f26455cd3254ace9c7e
parent5f71f3d3e0a2170cfb25d86bf7bae3803f180c74
re PR middle-end/59993 (ICE: SSA corruption)

2014-01-30  Richard Biener  <rguenther@suse.de>

PR tree-optimization/59993
* tree-ssa-forwprop.c (associate_pointerplus): Check we
can propagate form the earlier stmt and avoid the transform
when the intermediate result is needed.

* gcc.dg/torture/pr59993.c: New testcase.

From-SVN: r207316
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr59993.c [new file with mode: 0644]
gcc/tree-ssa-forwprop.c