From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9142 invoked by alias); 10 Jul 2011 11:03:41 -0000 Received: (qmail 9132 invoked by uid 22791); 10 Jul 2011 11:03:40 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 10 Jul 2011 11:03:26 +0000 From: "aurelien at aurel32 dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/49696] New: ICE on mips when compiling drizzle X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aurelien at aurel32 dot net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Sun, 10 Jul 2011 11:03:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-07/txt/msg00749.txt.bz2 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::value_type drizzled::internal::gcc_traits::fetch(const volatile value_type*) const volatile [with T = bool, D = bool, drizzled::internal::gcc_traits::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.