[Bug c++/43555] [4.3/4.4/4.5/4.6 Regression] wrong address calculation of multidimensional variable-length array element

jason at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu May 27 19:01:00 GMT 2010



------- Comment #10 from jason at gcc dot gnu dot org  2010-05-27 19:00 -------
Subject: Bug 43555

Author: jason
Date: Thu May 27 19:00:33 2010
New Revision: 159942

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159942
Log:
        PR c++/43555
        * decl.c (grokdeclarator) [cdk_pointer et al]: Force evaluation of
        anonymous VLA size.

Added:
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/ext/vla9.C
Modified:
    branches/gcc-4_4-branch/gcc/cp/ChangeLog
    branches/gcc-4_4-branch/gcc/cp/decl.c
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog


-- 


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



More information about the Gcc-bugs mailing list