------- Comment #28 from tobi at gcc dot gnu dot org  2006-02-12 18:47 -------
Ralf, this patch should fix the segfault, it shouldn't give you a working
compiler, though.

Index: error.c
===================================================================
--- error.c     (revision 110873)
+++ error.c     (working copy)
@@ -199,7 +199,7 @@ show_loci (locus * l1, locus * l2)
 {
   int offset, flag, i, m, c1, c2, cmax;

-  if (l1 == NULL)
+  if (!l1 || !l1->lb)
     {
       error_printf ("<During initialization>\n");
       return;


-- 


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

Reply via email to