re PR tree-optimization/80109 (ICE in get_range_info, at tree-ssanames.c:375)
authorMarek Polacek <polacek@redhat.com>
Tue, 21 Mar 2017 16:21:14 +0000 (16:21 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Tue, 21 Mar 2017 16:21:14 +0000 (16:21 +0000)
commitedc1747f1f60974e9005c3ef992b818007666655
tree40a58dfe5efaeb129ba95eb66ef150ff568215e7
parent85106b8757d46f80a5993fc75948a82ce16c1f74
re PR tree-optimization/80109 (ICE in get_range_info, at tree-ssanames.c:375)

PR tree-optimization/80109
* gimple-ssa-warn-alloca.c (alloca_call_type): Only call get_range_info
on INTEGRAL_TYPE_P.

* gcc.dg/Walloca-14.c: New test.

Co-Authored-By: Martin Sebor <msebor@redhat.com>
From-SVN: r246325
gcc/ChangeLog
gcc/gimple-ssa-warn-alloca.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/Walloca-14.c [new file with mode: 0644]