public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "aurelien at aurel32 dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/49696] New: ICE on mips when compiling drizzle
Date: Sun, 10 Jul 2011 11:03:00 -0000	[thread overview]
Message-ID: <bug-49696-4@http.gcc.gnu.org/bugzilla/> (raw)

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49696

           Summary: ICE on mips when compiling drizzle
           Product: gcc
           Version: 4.6.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: aurelien@aurel32.net
              Host: mips-unknown-linux-gnu
            Target: mips-unknown-linux-gnu
             Build: mips-unknown-linux-gnu


Created attachment 24731
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24731
Testcase to reproduce the issue

When building drizzle on mips, g++ crash with an internal compiler error. The
problem is reproducible with versions 4.4, 4.5 and 4.6, but not with version
4.3 (I didn't test earlier versions). I have attached a reduced testcase.

$ g++ -c ./testcase-min.ii
./testcase-min.ii: In member function 'drizzled::internal::gcc_traits<T,
D>::value_type drizzled::internal::gcc_traits<T, D>::fetch(const volatile
value_type*) const volatile [with T = bool, D = bool,
drizzled::internal::gcc_traits<T, D>::value_type = bool]':
./testcase-min.ii:12:5: error: unrecognizable insn:
(insn 16 15 17 3 (parallel [
            (set (reg:SI 205)
                (mem/v:SI (reg:SI 200) [-1 S4 A32]))
            (set (mem/v:SI (reg:SI 200) [-1 S4 A32])
                (unspec_volatile:SI [
                        (reg:SI 203)
                        (reg:SI 204)
                        (plus:SI (reg:SI 205)
                            (const_int 0 [0]))
                    ] UNSPEC_SYNC_OLD_OP_12))
            (clobber (scratch:SI))
        ]) ./testcase-min.ii:11 -1
     (nil))
./testcase-min.ii:12:5: internal compiler error: in extract_insn, at
recog.c:2109
Please submit a full bug report,
with preprocessed source if appropriate.


             reply	other threads:[~2011-07-10 11:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-10 11:03 aurelien at aurel32 dot net [this message]
2011-10-02 17:45 ` [Bug target/49696] " rsandifo at gcc dot gnu.org
2011-10-02 17:48 ` rsandifo at gcc dot gnu.org
2011-10-06  6:41 ` aurelien at aurel32 dot net

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-49696-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).