re PR middle-end/66375 (wrong code at -O2 and -O3 on x86_64-linux-gnu)
authorRichard Biener <rguenther@suse.de>
Wed, 3 Jun 2015 07:57:13 +0000 (07:57 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 3 Jun 2015 07:57:13 +0000 (07:57 +0000)
commitb9b79ba4264cf635fbd3cc66530c5eb83d3ce568
tree1c1bfc05a918621344364216fc91756fa3382cc6
parente185f450b8933bcf96e08ddfb15df842e55452d9
re PR middle-end/66375 (wrong code at -O2 and -O3 on x86_64-linux-gnu)

2015-06-03  Richard Biener  <rguenther@suse.de>

PR tree-optimization/66375
* tree-scalar-evolution.c (follow_ssa_edge_binary): First
add to the evolution before following SSA edges.

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

From-SVN: r224060
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr66375.c [new file with mode: 0644]
gcc/tree-scalar-evolution.c