This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/46675] [4.6 Regression] profiledbootstrap failed
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 27 Nov 2010 07:01:46 +0000
- Subject: [Bug middle-end/46675] [4.6 Regression] profiledbootstrap failed
- Auto-submitted: auto-generated
- References: <bug-46675-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46675
Uros Bizjak <ubizjak at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2010.11.27 07:01:34
CC| |ubizjak at gmail dot com
Ever Confirmed|0 |1
--- Comment #1 from Uros Bizjak <ubizjak at gmail dot com> 2010-11-27 07:01:34 UTC ---
Continuing from [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:
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;
[1] http://gcc.gnu.org/ml/gcc/2010-11/msg00615.html