public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* RFA: Patch for new java demangle failures
       [not found]   ` <20031125185310.GB7401@lucon.org>
@ 2003-11-25 21:25     ` Ian Lance Taylor
  0 siblings, 0 replies; only message in thread
From: Ian Lance Taylor @ 2003-11-25 21:25 UTC (permalink / raw)
  To: H. J. Lu; +Cc: binutils, gcc-patches, dj

"H. J. Lu" <hjl@lucon.org> writes:

> Just do
> 
> # cd libiberty
> # make check
> 
> I got
> 
> FAIL at line 2572, style java:
> in:  _ZN4java3awt10ScrollPane7addImplEPNS0_9ComponentEPNS_4lang6ObjectEi
> out: java.awt.ScrollPane.addImpl
> exp: java.awt.ScrollPane.addImpl(java.awt.Component, java.lang.Object, int)
> ....

Hmmm, right.  That was sloppy.  Sorry.

Ian


2003-11-25  Ian Lance Taylor  <ian@wasabisystems.com>

	* cp-demangle.c (java_demangle_v3): Pass DMGL_PARAMS to
	d_demangle.


Index: cp-demangle.c
===================================================================
RCS file: /cvs/gcc/gcc/libiberty/cp-demangle.c,v
retrieving revision 1.53
diff -u -r1.53 cp-demangle.c
--- cp-demangle.c	24 Nov 2003 18:42:39 -0000	1.53
+++ cp-demangle.c	25 Nov 2003 20:45:45 -0000
@@ -3528,7 +3528,7 @@
   char *from;
   char *to;
 
-  demangled = d_demangle (mangled, DMGL_JAVA, &alc);
+  demangled = d_demangle (mangled, DMGL_JAVA | DMGL_PARAMS, &alc);
 
   if (demangled == NULL)
     return NULL;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-11-25 20:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20031125184930.GA7401@lucon.org>
     [not found] ` <m31xrw1dv3.fsf@gossamer.airs.com>
     [not found]   ` <20031125185310.GB7401@lucon.org>
2003-11-25 21:25     ` RFA: Patch for new java demangle failures Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).