Add a build config for bootstrapping at -Og

Although BOOT_CFLAGS can be used to bootstrap with -Og, having a
dedicated build config is sometimes more convenient.

2019-07-08  Richard Sandiford  <richard.sandiford@arm.com>

config/
	* bootstrap-Og.mk: New file.

gcc/
	* doc/install.texi (bootstrap-Og): Document.

From-SVN: r273193
This commit is contained in:
Richard Sandiford 2019-07-08 06:21:11 +00:00 committed by Richard Sandiford
parent 0de175b8d6
commit 8849d5034c
4 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2019-07-08 Richard Sandiford <richard.sandiford@arm.com>
* bootstrap-Og.mk: New file.
2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
Andrew Stubbs <ams@codesourcery.com>

1
config/bootstrap-Og.mk Normal file
View File

@ -0,0 +1 @@
BOOT_CFLAGS := -Og $(filter-out -O%, $(BOOT_CFLAGS))

View File

@ -1,3 +1,7 @@
2019-07-08 Richard Sandiford <richard.sandiford@arm.com>
* doc/install.texi (bootstrap-Og): Document.
2019-07-08 Richard Sandiford <richard.sandiford@arm.com>
* config/riscv/pic.md (*local_pic_load_s<mode>)

View File

@ -2535,6 +2535,7 @@ Removes any @option{-O}-started option from @code{BOOT_CFLAGS}, and adds
@samp{BOOT_CFLAGS='-g -O1'}.
@item @samp{bootstrap-O3}
@itemx @samp{bootstrap-Og}
Analogous to @code{bootstrap-O1}.
@item @samp{bootstrap-lto}