OSDN Git Service

PR target/5357:
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / 20020116-2.c
1 /* This testcase ICEd on sparc64 because -mcpu=supersparc and implicit
2    -m64 resulted in MASK_V8 and MASK_V9 to be set at the same time.  */
3 /* { dg-do compile } */
4 /* { dg-options "" } */
5 /* { dg-options "-mcpu=supersparc" { target sparc*-*-* } } */
6
7 void bar (long *x, long *y);
8
9 void foo (int x, long *y, long *z)
10 {
11   int i;
12
13   for (i = x - 1; i >= 0; i--)
14     {
15       bar (z + i * 3 + 1, y);
16       bar (z + i * 3 + 2, y);
17     }
18 }