This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/60950] New: powerpc-e500v2-linux-gnuspe: ICE in extract_insn, at recog.c:2202


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60950

            Bug ID: 60950
           Summary: powerpc-e500v2-linux-gnuspe: ICE in extract_insn, at
                    recog.c:2202
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com

gcc 4.10.0-alpha20140411 fails to compile the following snippet for target
powerpc-e500v2-linux-gnuspe-gcc at -O3 and -Ofast:

void
e5(void)
{
  static int e2;
  static unsigned long long int cc;
  if (0 == e2)
    for (cc = 0; cc < 1; ++cc)
      ;
  else {
    int cb;
    int b8;
    int bb[6] = { 0 };
  b9:
    if (!((e2 = bb[0]) & cb)) {
      for (b8 = 0; b8 < 5; ++b8) {
        static char a8;
        static char *f2 = &a8;
        static char **b3 = &f2;
        static char ***b1 = &b3;
        static signed char *dd = &a8;
        static signed char **ba = &dd;
        static int bc;
        static int *db = &bc;
        static int **d4 = &db;
        static int ***f1 = &d4;
        bb[b8] = (*dd >= ((65535 & **ba) && ((***b1 = 0) <= ***f1)));
      }
      for (b8 = 0; b8 < 1; ++b8)
        if (0 == cc)
          goto b9;
    }
  }
}

fbba3e54.c: In function 'e5':
fbba3e54.c:33:1: error: unrecognizable insn:
 }
 ^
(insn 224 223 124 10 (set (reg:CC 75 7 [242])
        (compare:CC (reg:HI 10 10)
            (const_int 0 [0]))) fbba3e54.c:26 -1
     (nil))
fbba3e54.c:33:1: internal compiler error: in extract_insn, at recog.c:2202


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]