------- Comment #8 from ian at airs dot com  2010-01-09 21:15 -------
Oh sorry, I think the version I tested with was too old.  I think this broke
with Simon's patch of 2007-01-29.  I bet this patch fixes it:

Index: cp-demangle.c
===================================================================
--- cp-demangle.c       (revision 155776)
+++ cp-demangle.c       (working copy)
@@ -4777,7 +4777,7 @@ d_demangle (const char *mangled, int opt
       return NULL;
     }

-  *palc = dgs.allocation_failure ? 1 : 0;
+  *palc = dgs.allocation_failure ? 1 : dgs.alc;
   return dgs.buf;
 }



-- 


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

Reply via email to