PR tree-optimization/58946
commit3c8e4ef8d7c77809efeef3535e154ad60727c3be
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Nov 2013 10:29:42 +0000 (4 10:29 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Nov 2013 10:29:42 +0000 (4 10:29 +0000)
tree0600acd22da34ca748ed2f509270cae293c49961
parent65948509b45b09e52fe2d18dca1e6539cb9766ab
PR tree-optimization/58946
* tree-ssa-reassoc.c (maybe_optimize_range_tests): Update all
bbs with bbinfo[idx].op != NULL before all blocks with
bbinfo[idx].op == NULL.

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

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