public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "raj.khem at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/48344] New: powerpc ICE error: unrecognizable insn
Date: Tue, 29 Mar 2011 22:37:00 -0000	[thread overview]
Message-ID: <bug-48344-4@http.gcc.gnu.org/bugzilla/> (raw)

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


             reply	other threads:[~2011-03-29 21:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-29 22:37 raj.khem at gmail dot com [this message]
2011-04-01 20:43 ` [Bug target/48344] " raj.khem at gmail dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-48344-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).