This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r117493 - in /trunk/gcc: ChangeLog c-decl.c gim...
- From: hainque at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 06 Oct 2006 09:12:10 -0000
- Subject: r117493 - in /trunk/gcc: ChangeLog c-decl.c gim...
Author: hainque
Date: Fri Oct 6 09:12:09 2006
New Revision: 117493
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117493
Log:
* gimplify.c (gimplify_type_sizes) [POINTER_TYPE, REFERENCE_TYPE]:
Don't recurse on the pointed-to type.
* c-decl.c (grokdeclarator) [cdk_pointer]: If we are in a NORMAL or
DECL context, attach an artificial TYPE_DECL to anonymous pointed-to
types with components of variable size.
* testsuite/gcc.dg/typename-vla-1.c: New case.
* testsuite/gnat.dg/forward_vla.adb: New case.
Added:
trunk/gcc/testsuite/gcc.dg/typename-vla-1.c
trunk/gcc/testsuite/gnat.dg/forward_vla.adb
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-decl.c
trunk/gcc/gimplify.c
trunk/gcc/testsuite/ChangeLog