This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/70242] GCC bootstrap failed on x86_64 using "--with-build-config=bootstrap-O3"


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))

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]