This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: java/5986: SIGSEGV in __gcj_personality_v0
- From: Jeff Sturm <jsturm at one-point dot com>
- To: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- Cc: gcc-gnats at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org
- Date: Thu, 21 Mar 2002 09:38:03 -0500 (EST)
- Subject: Re: java/5986: SIGSEGV in __gcj_personality_v0
On Thu, 21 Mar 2002, Bryce McKinlay wrote:
> http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5986
>
> This test case works-for-me on both x86 and PPC:
>
> $ gcj CrashEH.java --main=CrashEH -O2
> $ ./a.out
> cleanup
> ok
I apologize for the faulty instructions. (Writing a good PR is hard!)
Compile/run the example from bytecode:
[jsturm@omega tmp]$ gcj CrashEH.class -o CrashEH --main=CrashEH
[jsturm@omega tmp]$ ./CrashEH
Segmentation fault
It makes no difference whether I use javac or gcj -C to compile the
source.
Jeff