[Bug c++/48446] [4.3/4.4/4.5/4.6 Regression] internal compiler error: in gimplify_var_or_parm_decl, at gimplify.c:1946

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri May 6 22:03:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48446

--- Comment #10 from Jason Merrill <jason at gcc dot gnu.org> 2011-05-06 21:58:32 UTC ---
Author: jason
Date: Fri May  6 21:58:30 2011
New Revision: 173514

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173514
Log:
    PR c++/48446
    * decl.c (stabilize_save_expr_r, stabilize_vla_size): New.
    (grokdeclarator): Use stabilize_vla_size.
    * init.c (get_temp_regvar): No longer static.
    * cp-tree.h: Declare it.

Added:
    branches/gcc-4_6-branch/gcc/testsuite/c-c++-common/vla-1.c
    branches/gcc-4_6-branch/gcc/testsuite/g++.dg/ext/vla10.C
Modified:
    branches/gcc-4_6-branch/gcc/cp/ChangeLog
    branches/gcc-4_6-branch/gcc/cp/cp-tree.h
    branches/gcc-4_6-branch/gcc/cp/decl.c
    branches/gcc-4_6-branch/gcc/cp/init.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list