re PR tree-optimization/81003 (ICE: tree check: expected ssa_name, have integer_cst...
authorJakub Jelinek <jakub@redhat.com>
Mon, 12 Jun 2017 10:45:52 +0000 (12:45 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 12 Jun 2017 10:45:52 +0000 (12:45 +0200)
commitaebce39694e2ce735fa12cdcdcd32d9e1984f102
treef6857905aa43f43542fdb74df198f8d9031a82f9
parent3fd7fe218b325a5b3d1bd38b12ab0e6d00e1e7dc
re PR tree-optimization/81003 (ICE: tree check: expected ssa_name, have integer_cst in optimize_range_tests_to_bit_test, at tree-ssa-reassoc.c:2782)

PR tree-optimization/81003
* tree-ssa-reassoc.c (force_into_ssa_name): New function.
(update_range_test): Use it instead of force_gimple_operand_gsi.

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

From-SVN: r249114
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr81003.c [new file with mode: 0644]
gcc/tree-ssa-reassoc.c