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]

Bug in sched.c?


I think there's a bug in the scheduler where it aborts if any REG_DEAD NOTES
are left; I think this is wrong when PRESERVE_DEATH_INFO_REGNO_P is defined?
If so, please consider this patch:

*** sched.c.bak Mon Mar 16 11:45:33 1998
--- sched.c     Mon Mar 16 11:46:15 1998
***************
*** 3468,3474 ****
       In practice, this can occur as the result of bugs in flow, combine.c,
       and/or sched.c.  The values of the REG_DEAD notes remaining are
       meaningless, because dead_notes is just used as a free list.  */
! #if 1
    if (dead_notes != 0)
      abort ();
  #endif
--- 3468,3474 ----
       In practice, this can occur as the result of bugs in flow, combine.c,
       and/or sched.c.  The values of the REG_DEAD notes remaining are
       meaningless, because dead_notes is just used as a free list.  */
! #ifndef PRESERVE_DEATH_INFO_REGNO_P
    if (dead_notes != 0)
      abort ();
  #endif

Toshi



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