rt_gccstream/gcc/testsuite/gcc.target/sparc/ultrasp5.c

14 lines
288 B
C

/* PR target/10072 */
/* Originator: Peter van Hoof <p.van-hoof@qub.ac.uk> */
/* { dg-do compile } */
/* { dg-options "-std=c99 -O1 -mcpu=ultrasparc -ffast-math" } */
void p(int v)
{
int i=v,j;
float a,b,c,x[i];
x[i] = (a/(((b)>(c)) ? (b) : (c)) - (((i) == (j)) ? 1.f : 0.f));
}