re PR c++/48446 (internal compiler error: in gimplify_var_or_parm_decl, at gimplify...
authorJason Merrill <jason@redhat.com>
Mon, 2 May 2011 18:38:44 +0000 (14:38 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 2 May 2011 18:38:44 +0000 (14:38 -0400)
commit9257f35f7bf0c9272fbbc54bcc4c266db56a48c8
tree715ea8c7a89c8624ccdf8797a48e0f708db6c0b9
parent6fb380f70867fe2a693361320ad4e0055d2d2321
re PR c++/48446 (internal compiler error: in gimplify_var_or_parm_decl, at gimplify.c:1946)

PR c++/48446
* decl.c (stabilize_save_expr_r, stabilize_vla_size): New.
(compute_array_index_type): Revert earlier 48446 changes.
(grokdeclarator): Use stabilize_vla_size.

From-SVN: r173264
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/vla-1.c [new file with mode: 0644]