public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/48344] New: powerpc ICE error: unrecognizable insn
@ 2011-03-29 22:37 raj.khem at gmail dot com
  2011-04-01 20:43 ` [Bug target/48344] " raj.khem at gmail dot com
  0 siblings, 1 reply; 2+ messages in thread
From: raj.khem at gmail dot com @ 2011-03-29 22:37 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-04-01 20:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-29 22:37 [Bug target/48344] New: powerpc ICE error: unrecognizable insn raj.khem at gmail dot com
2011-04-01 20:43 ` [Bug target/48344] " raj.khem at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).