This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/70242] GCC bootstrap failed on x86_64 using "--with-build-config=bootstrap-O3"
- From: "trippels at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 15 Mar 2016 17:38:11 +0000
- Subject: [Bug bootstrap/70242] GCC bootstrap failed on x86_64 using "--with-build-config=bootstrap-O3"
- Auto-submitted: auto-generated
- References: <bug-70242-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70242
--- Comment #2 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
So something like this may work:
diff --git a/config/bootstrap-O3.mk b/config/bootstrap-O3.mk
index b269a3f7e12a..b9881e9c1664 100644
--- a/config/bootstrap-O3.mk
+++ b/config/bootstrap-O3.mk
@@ -1 +1,2 @@
-BOOT_CFLAGS := -O3 $(filter-out -O%, $(BOOT_CFLAGS))
+BOOT_CFLAGS := -O3 -Wno-error=maybe-uninitialized \
+ -Wno-error=array-bounds $(filter-out -O%, $(BOOT_CFLAGS))