re PR c/79413 (ICE in make_ssa_name_fn, at tree-ssanames.c:265)
authorJakub Jelinek <jakub@redhat.com>
Thu, 9 Feb 2017 14:26:40 +0000 (15:26 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 9 Feb 2017 14:26:40 +0000 (15:26 +0100)
commit28f6839be16de2fd4143a5395800bb002359b27b
treebc632643a2ce7286443a3590e6727f2878a11c47
parentf08683a154522492e2fdc9e970b145cd37f242de
re PR c/79413 (ICE in make_ssa_name_fn, at tree-ssanames.c:265)

PR c/79413
* gimplify.h (is_gimple_sizepos): Only test for INTEGER_CST constants,
not arbitrary TREE_CONSTANT.

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

From-SVN: r245304
gcc/ChangeLog
gcc/gimplify.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr79413.c [new file with mode: 0644]