This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [JAVA PATCH] Minor tweak to java_check_reference
- From: Roger Sayle <roger at eyesopen dot com>
- To: Krister Walfridsson <cato at df dot lth dot se>
- Cc: gcc-patches at gcc dot gnu dot org, <java-patches at gcc dot gnu dot org>
- Date: Sun, 5 Oct 2003 14:07:34 -0600 (MDT)
- Subject: 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
--