diff options
author | Jakub Jelinek <jakub@redhat.com> | 2015-04-17 19:09:20 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2015-04-17 19:09:20 +0200 |
commit | c10b5ea0d8b2b268fcb16ae9768dea61c7271735 (patch) | |
tree | 0a24fde01f96bf6a5dde201b5fcbad0833e24669 /configure | |
parent | 98c1627cb57af18a873847eda17b5a15e7cec03a (diff) | |
download | gcc-c10b5ea0d8b2b268fcb16ae9768dea61c7271735.zip gcc-c10b5ea0d8b2b268fcb16ae9768dea61c7271735.tar.gz gcc-c10b5ea0d8b2b268fcb16ae9768dea61c7271735.tar.bz2 |
re PR bootstrap/62077 (--with-build-config=bootstrap-lto fails)
PR bootstrap/62077
* configure.ac (--enable-stage1-checking): Default to
release,misc,gimple,rtlflag,tree,types if --disable-checking
or --enable-checking is not specified and DEV-PHASE is not
experimental.
* configure: Regenerated.
From-SVN: r222187
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -14761,7 +14761,19 @@ if test "${enable_stage1_checking+set}" = set; then : enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking} else if test "x$enable_checking" = xno || test "x$enable_checking" = x; then - stage1_checking=--enable-checking=yes,types + # For --disable-checking or implicit --enable-checking=release, avoid + # setting --enable-checking=gc in the default stage1 checking for LTO + # bootstraps. See PR62077. + stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types + case $BUILD_CONFIG in + *lto*) + if test "x$enable_checking" = x && \ + test -d ${srcdir}/gcc && \ + test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then + stage1_checking=--enable-checking=yes,types + fi;; + *) stage1_checking=--enable-checking=yes,types;; + esac else stage1_checking=--enable-checking=$enable_checking,types fi |