public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/29044]  New: Libiberty demangler can not handle new Java mangling.
@ 2006-09-12 21:33 drow at gcc dot gnu dot org
  2006-09-12 21:43 ` [Bug java/29044] " drow at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: drow at gcc dot gnu dot org @ 2006-09-12 21:33 UTC (permalink / raw)
  To: java-prs

In earlier versions of GCJ this:
public class jmain
{
  public static void main (String[] args)
    {
        return;
    }
}

Was mangled to:
  _ZN5jmain4mainEP6JArrayIPN4java4lang6StringEE

Now it is mangled to:
  _ZN5jmain4mainEJvP6JArrayIPN4java4lang6StringEE

(Including Jv, for a void return type).

This can't be properly demangled (use a current c++filt -s java):
  jmain.main(java.lang.String[])void

I am assuming the mangling change was deliberate.  If so, the demangler should
be updated.


-- 
           Summary: Libiberty demangler can not handle new Java mangling.
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: drow at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29044


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-09-13 12:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-12 21:33 [Bug java/29044] New: Libiberty demangler can not handle new Java mangling drow at gcc dot gnu dot org
2006-09-12 21:43 ` [Bug java/29044] " drow at gcc dot gnu dot org
2006-09-13  4:03 ` pinskia at gcc dot gnu dot org
2006-09-13  6:36 ` ian at airs dot com
2006-09-13  6:39 ` pinskia at gcc dot gnu dot org
2006-09-13  7:23 ` ian at airs dot com
2006-09-13  9:01 ` aph at gcc dot gnu dot org
2006-09-13 12:31 ` drow at gcc dot gnu dot org
2006-09-13 12:31 ` drow at gcc dot gnu dot org

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).