re PR tree-optimization/88444 (ICE: tree check: expected ssa_name, have integer_cst...
authorJakub Jelinek <jakub@redhat.com>
Tue, 11 Dec 2018 17:16:48 +0000 (18:16 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 11 Dec 2018 17:16:48 +0000 (18:16 +0100)
commitccef67160c2c467b3101e0d3e7f08ea996624fc6
treea427fc0673507bec170c6e3473d4b663b3730534
parent5b238a4591932c5e5a28fa8f9b3a413a3ce641a6
re PR tree-optimization/88444 (ICE: tree check: expected ssa_name, have integer_cst in live_on_edge, at tree-vrp.c:468; or ICE: tree check: expected ssa_name, have integer_cst in get_value_range, at vr-values.c:84)

PR tree-optimization/88444
* tree-vrp.c (register_edge_assert_for_2): Only register assertions
for conversions if rhs1 is a SSA_NAME.

* gcc.dg/pr88444.c: New test.

From-SVN: r267026
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr88444.c [new file with mode: 0644]
gcc/tree-vrp.c