imac20:/tmp/javolution mohanembar$ i686-apple-darwin8-gcj -v -save-temps -c -O2 javolution.jar Using built-in specs. Reading specs from /datal/gcc/i686-apple-darwin8/bin/../lib/gcc/i686-apple-darwin8/4.3.0/../../../libgcj.spec rename spec startfile to startfileorig rename spec lib to liborig Target: i686-apple-darwin8 Configured with: /datal/gcc/gcc/configure --build=i686-apple-darwin8 --target=i686-apple-darwin8 --disable-shared --enable-static --disable-multilib --disable-checking --disable-gconf-peer --disable-plugin --prefix=/datal/gcc/i686-apple-darwin --enable-languages=c,java,objc --with-gmp=/opt/local --with-mpfr=/opt/local Thread model: posix gcc version 4.3.0 20070311 (experimental) /datal/gcc/i686-apple-darwin8/bin/../libexec/gcc/i686-apple-darwin8/4.3.0/jc1 javolution.jar -fhash-synchronization -fuse-divide-subroutine -fcheck-references -fuse-boehm-gc -fkeep-inline-functions -fPIC -mmacosx-version-min=10.4 -quiet -dumpbase javolution.jar -mtune=generic -march=nocona -auxbase javolution -O2 -version -fbootclasspath=./:/datal/gcc/i686-apple-darwin8/bin/../lib/gcc/../../share/java/libgcj-4.3.0.jar -faux-classpath javolution.zip -o javolution.s GNU Java version 4.3.0 20070311 (experimental) (i686-apple-darwin8) compiled by GNU C version 4.3.0 20070311 (experimental). GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Class path starts here: javolution.zip/ (zip) ./ (system) /datal/gcc/i686-apple-darwin8/bin/../lib/gcc/../../share/java/libgcj-4.3.0.jar/ (system) (zip) javolution/lang/MathLib.java: In class 'javolution.lang.MathLib': javolution/lang/MathLib.java: In method 'javolution.lang.MathLib.toLongPow2(double,int)': javolution/lang/MathLib.java:0: internal compiler error: in build_int_cst_wide, at tree.c:886 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Created attachment 13230 [details] javolution.jar (BSD license) source & distribution from http://www.javolution.org/
Created attachment 13231 [details] temps file
Created attachment 13232 [details] Failing routine A stripped-down test case that demonstrates the failure.
Created attachment 13233 [details] .
Created attachment 13234 [details] .class file Compile this with gcc/trunk/install/bin/gcj MathLib.class -c -O2
Subject: Bug 31264 Author: aph Date: Tue Mar 20 12:45:19 2007 New Revision: 123085 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123085 Log: 2007-03-19 Andrew Haley <aph@redhat.com> PR tree-optimization/31264 * tree-vrp.c (register_edge_assert_for_1): Don't look though VIEW_CONVERT_EXPRs. 2007-03-20 Andrew Haley <aph@redhat.com> * testsuite/libjava.lang/PR31264.java: New test. Added: trunk/libjava/testsuite/libjava.lang/PR31264.jar (with props) trunk/libjava/testsuite/libjava.lang/PR31264.java trunk/libjava/testsuite/libjava.lang/PR31264.out Modified: trunk/gcc/ChangeLog trunk/gcc/tree-vrp.c trunk/libjava/ChangeLog Propchange: trunk/libjava/testsuite/libjava.lang/PR31264.jar ('svn:mime-type' added)
This fix works for me. Thanks. Not sure who's responsible for closing this out.
Fixed.