1 /* Simplified from PR target/5309. */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
4 /* { dg-options "-O2 -m64 -mcpu=ultrasparc" { target sparc64-*-* } } */
5 /* { dg-options "-O2 -m64 -mcpu=ultrasparc" { target sparcv9-*-* } } */
6 /* { dg-options "-O2" { target sparc-*-solaris2.[0-6] } } */
7 /* { dg-options "-O2" { target sparc-*-solaris2.[0-6].* } } */
9 long bar (unsigned int);
10 long foo (long x
, unsigned int y
)
12 return *(((long *) (bar (y
) - 1)) + 1 + (x
>> 2) % 359);