re PR tree-optimization/84224 (ICE in execute, at gimple-ssa-warn-alloca.c:448)
authorAldy Hernandez <aldyh@redhat.com>
Thu, 8 Feb 2018 11:16:25 +0000 (11:16 +0000)
committerAldy Hernandez <aldyh@gcc.gnu.org>
Thu, 8 Feb 2018 11:16:25 +0000 (11:16 +0000)
commiteacac712e337690ee21ce37fd06b2fe8b10a58f1
tree3d01b15ec6e89ab66d02404fcd045aced712bbcb
parent3b263f5af20f4ebb92fad0b8797fe59e3cebf828
re PR tree-optimization/84224 (ICE in execute, at gimple-ssa-warn-alloca.c:448)

PR tree-optimization/84224
* gimple-ssa-warn-alloca.c (pass_walloca::execute): Remove assert.
* calls.c (gimple_alloca_call_p): Only return TRUE when we have
non-zero arguments.

From-SVN: r257480
gcc/ChangeLog
gcc/calls.c
gcc/gimple-ssa-warn-alloca.c
gcc/testsuite/gcc.dg/Walloca-16.c [new file with mode: 0644]