This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/33670] [4.3 Regression] cc1 segfault with -O2 -fsched-stalled-insns=0 for twolf



------- Comment #1 from jakub at gcc dot gnu dot org  2007-11-02 13:10 -------
Testing a fix.
--- haifa-sched.c.jj9   2007-10-15 15:28:39.000000000 +0200
+++ haifa-sched.c       2007-11-02 14:10:20.000000000 +0100
@@ -1590,6 +1590,12 @@ ok_for_early_queue_removal (rtx insn)
            {
              int cost;

+             if (prev_insn == current_sched_info->prev_head)
+               {
+                 prev_insn = NULL;
+                 break;
+               }
+
              if (!NOTE_P (prev_insn))
                {
                  dep_t dep;


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jakub at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-11-02 13:10:38
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33670


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]