re PR ipa/81112 (internal compiler error: tree check: expected integer_cst, have...
authorRichard Biener <rguenther@suse.de>
Mon, 19 Jun 2017 07:17:55 +0000 (07:17 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 19 Jun 2017 07:17:55 +0000 (07:17 +0000)
commitdb9bbdeca441e21f50b12cbfc2ff34992242b4f3
tree2dd74aa5ee4c48fb661ebf5776878a3a0c3167a9
parent245ad722ca8f9605165f90f9dd3f8e6137e68b38
re PR ipa/81112 (internal compiler error: tree check: expected integer_cst, have range_expr in get_len, at tree.h:5321)

2017-06-19  Richard Biener  <rguenther@suse.de>

PR ipa/81112
* ipa-prop.c (find_constructor_constant_at_offset): Handle
RANGE_EXPR conservatively.

* g++.dg/torture/pr81112.C: New testcase.

From-SVN: r249357
gcc/ChangeLog
gcc/ipa-prop.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr81112.C [new file with mode: 0644]