Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.dg / loop-4.c
blobc83fd1c0fc528ffa74356c2d0b9e59797abfdca6
1 /* PR optimization/11841 */
2 /* Originator: Andrey Panov <panov@canopus.iacp.dvo.ru> */
3 /* Reduced testcase by Volker Reichelt <reichelt@igpm.rwth-aachen.de> */
5 /* Verify that the (old) loop unroller doesn't wrongly mark a pseudo
6 referenced in a note as local. */
8 /* { dg-do run } */
9 /* { dg-options "-O2 -funroll-loops" } */
11 int *a;
13 int main()
15 double d[6];
16 int i, j;
18 for (i=0; i<4; ++i)
19 for (j=0; j<3; ++j)
20 d[i+j] = 0;
22 a = &i;
24 return 0;