From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3227 invoked by alias); 31 Jul 2007 18:30:33 -0000 Received: (qmail 3219 invoked by uid 22791); 31 Jul 2007 18:30:32 -0000 X-Spam-Check-By: sourceware.org Received: from rwcrmhc14.comcast.net (HELO rwcrmhc14.comcast.net) (216.148.227.154) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 31 Jul 2007 18:30:26 +0000 Received: from lucon.org ([24.6.230.138]) by comcast.net (rwcrmhc14) with ESMTP id <20070731183019m1400232v0e>; Tue, 31 Jul 2007 18:30:24 +0000 Received: by lucon.org (Postfix, from userid 500) id 8BD18F7F56; Tue, 31 Jul 2007 11:30:19 -0700 (PDT) Date: Tue, 31 Jul 2007 18:45:00 -0000 From: "H.J. Lu" To: Janis Johnson Cc: gcc-patches@gcc.gnu.org, echristo@apple.com Subject: PATCH: gcc/testsuite: Set gcc_initialized to 1 Message-ID: <20070731183019.GA28929@lucon.org> References: <20070730230359.GA13062@lucon.org> <1185903836.6581.15.camel@janis-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1185903836.6581.15.camel@janis-laptop> User-Agent: Mutt/1.5.14 (2007-02-12) X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2007-07/txt/msg02199.txt.bz2 On Tue, Jul 31, 2007 at 10:43:56AM -0700, Janis Johnson wrote: > > Setting gcc_initialized doesn't belong in this patch, and should > be tested by running the full testsuite with multiple runs, e.g. > -m32 and -m64, to make sure there are no surprises. > Tested on Linux/x86-64 with RUNTESTFLAGS=--target_board 'unix{-m32,}'. H.J. ---- 2007-07-30 H.J. Lu * lib/gcc.exp: (gcc_init): Set gcc_initialized to 1. --- gcc/testsuite/lib/gcc.exp.ssp 2007-07-13 07:12:23.000000000 -0700 +++ gcc/testsuite/lib/gcc.exp 2007-07-30 14:59:43.000000000 -0700 @@ -113,6 +114,8 @@ proc gcc_init { args } { set gcc_error_prefix "error:" gcc_maybe_build_wrapper "${tmpdir}/gcc-testglue.o" + + set gcc_initialized 1 } #