[Bug tree-optimization/79972] ICE in tree check: expected ssa_name, have var_decl in get_range_info, at tree-ssanames.c:377 w/ -Walloca -Wvla-larger-than=364854541
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 10 07:55:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79972
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Mar 10 07:55:00 2017
New Revision: 246022
URL: https://gcc.gnu.org/viewcvs?rev=246022&root=gcc&view=rev
Log:
PR tree-optimization/79972
* gimple-ssa-warn-alloca.c (alloca_call_type): Only call
get_range_info on SSA_NAMEs. Formatting fixes.
* gcc.dg/pr79972.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/pr79972.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gimple-ssa-warn-alloca.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list