public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/52287] New: [4.7 regression] ICE in ready_remove_first, at haifa-sched.c:1927
@ 2012-02-16 19:18 ro at gcc dot gnu.org
  2012-02-16 19:57 ` [Bug bootstrap/52287] " bernds at gcc dot gnu.org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: ro at gcc dot gnu.org @ 2012-02-16 19:18 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2012-02-23 22:19 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-16 19:18 [Bug bootstrap/52287] New: [4.7 regression] ICE in ready_remove_first, at haifa-sched.c:1927 ro at gcc dot gnu.org
2012-02-16 19:57 ` [Bug bootstrap/52287] " bernds at gcc dot gnu.org
2012-02-16 20:08 ` ro at gcc dot gnu.org
2012-02-16 21:05 ` bernds at gcc dot gnu.org
2012-02-17 12:13 ` ro at CeBiTec dot Uni-Bielefeld.DE
2012-02-20 12:06 ` rguenth at gcc dot gnu.org
2012-02-22 15:10 ` jakub at gcc dot gnu.org
2012-02-22 17:50 ` ebotcazou at gcc dot gnu.org
2012-02-23 14:44 ` ebotcazou at gcc dot gnu.org
2012-02-23 15:33 ` ebotcazou at gcc dot gnu.org
2012-02-23 15:50 ` bernds at gcc dot gnu.org
2012-02-23 15:56 ` jakub at gcc dot gnu.org
2012-02-23 16:34 ` ebotcazou at gcc dot gnu.org
2012-02-23 22:19 ` ebotcazou at gcc dot gnu.org
2012-02-23 22:34 ` ebotcazou at gcc dot gnu.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).