This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Use of pointer casts in the interpreter



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]