2014-10-24 Christophe Lyon <christophe.lyon@linaro.org>
[official-gcc.git] / gcc / testsuite / gcc.target / sparc / ultrasp4.c
blobf3958cbe781a9ffccc66c67a14c469b06d17b6b7
1 /* Simplified from PR target/5309. */
3 /* { dg-do compile } */
4 /* { dg-options "-O2 -mcpu=ultrasparc" } */
6 extern long bar (unsigned int);
8 long
9 foo (long x, unsigned int y)
11 return *(((long *) (bar (y) - 1)) + 1 + (x >> 2) % 359);