[Bug tree-optimization/84224] [7/8 Regression] ICE in execute, at gimple-ssa-warn-alloca.c:448
aldyh at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 8 11:18:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84224
--- Comment #2 from Aldy Hernandez <aldyh at gcc dot gnu.org> ---
Author: aldyh
Date: Thu Feb 8 11:16:25 2018
New Revision: 257480
URL: https://gcc.gnu.org/viewcvs?rev=257480&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/gcc.dg/Walloca-16.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/calls.c
trunk/gcc/gimple-ssa-warn-alloca.c
More information about the Gcc-bugs
mailing list