From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11886 invoked by alias); 6 Dec 2002 21:55:46 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 11876 invoked from network); 6 Dec 2002 21:55:43 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 6 Dec 2002 21:55:43 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id BEA6C3E2A; Fri, 6 Dec 2002 16:55:34 -0500 (EST) Message-ID: <3DF11CD6.8010407@redhat.com> Date: Fri, 06 Dec 2002 14:08:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020824 X-Accept-Language: en-us, en MIME-Version: 1.0 To: David Carlton Cc: Fernando Nasser , gdb-patches@sources.redhat.com, Daniel Jacobowitz Subject: Re: [rfa] store.exp failures References: <3DEFEC76.6040109@redhat.com> <3DF0FC7C.6050209@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-12/txt/msg00238.txt.bz2 > On Fri, 06 Dec 2002 14:37:32 -0500, Andrew Cagney said: > > >> Thanks. In case you're wondering, yes it does pass but with older >> compilers. > > > Do you see the two failures with GCC 2.95.3 that I see, by the way? > They're > > FAIL: gdb.base/store.exp: new up struct 1 > FAIL: gdb.base/store.exp: new up struct 2 > > I don't know if they're our fault or GCC's fault. (Or even nobody's > fault: the test seems a bit delicate.) On a powerpc: Running /home/scratch/GDB/src/gdb/testsuite/gdb.base/store.exp ... === gdb Summary === # of expected passes 204 ac131313@nettle$ gcc --version 2.95.3 And on a Red Hat 7,2 system: Running /home/cagney/GDB/src/gdb/testsuite/gdb.base/store.exp ... === gdb Summary === # of expected passes 204 cagney@torrens$ gcc --version 2.96 >> I'm also wondering of GCC eliminating functions when -O0 is a bug. > > > Yeah, I wondered about that, too: it's not going to make our lives any > easier if GCC continues doing this... Asked a GCC engineer. They agreed, at -O0, it shouldn't be eliminating static functions. Andrew