This is the mail archive of the gcc-patches@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]

Re: [Bug target/32622] BOOT_CFLAGS is not passed to stage2 and stage3 compile


Hi,

here is a fix for PR32622 that I've bootstrapped and tested on
i686-linux with "configure BOOT_CFLAGS=-O2" that made the bootstrap
stage2 and stage3 use "-O2 -fomit-frame-pointer" instead of "-O2 -g
-fomit-frame-pointer".  Okay for trunk?

Sebastian
	* config/mh-x86omitfp (BOOT_CFLAGS): Add -fomit-frame-pointer,
	don't reset its value.

Index: config/mh-x86omitfp
===================================================================
--- config/mh-x86omitfp	(revision 126312)
+++ config/mh-x86omitfp	(working copy)
@@ -1,2 +1,2 @@
 # Add -fomit-frame-pointer to the usual BOOT_CFLAGS to speed up the compiler.
-BOOT_CFLAGS = -O2 -g -fomit-frame-pointer
+BOOT_CFLAGS += -fomit-frame-pointer

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