This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: Use of pointer casts in the interpreter
- To: per@bothner.com
- Subject: Re: Use of pointer casts in the interpreter
- From: Anthony Green <green@cygnus.com>
- Date: Sun, 8 Aug 1999 23:46:46 -0700 (PDT)
- CC: java-discuss@sourceware.cygnus.com
Per wrote:
> I've gotten to the point that Kawa now crashes in the Interpreter,
> which led me to look at interpret.cc. There are a bunch of
> pointer casts in there. Such casts are unsafe, as the gcc
> optimizer makes aliasing assumptions based on the types of
> pointers.
Good catch! This is the same thing that is tripping up linux kernel
hackers in GCC 2.95. Are you going to try with -fno-strict-aliasing?
AG
--
Anthony Green Cygnus Solutions
Sunnyvale, California