PR tree-optimization/77929
commit221d78585b55c8ab0a2d6a074db18f100e1db7d5
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 12 Oct 2016 07:07:33 +0000 (12 07:07 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 12 Oct 2016 07:07:33 +0000 (12 07:07 +0000)
tree0f4472b112485841833a6fc41665c3fd3b1003ee
parent2f11abb0ca424136c0d056b4eca847da02376d73
PR tree-optimization/77929
* tree-ssa-reassoc.c (optimize_range_tests_var_bound): Handle
(*ops)[ranges[i].idx]->op != ranges[i].exp case.

* gcc.c-torture/compile/pr77929.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@241019 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr77929.c [new file with mode: 0644]
gcc/tree-ssa-reassoc.c