Hi all,
I am upgrading my cross-compiler from 3.4.6 to 4.1.1. It has built
successfully. But while running the test suites, one of the errors
that i was getting was due to the below mentioned file
20020611-1.c that too while optimizing for size Os.
/* PR target/6997. Missing (set_attr "cc" "none") in sleu pattern in
cris.md. Testcase from hp (at) 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);
}
This bug was fixed previously.
1. Can i get more information on how the bug was fixed?
2. what does sleu pattern mean?
Regards,
Rohit