Hi,

r-base is failing to build on alpha with the following error:
gcc     -I. -I../../src/include -I../../src/include  -DHAVE_CONFIG_H 
-mieee-with-inexact -fpic  -std=gnu99 -O3 -pipe  -g -c deriv.c -o deriv.o
deriv.c: In function 'simplify':
deriv.c:267: error: unrecognizable insn:
(insn 2103 64 65 9 ../../src/include/Rinlinedfuns.h:86 (set (reg:DI 2 $2)
        (const:DI (plus:DI (label_ref:DI 68)
                (const_int 24 [0x18])))) -1 (insn_list:REG_LABEL_OPERAND 68
(nil)))
deriv.c:267: internal compiler error: in extract_insn, at recog.c:2001
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.3/README.Bugs> for instructions.
make[4]: *** [deriv.o] Error 1


I'll attached a reduced test case that gives a simular error message:
$ gcc-4.3 -std=c99 -O3 -c deriv.i -o deriv.o
deriv.i: In function 'D':
deriv.i:117: error: unrecognizable insn:
(insn 383 189 190 26 deriv.i:42 (set (reg:DI 2 $2)
        (const:DI (plus:DI (label_ref:DI 193)
                (const_int 24 [0x18])))) -1 (insn_list:REG_LABEL_OPERAND 193
(nil)))
deriv.i:117: internal compiler error: in extract_insn, at recog.c:2001
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.3/README.Bugs> for instructions.

Note that the error goes away if you do not use -std=gnu99 or -std=c99,
and -O3.

It compiles with gcc-4.1 and 4.2.


-- 
           Summary: unrecognizable insn on alpha using -O3 and -std=c99
           Product: gcc
           Version: 4.3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kurt at roeckx dot be
  GCC host triplet: alpha-linux-gnu


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

Reply via email to