URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [torture/] [pr41680.C] - Rev 694
Go to most recent revision | Compare with Previous | Blame | View Log
// PR target/41680
// { dg-do compile }
extern void baz (float);
inline bool
bar (float x)
{
union { float f; int i; } u;
u.f = x;
return (u.i & 1);
}
void
foo (float *x)
{
for (int i = 0; i < 10; i++)
{
float f = x[i];
if (!bar (f))
baz (f);
}
}
Go to most recent revision | Compare with Previous | Blame | View Log