From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27648 invoked by alias); 19 Nov 2004 08:17:25 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 27625 invoked from network); 19 Nov 2004 08:17:19 -0000 Received: from unknown (HELO mail.libertysurf.net) (213.36.80.90) by sourceware.org with SMTP; 19 Nov 2004 08:17:19 -0000 Received: from dyn-83-152-124-187.ppp.tiscali.fr (83.152.124.187) by mail.libertysurf.net (6.5.036) id 419D7D310006FC09; Fri, 19 Nov 2004 09:17:17 +0100 From: Eric Botcazou To: Janis Johnson Subject: Re: Running the compat testsuite in "non-mirror" mode Date: Fri, 19 Nov 2004 11:20:00 -0000 User-Agent: KMail/1.6.1 Cc: gcc@gcc.gnu.org References: <200411180815.10873.ebotcazou@libertysurf.fr> <200411190109.32937.ebotcazou@libertysurf.fr> <20041119001522.GA8214@us.ibm.com> In-Reply-To: <20041119001522.GA8214@us.ibm.com> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200411190914.31279.ebotcazou@libertysurf.fr> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-SW-Source: 2004-11/txt/msg00674.txt.bz2 > I'm sorry, I still don't understand what you mean my mirror and non-mirror > modes. OK, sorry for being obtuse. The compat testsuite is currently automatically run only once, in what I call mirror mode, that is the newly built compiler is tested against (an identical copy of) itself. While this is useful for catching problems in the argument/return value handling machinery of the back-end, this is only moderately useful for compatibility purposes. Of course this is customizable, but only externally (i.e. manually or with an external Makefile for example). What I would like to have is the possibility to automatically run (i.e. with a bare make -k check-gcc) the compat testsuite twice, once in the mirror mode described above and once in a non-mirror mode. The latter would mean that the newly built compiler is tested against a slight variation of itself, i.e. typically with a non-default option, that could have an impact on the calling conventions, turned on. So it would be possible to specify in the compat testsuite harness (e.g. a platform-specific driver) that it should be automatically run twice on a particular platform, in mirror mode and with an hardcoded pair (-mfoo/-mno-foo) of options. -- Eric Botcazou