* Add a build config for bootstrapping at -Og
@ 2019-07-07 9:41 Richard Sandiford
2019-07-07 19:01 ` Jeff Law
0 siblings, 1 reply; 2+ messages in thread
From: Richard Sandiford @ 2019-07-07 9:41 UTC (permalink / raw)
To: gcc-patches
Although BOOT_CFLAGS can be used to bootstrap with -Og, having a
dedicated build config is sometimes more convenient.
Tested on aarch64-linux-gnu and x86_64-linux-gnu. OK to install?
Richard
2019-07-07 Richard Sandiford <richard.sandiford@arm.com>
config/
* bootstrap-Og.mk: New file.
gcc/
* doc/install.texi (bootstrap-Og): Document.
Index: config/bootstrap-Og.mk
===================================================================
--- /dev/null 2019-06-14 15:59:19.298479944 +0100
+++ config/bootstrap-Og.mk 2019-07-07 10:20:42.935544725 +0100
@@ -0,0 +1,1 @@
+BOOT_CFLAGS := -Og $(filter-out -O%, $(BOOT_CFLAGS))
Index: gcc/doc/install.texi
===================================================================
--- gcc/doc/install.texi 2019-07-03 20:50:42.350350342 +0100
+++ gcc/doc/install.texi 2019-07-07 10:20:42.935544725 +0100
@@ -2535,6 +2535,7 @@ Removes any @option{-O}-started option f
@samp{BOOT_CFLAGS='-g -O1'}.
@item @samp{bootstrap-O3}
+@itemx @samp{bootstrap-Og}
Analogous to @code{bootstrap-O1}.
@item @samp{bootstrap-lto}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Add a build config for bootstrapping at -Og
2019-07-07 9:41 Add a build config for bootstrapping at -Og Richard Sandiford
@ 2019-07-07 19:01 ` Jeff Law
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Law @ 2019-07-07 19:01 UTC (permalink / raw)
To: gcc-patches, richard.sandiford
On 7/7/19 3:40 AM, Richard Sandiford wrote:
> Although BOOT_CFLAGS can be used to bootstrap with -Og, having a
> dedicated build config is sometimes more convenient.
>
> Tested on aarch64-linux-gnu and x86_64-linux-gnu. OK to install?
>
> Richard
>
>
> 2019-07-07 Richard Sandiford <richard.sandiford@arm.com>
>
> config/
> * bootstrap-Og.mk: New file.
>
> gcc/
> * doc/install.texi (bootstrap-Og): Document.
OK
jeff
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-07-07 19:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-07 9:41 Add a build config for bootstrapping at -Og Richard Sandiford
2019-07-07 19:01 ` Jeff Law
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).