This is the mail archive of the java-patches@gcc.gnu.org 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]
Other format: [Raw text]

Re: [JAVA PATCH] Minor tweak to java_check_reference


> 2003-09-27  Roger Sayle  <roger@eyesopen.com>
>
> 	* expr.c (java_check_reference): Use the semantics of COND_EXPRs
> 	with void-type branches instead of using a COMPOUND_EXPR.

This change makes i386-unknown-netbsdelf1.6 fail bootstrap; it ICE when
compiling libjava/java/lang/ThreadGroup.java:

   ../../../gcc/libjava/java/lang/ThreadGroup.java:670: internal compiler error: in store_expr, at expr.c:4432

This can be seen with the attached test program, when compiling with

   /gcctmp/gcc031005/build/gcc/gcj -B/gcctmp/gcc031005/build/i386-unknown-netbsdelf1.6/libjava/ -B/gcctmp/gcc031005/build/gcc/ -O2 -c Bug.java

   /Krister

Attachment: Bug.java
Description: Text document


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