Migration of Cross Compiler from gcc 3.4.6 to gcc 4.1.1

Rohit Arul Raj rohitarulraj@gmail.com
Fri Oct 13 12:44:00 GMT 2006


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

/* PR target/6997.  Missing (set_attr "cc" "none") in sleu pattern in
          cris.md.  Testcase from hp (at) axis.com.  */
int p;
      5 int k;
      6 unsigned int n;
      7
      8 void x ()
      9 {
     10   unsigned int h;
     11
     12   h = n <= 30;
     13   if (h)
     14     p = 1;
     15   else
     16     p = 0;
     17
     18   if (h)
     19     k = 1;
     20   else
     21     k = 0;
     22 }
     23
     24 unsigned int n = 30;
     25
     26 main ()
     27 {
     28   x ();
     29   if (p != 1 || k != 1)
     30     abort ();
     31   exit (0);
     32 }
     33



More information about the Gcc mailing list