This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: libjava build failure?
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: Mike Stump <mrs at apple dot com>, Jeffrey A Law <law at redhat dot com>
- Cc: Java Patch List <java-patches at gcc dot gnu dot org>, "gcc-patches at gcc dot gnu dot org Patches" <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 18 May 2005 02:26:23 -0400
- Subject: Re: libjava build failure?
- References: <A25D1F8B-3EE1-4EF4-A782-4125CA7AD288@apple.com> <ED136C1D-4420-41AE-B450-42BBA7312A70@apple.com>
On May 17, 2005, at 8:51 PM, Mike Stump wrote:
Beyond this, I get a build failure:
../../../gcc/libjava/jni.cc:2141: error: Statement marked for throw,
but doesn't.
# VUSE <D.14472_67(ab)>;
D.27347_69 = D.14472;
../../../gcc/libjava/jni.cc:2141: internal compiler error:
verify_stmts failed.
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [jni.lo] Error 1
make[2]: Leaving directory
`/Volumes/mrs3/net/gcc-darwinO2/powerpc-apple-darwin8.0.0/libjava'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/Volumes/mrs3/net/gcc-darwinO2/powerpc-apple-darwin8.0.0/libjava'
make: *** [all-target-libjava] Error 2
but I think you'll know about this one?!
Yes this was caused by:
+2005-05-17 Jeff Law <law@redhat.com>
+
+ * Makefile.in (tree-ssa-forwprop.o): Depend on langhooks.h.
+ * tree-ssa-forwprop.c: Include langhooks.h.
+ (forward_propagate_addr_expr_into_variable_array_index): New.
+ (forward_propagate_addr_expr): New.
+ (tree_ssa_forward_propagate_single_use_vars): Loop over all
+ the statements in the block instead of just the last statement.
+ Call forward_propagate_addr_expr as needed.
+ (pass_forwprop): Update the SSA graph after forward propagation
is
+ complete.
See <http://gcc.gnu.org/ml/gcc-patches/2005-05/msg01798.html> for a
short testcase.
And <http://gcc.gnu.org/ml/gcc-patches/2005-05/msg01789.html> for
analysis of the
problem (ignore the inlining comment).
Thanks,
Andrew Pinski