java/5812: GCJ 3.0.2 segfaults on class file from Sun JDK 1.3 compiler
Per Bothner
per@bothner.com
Sat Mar 2 11:06:00 GMT 2002
The following reply was made to PR java/5812; it has been noted by GNATS.
From: Per Bothner <per@bothner.com>
To: tromey@redhat.com
Cc: adam@medovina.org, gcc-gnats@gcc.gnu.org
Subject: Re: java/5812: GCJ 3.0.2 segfaults on class file from Sun JDK 1.3 compiler
Date: Sat, 02 Mar 2002 10:56:45 -0800
Tom Tromey wrote:
> It isn't clear to me whether this should verify.
> The `return' at PC=15 is invalid, since the method signature is ()I.
> Ordinarily this would be a verification error.
I agree.
> However, given that Sun's compiler generated this, perhaps they intend
> that we only verify reachable code.
Who knows what the by intended - but we have to live with their bugs.
> Per, what do you think about this?
Gcj already emits an 'unreachable bytecode' warning. I think that
would be enough, once we fix whather is causing gcj to crash. I'll
take a look.
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/
More information about the Gcc-prs
mailing list