* tree-ssa-loop-manip.c (split_loop_exit_edge): Return the new block.
[official-gcc.git] / gcc / testsuite / gcc.dg / vla-2.c
blob72c6465903054adcb2ff96fdb25932b6f715520e
1 /* { dg-do compile } */
2 /* { dg-options "-std=gnu99" } */
4 /* These are crash tests related to PR middle-end/6994; see also
5 g++.dg/ext/vla1.C. Note that at present A and C cannot be inlined. */
7 static inline void A (int i)
9 struct S { int ar[1][i]; } s;
11 s.ar[0][0] = 0;
14 void B(void)
16 A(23);
19 static inline void C (int i)
21 union U { int ar[1][i]; } u;
23 u.ar[0][0] = 0;
26 void D(void)
28 C(23);