This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/52287] New: [4.7 regression] ICE in ready_remove_first, at haifa-sched.c:1927
- From: "ro at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 16 Feb 2012 19:01:18 +0000
- Subject: [Bug bootstrap/52287] New: [4.7 regression] ICE in ready_remove_first, at haifa-sched.c:1927
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52287
Bug #: 52287
Summary: [4.7 regression] ICE in ready_remove_first, at
haifa-sched.c:1927
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: ro@gcc.gnu.org
CC: bernds@gcc.gnu.org, ebotcazou@gcc.gnu.org
Host: sparc-sun-solaris2.8
Target: sparc-sun-solaris2.8
Build: sparc-sun-solaris2.8
Between rev. 184203 and 184303, Solaris 8/SPARC bootstrap broke in stage2:
$ cc1plus -fpreprocessed reginfo.ii -quiet -mcpu=v9 -g -O2 -fno-exceptions
-fno-rtti -o reginfo.s
/vol/gcc/src/hg/trunk/local/gcc/reginfo.c: In function 'int
memory_move_secondary_cost(machine_mode, reg_class_t, bool)':
/vol/gcc/src/hg/trunk/local/gcc/reginfo.c:716:1: internal compiler error: in
ready_remove_first, at haifa-sched.c:1927
gdb finds
(gdb) up
#1 0x02ae1c64 in ready_remove_first (ready=0x346e558)
at /vol/gcc/src/hg/trunk/local/gcc/haifa-sched.c:1927
1927 gcc_assert (QUEUE_INDEX (t) == QUEUE_READY);
(gdb) p t
$1 = (rtx) 0xf95db748
(gdb) pr
(debug_insn 49 48 50 6 (var_location:SI from (reg/v:SI 119 [ rclass ])) -1
(nil))
I wonder if this could be related to
2012-02-14 Bernd Schmidt <bernds@codesourcery.com>
* haifa-sched.c (prune_ready_list): Ensure that if there is a
sched-group insn, it either remains alone or the entire list is
pruned.
Strangely, this doesn't occur on Solaris 9 and up.
Rainer
- Follow-Ups:
- [Bug bootstrap/52287] [4.7 regression] ICE in ready_remove_first, at haifa-sched.c:1927
- From: bernds at gcc dot gnu.org
- [Bug bootstrap/52287] [4.7 regression] ICE in ready_remove_first, at haifa-sched.c:1927
- From: ro at gcc dot gnu.org
- [Bug bootstrap/52287] [4.7 regression] ICE in ready_remove_first, at haifa-sched.c:1927
- From: bernds at gcc dot gnu.org
- [Bug bootstrap/52287] [4.7 regression] ICE in ready_remove_first, at haifa-sched.c:1927
- From: ro at CeBiTec dot Uni-Bielefeld.DE
- [Bug bootstrap/52287] [4.7 regression] ICE in ready_remove_first, at haifa-sched.c:1927
- From: rguenth at gcc dot gnu.org
- [Bug bootstrap/52287] [4.7 regression] ICE in ready_remove_first, at haifa-sched.c:1927
- From: jakub at gcc dot gnu.org
- [Bug bootstrap/52287] [4.7 regression] ICE in ready_remove_first, at haifa-sched.c:1927
- From: ebotcazou at gcc dot gnu.org
- [Bug bootstrap/52287] [4.7 regression] ICE in ready_remove_first, at haifa-sched.c:1927
- From: ebotcazou at gcc dot gnu.org
- [Bug bootstrap/52287] [4.7 regression] ICE in ready_remove_first, at haifa-sched.c:1927
- From: ebotcazou at gcc dot gnu.org
- [Bug bootstrap/52287] [4.7 regression] ICE in ready_remove_first, at haifa-sched.c:1927
- From: bernds at gcc dot gnu.org
- [Bug bootstrap/52287] [4.7 regression] ICE in ready_remove_first, at haifa-sched.c:1927
- From: jakub at gcc dot gnu.org
- [Bug bootstrap/52287] [4.7 regression] ICE in ready_remove_first, at haifa-sched.c:1927
- From: ebotcazou at gcc dot gnu.org
- [Bug bootstrap/52287] [4.7 regression] ICE in ready_remove_first, at haifa-sched.c:1927
- From: ebotcazou at gcc dot gnu.org
- [Bug bootstrap/52287] [4.7 regression] ICE in ready_remove_first, at haifa-sched.c:1927
- From: ebotcazou at gcc dot gnu.org