diff options
author | Martin Liska <mliska@suse.cz> | 2019-04-09 10:49:14 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2019-04-09 08:49:14 +0000 |
commit | 1c67e69c0dea67fab1ef32e8b78bf24cc1b3f06a (patch) | |
tree | db45937b3e3b85a464f1555fd7c08a7d08362bdc /gcc | |
parent | 6c0b8df123c24ef3c14305698eb2910bcf5979ce (diff) | |
download | gcc-1c67e69c0dea67fab1ef32e8b78bf24cc1b3f06a.zip gcc-1c67e69c0dea67fab1ef32e8b78bf24cc1b3f06a.tar.gz gcc-1c67e69c0dea67fab1ef32e8b78bf24cc1b3f06a.tar.bz2 |
Come up with bootstrap-lto-lean config.
2019-04-09 Martin Liska <mliska@suse.cz>
* Makefile.in: Regenerate.
* Makefile.tpl: Pass GENERATOR_CFLAGS
in all stages.
2019-04-09 Martin Liska <mliska@suse.cz>
* bootstrap-lto-lean.mk: New file.
2019-04-09 Martin Liska <mliska@suse.cz>
* Makefile.in: Use GENERATOR_CFLAGS for all generators.
* doc/install.texi: Document the new config.
From-SVN: r270223
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/Makefile.in | 4 | ||||
-rw-r--r-- | gcc/doc/install.texi | 6 |
3 files changed, 13 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f1d18b9..fc013a6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-04-09 Martin Liska <mliska@suse.cz> + + * Makefile.in: Use GENERATOR_CFLAGS for all generators. + * doc/install.texi: Document the new config. + 2019-04-09 Richard Sandiford <richard.sandiford@arm.com> * tree-vect-data-refs.c (vect_get_smallest_scalar_type): Always diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 508c674..d186d71 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -785,8 +785,8 @@ CC_FOR_BUILD = @CC_FOR_BUILD@ CXX_FOR_BUILD = @CXX_FOR_BUILD@ NO_PIE_CFLAGS_FOR_BUILD = @NO_PIE_CFLAGS_FOR_BUILD@ NO_PIE_FLAG_FOR_BUILD = @NO_PIE_FLAG_FOR_BUILD@ -BUILD_CFLAGS= @BUILD_CFLAGS@ -DGENERATOR_FILE -BUILD_CXXFLAGS = @BUILD_CXXFLAGS@ -DGENERATOR_FILE +BUILD_CFLAGS= @BUILD_CFLAGS@ $(GENERATOR_CFLAGS) -DGENERATOR_FILE +BUILD_CXXFLAGS = @BUILD_CXXFLAGS@ $(GENERATOR_CFLAGS) -DGENERATOR_FILE BUILD_NO_PIE_CFLAGS = @BUILD_NO_PIE_CFLAGS@ BUILD_CFLAGS += $(BUILD_NO_PIE_CFLAGS) BUILD_CXXFLAGS += $(BUILD_NO_PIE_CFLAGS) diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index 8d7bee5..3f0c421 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -2529,6 +2529,12 @@ static libraries are not compiled with link-time optimizations. Since the GCC middle end and back end are in @file{libbackend.a} this means that only the front end is actually LTO optimized. +@item @samp{bootstrap-lto-lean} +This option is similar to @code{bootstrap-lto}, but is intended for +faster build by only using LTO in the final bootstrap stage. +With @samp{make profiledbootstrap} the LTO frontend +is trained only on generator files. + @item @samp{bootstrap-debug} Verifies that the compiler generates the same executable code, whether or not it is asked to emit debug information. To this end, this |