PR middle-end/79809
commitbe51caa320644982def259d23627a22c6d920b69
authormpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Mar 2017 17:30:53 +0000 (7 17:30 +0000)
committermpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Mar 2017 17:30:53 +0000 (7 17:30 +0000)
treeb506863f823b1b90ca1ad85d57dff8f3092d452d
parentdda535fd9490e3e8f31bacc6678e0c734ff59212
PR middle-end/79809
* gimple-ssa-warn-alloca.c (pass_walloca::gate): Use HOST_WIDE_INT.
(alloca_call_type): Likewise.

* g++.dg/Walloca1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@245955 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gimple-ssa-warn-alloca.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/Walloca1.C [new file with mode: 0644]