summaryrefslogtreecommitdiff
path: root/gcc/Makefile.in
diff options
context:
space:
mode:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-14 07:20:05 +0000
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-14 07:20:05 +0000
commit0832330031da073c0b9fdb4681a66c6efe057717 (patch)
tree9fffc8412b276e164132372d4c10b493382dba34 /gcc/Makefile.in
parent0078a5e8b3a06c309b2db46770ddad6aaf2e85bb (diff)
downloadgcc-0832330031da073c0b9fdb4681a66c6efe057717.tar.gz
* Makefile.in (STAGE1_CHECKING): New variable.
(stage1_build): Use it. * tree-ssa.c (verify_ssa): Preserve state of dominance information. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87484 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/Makefile.in')
-rw-r--r--gcc/Makefile.in9
1 files changed, 6 insertions, 3 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index ad61b55ed88..63cee019302 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -134,6 +134,7 @@ BOOT_LANGUAGES = c @all_boot_languages@
# or BOOT_CFLAGS
# STAGE1_CFLAGS is set by configure on some targets or passed from toplevel
# and sets the CFLAGS passed to stage1 of a bootstrap compilation.
+# STAGE1_CHECKING enables checking for the stage1 compiler
# BOOT_CFLAGS is the value of CFLAGS to pass to the stage2, stage3 and stage4
# bootstrap compilations.
# XCFLAGS is used for most compilations but not when using the GCC just built.
@@ -142,6 +143,7 @@ XCFLAGS =
TCFLAGS =
CFLAGS = -g
STAGE1_CFLAGS = -g @stage1_cflags@
+STAGE1_CHECKING = -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING
BOOT_CFLAGS = -g -O2
# Flags to determine code coverage. When coverage is disabled, this will
@@ -3633,11 +3635,12 @@ STAGEFEEDBACK_FLAGS_TO_PASS = \
# only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
# MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
# overrideable (for a bootstrap build stage1 also builds gcc.info).
+# The stage1 compiler is always built with checking enabled.
stage1_build:
$(MAKE) CC="$(CC)" libdir=$(libdir) LANGUAGES="$(BOOT_LANGUAGES)" \
- CFLAGS="$(STAGE1_CFLAGS)" MAKEINFO="$(MAKEINFO)" \
- MAKEINFOFLAGS="$(MAKEINFOFLAGS)" COVERAGE_FLAGS= \
- OBJS-onestep="$(OBJS)"
+ CFLAGS="$(STAGE1_CFLAGS) $(STAGE1_CHECKING)" \
+ MAKEINFO="$(MAKEINFO)" MAKEINFOFLAGS="$(MAKEINFOFLAGS)" \
+ COVERAGE_FLAGS= OBJS-onestep="$(OBJS)"
$(STAMP) stage1_build
echo stage1_build > stage_last