Bug 57353 - unrecognizable insn in decLibrary.c, ICE in extract_insn
Summary: unrecognizable insn in decLibrary.c, ICE in extract_insn
Status: RESOLVED INVALID
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 4.9.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-21 12:30 UTC by Roland Stigge
Modified: 2017-02-27 12:23 UTC (History)
4 users (show)

See Also:
Host: powerpc-linux-gnuspe
Target: powerpc-linux-gnuspe
Build: powerpc-linux-gnuspe
Known to work:
Known to fail:
Last reconfirmed:


Attachments
debug file from ICE (25.93 KB, text/x-csrc)
2013-05-21 12:30 UTC, Roland Stigge
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roland Stigge 2013-05-21 12:30:11 UTC
Created attachment 30153 [details]
debug file from ICE

Subject: unrecognizable insn in decLibrary.c, ICE in extract_insn

Hi,

on Debian's powerpcspe (i.e. powerpc e500v2, gnuspe), I encountered the following while building the latest gcc snapshot:

...
/home/ernie/gcc-snapshot-20130509/build/./gcc/xgcc -B/home/ernie/gcc-snapshot-20130509/build/./gcc/ -B/usr/lib/gcc-snapshot/powerpc-linux-gnuspe/bin/ -B/usr/lib/gcc-snapshot/powerpc-linux-gnuspe/lib/ -isystem /usr/lib/gcc-snapshot/powerpc-linux-gnuspe/include -isystem /usr/lib/gcc-snapshot/powerpc-linux-gnuspe/sys-include    -g -O2 -O2  -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include   -fPIC -mlong-double-128 -mno-minimal-toc -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector   -fPIC -mlong-double-128 -mno-minimal-toc -I. -I. -I../.././gcc -I../../../src/libgcc -I../../../src/libgcc/. -I../../../src/libgcc/../gcc -I../../../src/libgcc/../include -I../../../src/libgcc/../libdecnumber/dpd -I../../../src/libgcc/../libdecnumber -DHAVE_CC_TLS  -o decDouble.o -MT decDouble.o -MD -MP -MF decDouble.dep -c ../../../src/libgcc/../libdecnumber/decDouble.c
../../../src/libgcc/../libdecnumber/decLibrary.c: In function 'isinfd64':
../../../src/libgcc/../libdecnumber/decLibrary.c:60:1: error: unrecognizable insn:
 }
 ^
(insn 2 4 3 2 (set (reg/v:DD 125 [ arg ])
        (reg:DD 3 3 [ arg ])) ../../../src/libgcc/../libdecnumber/decLibrary.c:53 -1
     (nil))
../../../src/libgcc/../libdecnumber/decLibrary.c:60:1: internal compiler error: in extract_insn, at recog.c:2154
0x1086917f _fatal_insn(char const*, rtx_def const*, char const*, int, char const*)
        ../../src/gcc/rtl-error.c:109
0x108691d3 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        ../../src/gcc/rtl-error.c:117
0x10801bd7 extract_insn(rtx_def*)
        ../../src/gcc/recog.c:2154
0x10573667 instantiate_virtual_regs_in_insn
        ../../src/gcc/function.c:1561
0x105752c3 instantiate_virtual_regs
        ../../src/gcc/function.c:1926
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-snapshot/README.Bugs> for instructions.
Preprocessed source stored into /tmp/ccLwS90V.out file, please attach this to your bugreport.
make[5]: *** [decLibrary.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: Leaving directory `/home/ernie/gcc-snapshot-20130509/build/powerpc-linux-gnuspe/libgcc'
make[4]: *** [all-stage1-target-libgcc] Error 2
make[4]: Leaving directory `/home/ernie/gcc-snapshot-20130509/build'
...

Attaching the cited debug file ccLwS90V.out

Thanks in advance,

Roland
Comment 1 Arseny Solokha 2014-11-27 05:16:07 UTC
Cannot reproduce this with neither 4.9.2 nor 5.0 (20141123) for powerpc-e500v2-linux-gnuspe.
Comment 2 Roland Stigge 2014-11-27 09:19:37 UTC
Yes, me neither. Consider it gone. Thanks!
Comment 3 Segher Boessenkool 2017-02-27 12:23:19 UTC
Closing then.