public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/27001] New: ICE with -fschedule-insns -fstack-protector-all
@ 2006-04-03 11:20 reichelt at gcc dot gnu dot org
2006-04-03 15:06 ` [Bug target/27001] " pinskia at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-04-03 11:20 UTC (permalink / raw)
To: gcc-bugs
The following code snippet causes an ICE on x86_64-unknown-linux-gnu
when compiled with "-fschedule-insns -fstack-protector-all".
This happens since 4.1.0 when -fstack-protector-all was introduced.
=========================================================================
int foo(int i)
{
i /= i+1;
return 0;
}
=========================================================================
bug.c: In function 'foo':
bug.c:5: error: unable to find a register to spill in class 'AREG'
bug.c:5: error: this is the insn:
(insn 11 21 27 2 (parallel [
(set (reg:SI 1 dx [61])
(div:SI (reg:SI 1 dx [orig:63 i ] [63])
(reg:SI 2 cx [orig:59 D.1879 ] [59])))
(set (reg:SI 2 cx [62])
(mod:SI (reg:SI 1 dx [orig:63 i ] [63])
(reg:SI 2 cx [orig:59 D.1879 ] [59])))
(clobber (reg:CC 17 flags))
]) 277 {*divmodsi4_nocltd} (nil)
(expr_list:REG_DEAD (reg:SI 1 dx [orig:63 i ] [63])
(expr_list:REG_DEAD (reg:SI 2 cx [orig:59 D.1879 ] [59])
(expr_list:REG_UNUSED (reg:CC 17 flags)
(expr_list:REG_UNUSED (reg:SI 2 cx [62])
(nil))))))
bug.c:5: internal compiler error: in spill_failure, at reload1.c:1912
Please submit a full bug report, [etc.]
--
Summary: ICE with -fschedule-insns -fstack-protector-all
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code, monitored
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27001
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/27001] ICE with -fschedule-insns -fstack-protector-all
2006-04-03 11:20 [Bug middle-end/27001] New: ICE with -fschedule-insns -fstack-protector-all reichelt at gcc dot gnu dot org
@ 2006-04-03 15:06 ` pinskia at gcc dot gnu dot org
2008-09-28 19:34 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-04-03 15:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-03 15:06 -------
This is the normal problem of using specific registers for multiplication on
x86 and x86_64 so running out of registers is easy :).
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|middle-end |target
GCC target triplet| |x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27001
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/27001] ICE with -fschedule-insns -fstack-protector-all
2006-04-03 11:20 [Bug middle-end/27001] New: ICE with -fschedule-insns -fstack-protector-all reichelt at gcc dot gnu dot org
2006-04-03 15:06 ` [Bug target/27001] " pinskia at gcc dot gnu dot org
@ 2008-09-28 19:34 ` pinskia at gcc dot gnu dot org
2008-09-28 19:34 ` pinskia at gcc dot gnu dot org
2009-11-14 17:07 ` reichelt at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-09-28 19:34 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |ra
Last reconfirmed|2006-09-03 21:39:42 |2008-09-28 19:33:29
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27001
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/27001] ICE with -fschedule-insns -fstack-protector-all
2006-04-03 11:20 [Bug middle-end/27001] New: ICE with -fschedule-insns -fstack-protector-all reichelt at gcc dot gnu dot org
2006-04-03 15:06 ` [Bug target/27001] " pinskia at gcc dot gnu dot org
2008-09-28 19:34 ` pinskia at gcc dot gnu dot org
@ 2008-09-28 19:34 ` pinskia at gcc dot gnu dot org
2009-11-14 17:07 ` reichelt at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-09-28 19:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2008-09-28 19:33 -------
*** Bug 37659 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |edwintorok at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27001
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/27001] ICE with -fschedule-insns -fstack-protector-all
2006-04-03 11:20 [Bug middle-end/27001] New: ICE with -fschedule-insns -fstack-protector-all reichelt at gcc dot gnu dot org
` (2 preceding siblings ...)
2008-09-28 19:34 ` pinskia at gcc dot gnu dot org
@ 2009-11-14 17:07 ` reichelt at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2009-11-14 17:07 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from reichelt at gcc dot gnu dot org 2009-11-14 17:07 -------
The code compiles without ICE on trunk since at least 2009-09-17.
So lets close it as fixed.
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27001
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-11-14 17:07 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-03 11:20 [Bug middle-end/27001] New: ICE with -fschedule-insns -fstack-protector-all reichelt at gcc dot gnu dot org
2006-04-03 15:06 ` [Bug target/27001] " pinskia at gcc dot gnu dot org
2008-09-28 19:34 ` pinskia at gcc dot gnu dot org
2008-09-28 19:34 ` pinskia at gcc dot gnu dot org
2009-11-14 17:07 ` reichelt at gcc dot gnu dot org
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).