blob: 87fb717cf231b07177eca1ea1e6fb9d246f9d7a8 [file] [log] [blame]
/* PR target/6997. Missing (set_attr "cc" "none") in sleu pattern in
cris.md. Testcase from hp@axis.com. */
int p;
int k;
unsigned int n;
void x ()
{
unsigned int h;
h = n <= 30;
if (h)
p = 1;
else
p = 0;
if (h)
k = 1;
else
k = 0;
}
unsigned int n = 30;
main ()
{
x ();
if (p != 1 || k != 1)
abort ();
exit (0);
}