* c-c++-common/Wrestrict.c (test_strcpy_range): Revert latest change.
[official-gcc.git] / libgomp / testsuite / libgomp.oacc-c-c++-common / crash-1.c
blobdcf1485e4996986580c46aed5de7a7bb9451964c
1 /* { dg-do link } */
3 /* For -O0, ICEd in nvptx backend due to unexpected frame size. */
4 #pragma acc routine worker
5 void
6 worker_matmul (int *c, int i)
8 int j;
10 #pragma acc loop
11 for (j = 0; j < 4; j++)
12 c[j] = j;
16 int
17 main ()
19 int c[4];
21 #pragma acc parallel
23 worker_matmul (c, 0);
26 return 0;