PR target/55146
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr30784.c
blob3df9afe3bbdc2d41998a995722c7c1bdddd7e5d7
1 /* { dg-require-effective-target vect_int } */
3 #include <stdarg.h>
4 #include "tree-vect.h"
6 long stack_vars_sorted[32];
8 int
9 main1 (long n)
11 long si;
13 for (si = 0; si < n; ++si)
14 stack_vars_sorted[si] = si;
17 int main ()
19 long si;
21 check_vect ();
22 main1 (32);
24 for (si = 0; si < 32; ++si)
25 if (stack_vars_sorted[si] != si)
26 abort ();
28 return 0;
30 /* { dg-final { cleanup-tree-dump "vect" } } */