re PR c++/48446 (internal compiler error: in gimplify_var_or_parm_decl, at gimplify...
authorJason Merrill <jason@redhat.com>
Thu, 14 Apr 2011 14:59:58 +0000 (10:59 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 14 Apr 2011 14:59:58 +0000 (10:59 -0400)
commitfe5b5c364b49300ba7e1e283f03f593d3e37524a
tree3b9fbfa2e2c5327fbcc704558440a2ca72fec6f2
parent4a5ba3ed87794d7ea5ab54d0c89cf6cedd0e6c9f
re PR c++/48446 (internal compiler error: in gimplify_var_or_parm_decl, at gimplify.c:1946)

PR c++/48446
* decl.c (compute_array_index_type): Use get_temp_regvar instead
of variable_size.
* init.c (get_temp_regvar): No longer static.
* cp-tree.h: Declare it.

From-SVN: r172432
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/init.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/vla10.C [new file with mode: 0644]