From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7158 invoked by alias); 31 Jan 2007 17:55:48 -0000 Received: (qmail 7145 invoked by uid 22791); 31 Jan 2007 17:55:47 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 31 Jan 2007 17:55:40 +0000 Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id BF57C215C3 for ; Wed, 31 Jan 2007 18:55:37 +0100 (CET) From: Andreas Schwab To: gdb-patches@sourceware.org Subject: Re: Testsuite failures in gdb.gdb/selftest.exp References: <20070131171937.GA337@nevyn.them.org> X-Yow: I'm into SOFTWARE! Date: Wed, 31 Jan 2007 17:55:00 -0000 In-Reply-To: <20070131171937.GA337@nevyn.them.org> (Daniel Jacobowitz's message of "Wed, 31 Jan 2007 12:19:37 -0500") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-01/txt/msg00616.txt.bz2 Daniel Jacobowitz writes: > On Wed, Jan 31, 2007 at 06:12:37PM +0100, Andreas Schwab wrote: >> With heavy optimizations there can be even more code reordering, causing >> spurious failures in do_steps_and_nexts. >> >> The quit_flag case was seen on ppc, the gdb_std{out,err} cases on ia64. > > You may have checked this already but... are these sensible lines to > have reached, given what's executing? Or are these additional > symptoms of gcc/26475 or a similar problem? On ia64 the address of gdb_stdout/gdb_stderr (together with a few other variables) is definitely computed very early in the function. The quit_flag case could indeed be an instance of the gcc bug. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."