PATCH: libiberty/cplus-dem.c
Loren James Rittle
rittle@latour.rsch.comm.mot.com
Fri Feb 16 14:53:00 GMT 2001
c++filt has been acting funny for a while. It seemed to be able to
demangle strings provided on the command line, but messed up when used
in filter mode. I found this while trying to figure out why
g++.dg/vtgc1.C was still appearing to fail on my platform.
To whomever, this is an obvious fix that (AFAIK) has to be checked
into multiple archives/branches. I have no such write access.
2001-02-16 Loren J. Rittle <ljrittle@acm.org>
* cplus-dem.c (main): Initialize style.
Index: cplus-dem.c
===================================================================
RCS file: /cvs/gcc/gcc/libiberty/cplus-dem.c,v
retrieving revision 1.72
diff -c -r1.72 cplus-dem.c
*** cplus-dem.c 2001/02/02 00:27:39 1.72
--- cplus-dem.c 2001/02/16 22:40:07
***************
*** 5050,5056 ****
char *result;
int c;
const char *valid_symbols;
! enum demangling_styles style;
program_name = argv[0];
--- 5050,5056 ----
char *result;
int c;
const char *valid_symbols;
! enum demangling_styles style = auto_demangling;
program_name = argv[0];
More information about the Gcc-patches
mailing list