forward_vla.adb
419 Bytes
-
gimplify.c (gimplify_type_sizes): Don't recurse on the pointed-to type. · 706c4bb7
* 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. From-SVN: r117493
Olivier Hainque committed