From e12c40944905e48a1830861c63e6e39ae67eb8b0 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Thu, 3 Sep 2009 05:55:57 +0000 Subject: configure.ac (--with-build-config): New. ChangeLog: * configure.ac (--with-build-config): New. Set BUILD_CONFIG. Default to bootstrap-debug only if compare-debug works. * configure: Rebuilt. * Makefile.tpl: Make BUILD_CONFIG configure-configurable. * Makefile.in: Rebuilt. contrib/ChangeLog: * bootstrap-debug-big.mk (STAGE2_CFLAGS): Drop -gtoggle. * bootstrap-debug-lean.mk: Update comments. (STAGE2_CFLAGS): Likewise. (do-compare): Don't override. gcc/ChangeLog: * doc/invoke.texi (BUILD_CONFIG): Document --with-build-config. (bootstrap-debug): Explain conditions in which it becomes default. (bootstrap-debug-big): Rather than duplicate bootstrap-debug, make it add to it. From-SVN: r151367 --- config/bootstrap-debug-big.mk | 2 +- config/bootstrap-debug-lean.mk | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'config') diff --git a/config/bootstrap-debug-big.mk b/config/bootstrap-debug-big.mk index e657735..855ddc2 100644 --- a/config/bootstrap-debug-big.mk +++ b/config/bootstrap-debug-big.mk @@ -3,6 +3,6 @@ # stage3, it generates dumps during stage2 and stage3, saving them all # until the final compare. -STAGE2_CFLAGS += -gtoggle -fdump-final-insns +STAGE2_CFLAGS += -fdump-final-insns STAGE3_CFLAGS += -fdump-final-insns do-compare = $(SHELL) $(srcdir)/contrib/compare-debug $$f1 $$f2 diff --git a/config/bootstrap-debug-lean.mk b/config/bootstrap-debug-lean.mk index 5666d3f..e215280 100644 --- a/config/bootstrap-debug-lean.mk +++ b/config/bootstrap-debug-lean.mk @@ -1,11 +1,11 @@ -# This BUILD_CONFIG option is a bit like bootstrap-debug, but in -# addition to comparing stripped object files, it also compares -# compiler internal state during stage3. +# This BUILD_CONFIG option is a bit like bootstrap-debug, but rather +# than comparing stripped object files, it compares compiler internal +# state during stage3. Both can be used simultaneously. -# This makes it slower than bootstrap-debug, for there's additional -# dumping and recompilation during stage3. bootstrap-debug-big can -# avoid the recompilation, if plenty of disk space is available. +# This makes it slower than bootstrap-debug alone, for there's +# additional dumping and recompilation during stage3. +# bootstrap-debug-big can avoid the recompilation, if plenty of disk +# space is available. -STAGE2_CFLAGS += -gtoggle -fcompare-debug= +STAGE2_CFLAGS += -fcompare-debug= STAGE3_CFLAGS += -fcompare-debug -do-compare = $(SHELL) $(srcdir)/contrib/compare-debug $$f1 $$f2 -- cgit v1.1