The demangling_new bug in libiberty/cp-demangle.c

H . J . Lu hjl@lucon.org
Tue Apr 24 14:07:00 GMT 2001


# grep demangling_new libiberty/cp-demangle.c
static demangling_t demangling_new
demangling_new (name, style)
      demangling_t dm = demangling_new (name, style);
  demangling_t dm = demangling_new (type_name);
				   ^^^^^^^^^^^
  dm = demangling_new (name, DMGL_GNU_V3);

As you can see, demangling_new is called with only one arg.


H.J.



More information about the Gcc-bugs mailing list