re PR tree-optimization/68455 (ICE: tree check: expected integer_cst, have plus_expr...
authorMarek Polacek <polacek@redhat.com>
Mon, 23 Nov 2015 17:18:36 +0000 (17:18 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Mon, 23 Nov 2015 17:18:36 +0000 (17:18 +0000)
commit78275c8bdbcd4b9250ce82ef033c8851cdda3fba
tree9b0da4d9ccf8f607114dfd6d4346b3f3f84440ab
parentcde9d596263ef8fe62bda9c684e3203aac3d359f
re PR tree-optimization/68455 (ICE: tree check: expected integer_cst, have plus_expr in decompose, at tree.h:5123)

PR tree-optimization/68455
* tree-vrp.c (extract_range_from_binary_expr_1): Don't call
extract_range_from_multiplicative_op_1 on symbolic ranges.

* gcc.dg/tree-ssa/pr68455.c: New test.

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