[Bug target/64300] New: s390x, ICE, unable to generate reloads, in curr_insn_transform, at lra-constraints.c

jan.kratochvil at redhat dot com gcc-bugzilla@gcc.gnu.org
Sat Dec 13 18:41:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64300

            Bug ID: 64300
           Summary: s390x, ICE, unable to generate reloads, in
                    curr_insn_transform, at lra-constraints.c
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jan.kratochvil at redhat dot com
              Host: x86_64-linux-gnu
            Target: s390x-linux-gnu

Created attachment 34274
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34274&action=edit
libgcc2.i

../gcchead/configure --prefix=/home/jkratoch/redhat/gccheads390x-root
--enable-languages=c --target=s390x-linux-gnu

I get the same ICE with:
CFLAGS=-g CXXFLAGS=-g CFLAGS_FOR_TARGET=-g CXXFLAGS_FOR_TARGET=-g
../gcchead/configure --prefix=/home/jkratoch/redhat/gccheads390x-root
--enable-languages=c --target=s390x-linux-gnu

r218702 | ian | 2014-12-13 02:58:46 +0100 (Sat, 13 Dec 2014) | 3 lines

/home/jkratoch/redhat/gccheads390x-build/./gcc/xgcc
-B/home/jkratoch/redhat/gccheads390x-build/./gcc/
-B/home/jkratoch/redhat/gccheads390x-root/s390x-linux-gnu/bin/
-B/home/jkratoch/redhat/gccheads390x-root/s390x-linux-gnu/lib/ -isystem
/home/jkratoch/redhat/gccheads390x-root/s390x-linux-gnu/include -isystem
/home/jkratoch/redhat/gccheads390x-root/s390x-linux-gnu/sys-include    -g -O2
-m31 -O2  -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wno-narrowing
-Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include   -fPIC -mlong-double-128 -g
-DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -Dinhibit_libc  -fPIC
-mlong-double-128 -I. -I. -I../../.././gcc -I../../../../gcchead/libgcc
-I../../../../gcchead/libgcc/. -I../../../../gcchead/libgcc/../gcc
-I../../../../gcchead/libgcc/../include  -DHAVE_CC_TLS  -o _addvdi3.o -MT
_addvdi3.o -MD -MP -MF _addvdi3.dep -DL_addvdi3 -c
../../../../gcchead/libgcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS
-save-temps
../../../../gcchead/libgcc/libgcc2.c: In function ‘__addvdi3’:
../../../../gcchead/libgcc/libgcc2.c:109:1: error: unable to generate reloads
for:
 }
 ^
(insn 7 3 8 2 (parallel [
            (set (reg/v:DI 48 [ w ])
                (plus:DI (reg/v:DI 50 [ a ])
                    (reg/v:DI 51 [ b ])))
            (clobber (reg:CC 33 %cc))
        ]) ../../../../gcchead/libgcc/libgcc2.c:103 324 {*adddi3_31}
     (expr_list:REG_UNUSED (reg:CC 33 %cc)
        (nil)))
../../../../gcchead/libgcc/libgcc2.c:109:1: internal compiler error: in
curr_insn_transform, at lra-constraints.c:3383
0x9aa548 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        ../../gcchead/gcc/rtl-error.c:110
0x8df546 curr_insn_transform
        ../../gcchead/gcc/lra-constraints.c:3383
0x8e026e lra_constraints(bool)
        ../../gcchead/gcc/lra-constraints.c:4324
0x8d0621 lra(_IO_FILE*)
        ../../gcchead/gcc/lra.c:2277
0x891909 do_reload
        ../../gcchead/gcc/ira.c:5391
0x891909 execute
        ../../gcchead/gcc/ira.c:5561
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.


More information about the Gcc-bugs mailing list