This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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.

Hi Krister,

I'm eager to track this problem down but I'm unable to reproduce the
failure of your testcase, either with native jc1 on i686-pc-linux-gnu
nor with a jc1 cross-compiler targeted to i386-unknown-netbsdelf1.6.

The abort at line 4432 of expr.c does look like it may be triggered
by my change.  Any chance that you can provide a stack trace for me
so that I can pin-point the routine calling store_expr with an
inappropriate want_value?

Many thanks in advance,

Roger
--


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