public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/49696] New: ICE on mips when compiling drizzle
@ 2011-07-10 11:03 aurelien at aurel32 dot net
2011-10-02 17:45 ` [Bug target/49696] " rsandifo at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: aurelien at aurel32 dot net @ 2011-07-10 11:03 UTC (permalink / raw)
To: gcc-bugs
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/49696] ICE on mips when compiling drizzle
2011-07-10 11:03 [Bug target/49696] New: ICE on mips when compiling drizzle aurelien at aurel32 dot net
@ 2011-10-02 17:45 ` 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
2 siblings, 0 replies; 4+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2011-10-02 17:45 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49696
--- Comment #1 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> 2011-10-02 17:45:16 UTC ---
Author: rsandifo
Date: Sun Oct 2 17:45:10 2011
New Revision: 179431
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179431
Log:
gcc/
PR target/49696
* config/mips/sync.md (sync_<optab>_12): Allow zero operands.
(sync_old_<optab>_12, sync_new_<optab>_12, sync_nand_12): Likewise.
(sync_old_nand_12, sync_new_nand_12, test_and_set_12): Likewise.
gcc/testsuite/
* gcc.dg/pr49696.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/pr49696.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/mips/sync.md
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/49696] ICE on mips when compiling drizzle
2011-07-10 11:03 [Bug target/49696] New: ICE on mips when compiling drizzle aurelien at aurel32 dot net
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
2 siblings, 0 replies; 4+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2011-10-02 17:48 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49696
rsandifo@gcc.gnu.org <rsandifo at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |rsandifo at gcc dot gnu.org
Resolution| |FIXED
--- Comment #2 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> 2011-10-02 17:47:53 UTC ---
Patch applied to trunk. I don't think this is a regression,
so it probably isn't suitable for the release branches.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/49696] ICE on mips when compiling drizzle
2011-07-10 11:03 [Bug target/49696] New: ICE on mips when compiling drizzle aurelien at aurel32 dot net
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
2 siblings, 0 replies; 4+ messages in thread
From: aurelien at aurel32 dot net @ 2011-10-06 6:41 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49696
--- Comment #3 from Aurelien Jarno <aurelien at aurel32 dot net> 2011-10-06 06:40:46 UTC ---
I confirm the issue is fixed in trunk. Thanks!
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-10-06 6:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-10 11:03 [Bug target/49696] New: ICE on mips when compiling drizzle aurelien at aurel32 dot net
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
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).