On Sat, Nov 27, 2010 at 12:12 AM, Uros Bizjak <ubiz...@gmail.com> wrote: > Hello! > >>> /home/uros/gcc-svn/trunk/libjava/classpath/gnu/java/awt/peer/gtk/GtkComponentPeer.java: >>> In class 'gnu.java.awt.peer.gtk.GtkComponentPeer': >>> /home/uros/gcc-svn/trunk/libjava/classpath/gnu/java/awt/peer/gtk/GtkComponentPeer.java: >>> In method >>> 'gnu.java.awt.peer.gtk.GtkComponentPeer.handleEvent(java.awt.AWTEvent)': >>> In file included from <built-in>:63:0: >>> /home/uros/gcc-svn/trunk/libjava/classpath/gnu/java/awt/peer/gtk/GtkComponentPeer.java:279:0: >>> error: verification failed at PC=8: branch out of range >>> /home/uros/gcc-svn/trunk/libjava/classpath/gnu/java/awt/peer/gtk/GtkComponentPeer.java:279:0: >>> internal compiler error: Segmentation fault >>> Please submit a full bug report, >>> with preprocessed source if appropriate. >>> See <http://gcc.gnu.org/bugs.html> for instructions. >>> gmake[5]: *** [gnu-java-awt-peer-gtk.lo] Error 1 >>> >>> Any info what this verification error means? >> >> Either >> >> a. A file (GtkComponentPeer.class) has been corrupted >> >> or >> >> b. verify-* in gcc/java has been miscompiled by gcc. >> >> or >> >> c. something used by verify-* in gcc/java has changed, and now >> verify-* is broken. > > Right on spot, It is verify_instructions_0 from verify-impl.c that is > miscompiled. Following patch avoids these failures and enables > profiledbootstrap to finish:
I'd try without value-profile transformations first. Richard. > Index: gcc/java/verify-impl.c > =================================================================== > --- gcc/java/verify-impl.c (revision 167188) > +++ gcc/java/verify-impl.c (working copy) > @@ -2211,6 +2211,7 @@ initialize_stack (void) > } > > static void > +__attribute__((__optimize__(1))) > verify_instructions_0 (void) > { > int i; > > Uros. >