c++/5390: Libiberty fails to demangle multi-digit template parameters.

Wolfgang Bangerth bangerth@ticam.utexas.edu
Mon Mar 10 21:06:00 GMT 2003


The following reply was made to PR c++/5390; it has been noted by GNATS.

From: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
To: Carlo Wood <carlo@alinoe.com>
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: c++/5390: Libiberty fails to demangle multi-digit template
 parameters.
Date: Mon, 10 Mar 2003 15:03:05 -0600 (CST)

 > > - gcc up to 2.95 has never generated the cases that your patch addresses
 > 
 > It does.  That is the whole point: 2.95 generates mangled names that are
 > not supported, while the mangled names produces by older version ARE
 > supported.
 
 OK, thanks for the clarifications. I wasn't aware of this ABI change back 
 then.
 
 
 > > The question thus is: if people are not overly interested in your patch 
 > > (which is regrettable, but apparently the case), then we can as well close 
 > > the PR. Since if we don't, we'll ask the same question again in a year, 
 > > and then people will care even less about 2.95.
 > > 
 > > What's your opinion on this?
 > 
 > The reason I filed the PR was because my library generated a mangled
 > name that made libiberty core.  As a library developer I *have* to
 > support ALL versions of gcc(/libiberty) and was able to think of
 > a workaround (somehow make sure that the template parameter constant
 > where always < 10).  It is never urgent for to have something fixed:
 > I have to work with the current version (2.95.1 and up, all of them)
 > anyway.
 
 I understand these concerns. We build our library by 3 or 4 different 
 compilers and a total of 10 different versions or so :-(
 
 >  So, as far as I am concerned you can close this PR.
 
 Does this still hold given DJ's mail?
 
 
 > (Personally, I'd fix it though if I were you - but I am a perfectionist).
 
 I might if I could. I have no knowledge of gcc, libiberty, etc at all. My 
 place is gnats, beyond that I can only try to get patch creators and 
 reviewers into contact -- usually a fruitless endeavor...
 
 W.
 
 -------------------------------------------------------------------------
 Wolfgang Bangerth             email:            bangerth@ticam.utexas.edu
                               www: http://www.ticam.utexas.edu/~bangerth/
 
 
 



More information about the Gcc-prs mailing list