This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/48344] New: powerpc ICE error: unrecognizable insn
- From: "raj.khem at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 29 Mar 2011 21:43:03 +0000
- Subject: [Bug target/48344] New: powerpc ICE error: unrecognizable insn
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48344
Summary: powerpc ICE error: unrecognizable insn
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: raj.khem@gmail.com
when compiling following testcase
void foo ()
{
int N = 2;
int slots[N];
}
with -fstack-limit-register=r2 for ppc32 gcc ICEs
$ powerpc-linux-uclibc-gcc-4.6.0 -fstack-limit-register=r2 a.c
a.c: In function âfooâ:
a.c:6:1: error: unrecognizable insn:
(insn 35 34 36 3 (set (reg:SI 144)
(reg 2 2)) a.c:4 -1
(nil))
a.c:6:1: internal compiler error: in extract_insn, at recog.c:2109
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Here is how I configured gcc
Using built-in specs.
COLLECT_GCC=powerpc-linux-uclibc-gcc-4.6.0
COLLECT_LTO_WRAPPER=/home/kraj/work/cross/powerpc-linux-uclibc/tools/libexec/gcc/powerpc-linux-uclibc/4.6.0/lto-wrapper
Target: powerpc-linux-uclibc
Configured with:
/home/kraj/work/cross/powerpc-linux-uclibc/../../gcc.git/configure
--target=powerpc-linux-uclibc
--prefix=/home/kraj/work/cross/powerpc-linux-uclibc/tools
--with-sysroot=/home/kraj/work/cross/powerpc-linux-uclibc/sysroot
--enable-__cxa_atexit --disable-libssp --disable-libgomp --disable-libmudflap
--enable-languages=c,c++ --disable-multilib