home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / gnu / gcc / help / 3042 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  2.1 KB

  1. Path: sparky!uunet!stanford.edu!agate!spool.mu.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!gnu.ai.mit.edu!rms
  2. From: rms@gnu.ai.mit.edu (Richard Stallman)
  3. Newsgroups: gnu.gcc.help
  4. Subject: "failed assertion" in core.c
  5. Date: 26 Jan 1993 17:18:05 -0500
  6. Organization: GNUs Not Usenet
  7. Lines: 53
  8. Sender: daemon@cis.ohio-state.edu
  9. Distribution: gnu
  10. Message-ID: <9301262211.AA02449@mole.gnu.ai.mit.edu>
  11. References: <1993Jan26.110639.63210@cc.usu.edu>
  12.  
  13. The problem of getting "failed assertion" in core.c is almost
  14. certainly a GCC bug.  But I cannot debug it because I do not
  15. understand how that code works.
  16.  
  17. I could study it and fix the problem, but it would take time.  Many of
  18. you who are reading this could do that with no more time than I would
  19. need.
  20.  
  21. To get the maximum progress on GNU with the resources available, I
  22. think it is best if I work on other things and let this wait until one
  23. of you decides to debug it.  Our rate of progress is measured by how
  24. many people contribute.
  25.  
  26. Here is a patch I was sent to fix a bug in core.c.  I believe it does
  27. not fix this problem, but you might as well have the latest version
  28. to work from.
  29.  
  30. ===================================================================
  31. RCS file: /home/fsf/rms/cc/objc/RCS/core.c,v
  32. retrieving revision 1.14
  33. diff -a -c1 -r1.14 core.c
  34. *** core.c    1993/01/11 05:10:46    1.14
  35. --- core.c    1993/01/14 20:46:05
  36. ***************
  37. *** 1172,1174 ****
  38.        node = hash_next (module_hash_table, node))
  39. !       record_store (NULL, record);
  40.               
  41. --- 1172,1180 ----
  42.        node = hash_next (module_hash_table, node))
  43. !       {
  44. !     int nclasses = ((Module_t) node->value)->symtab->cls_def_cnt;
  45. !     int j;
  46. !     for (j = 0; j < nclasses; j++)
  47. !       record_store (NULL, record);
  48. !       }
  49.               
  50. ***************
  51. *** 1177,1179 ****
  52.        node = hash_next (module_hash_table, node))
  53. !       record_store (NULL, record);
  54.     }    
  55. --- 1183,1191 ----
  56.        node = hash_next (module_hash_table, node))
  57. !       {
  58. !     int nclasses = ((Module_t) node->value)->symtab->cls_def_cnt;
  59. !     int j;
  60. !     for (j = 0; j < nclasses; j++)
  61. !       record_store (NULL, record);
  62. !       }
  63.     }    
  64.