This is the mail archive of the
mailing list for the GCC project.
Re: HEAD regression: All java tests are failing with an ICE whenoptimized
Ranjit Mathew writes:
> Andrew Haley wrote:
> > HEAD, clean build this morning. i686-linux-gnu.
> > With the libgcj "make check", there are many identical failures.
> > These are of the form
> > PR4766.java: In class 'PR4766':
> > PR4766.java: In method 'PR4766.myfunction()':
> > PR4766.java:0: internal compiler error: in hash_scan_set, at postreload-gcse.c:741
> > Please submit a full bug report,
> > with preprocessed source if appropriate.
> > See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> > compiler exited with status 1
> > And the ICE is always in hash_scan_set.
> > I do not believe that this is a Java FE bug.
> > Has anyone else seen this?
> First off, I didn't when I ran my regular
> bootstrap + libjava_check cycle. That's because
> I use "--disable-checking".
> Second, it's most likely caused by Nathan's assertifying
> patch to gcc/p*.c:
> Note that the "#ifdef ENABLE_CHECKING" guard
> in postreload-gcse.c (around line #741) was
> *misspelt* before:
> - #ifdef ENABLE_CHEKCING
> and was thus never being executed before.
So maybe it is a front end bug. I'm working on it now.