[PATCH][RFC] Malloc-less demangler interface

Paolo Carlini pcarlini@suse.de
Mon Jan 29 20:38:00 GMT 2007


Ian Lance Taylor wrote:

>I don't think it helps.  what() apparently is supposed to return a
>const char*.  The new interface to the demangling code still doesn't
>give you any way to free the required memory buffer.
>
>The new interface lets you avoid allocating any memory when you call
>the demangler.  But it doesn't have any magic to help if you need to
>return the result somewhere.
>  
>
I see, thanks for the explanation. Any personal opinion about the PR? I 
mean, if Icc also doesn't demangle (anymore) and implementing such 
behavior apparently is almost impossible, we could as well close the PR 
as WONTFIX or NOTABUG...

Paolo.



More information about the Gcc-patches mailing list