From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18763 invoked by alias); 18 May 2007 03:10:14 -0000 Received: (qmail 18544 invoked by uid 48); 18 May 2007 03:10:00 -0000 Date: Fri, 18 May 2007 03:10:00 -0000 Message-ID: <20070518031000.18543.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug bootstrap/31963] The configure option "--enable-stage1-checking" is undocumented (and incorrectly named) In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-05/txt/msg01375.txt.bz2 ------- Comment #3 from pinskia at gcc dot gnu dot org 2007-05-18 04:10 ------- I have no idea what you are talking about overwritting. In 4.1 and before the subdirectory gcc's makefile handled bootstrap (staging). In 4.2 and above, the toplevel makefile handles bootstrap. So that means we can configure the gcc subdirectory differently for the two different stages which is exactly what happens with --enable-stage1-checking=*. When stage1 is configured, the toplevel makefile passes down the --enable-checking=x for what --enable-stage1-checking= says to do (defaults to yes). So you will not see a -DENABLE_CHECKING on the command line when compiling stage1 at all. You will see in stage1-gcc (when the build finishes if you don't use make bootstrap-lean) in auto-host.h, a define for ENABLE_CHECKING. This option is really only useful for disable checking for stage1 when you are short on resources (memory/time). Plus configure is setup correctly to enable more checking for stage1. Also this is the help from configure: choose additional checking for stage1 of the compiler. Which is exactly what it does. It means enable checking in the product of stage1 (the stage1 compiler) which is a good description I think. It means compiling stage2 is going to be slower if you enable all checking for stage1. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31963