From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7624 invoked by alias); 8 Jan 2003 17:56:04 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 7610 invoked by uid 71); 8 Jan 2003 17:56:03 -0000 Date: Wed, 08 Jan 2003 17:56:00 -0000 Message-ID: <20030108175603.7609.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Mark Mitchell Subject: Re: c++/9193: Testsuite error on mips-irix6 with g++.dg/abi/empty6.C (missing -Wabi warning) Reply-To: Mark Mitchell X-SW-Source: 2003-01/txt/msg00551.txt.bz2 List-Id: The following reply was made to PR c++/9193; it has been noted by GNATS. From: Mark Mitchell To: "Kaveh R. Ghazi" , "gcc-gnats@gcc.gnu.org" Cc: "gcc-bugs@gcc.gnu.org" Subject: Re: c++/9193: Testsuite error on mips-irix6 with g++.dg/abi/empty6.C (missing -Wabi warning) Date: Wed, 08 Jan 2003 09:47:23 -0800 --On Wednesday, January 08, 2003 12:37:50 PM -0500 "Kaveh R. Ghazi" wrote: > > From: Mark Mitchell > > > > > and indeed no -Wabi warning is issued. The failure occurs only when > I > > run the testsuite with -mabi=64, it succeeds without that flag as > noted > > in the test report above. > > > > That's correct behavior; it means that there's no change under that > ABI. > > For my own education, would you please help me understand why the > irix6 -mabi=n32 vs -mabi=64 flag affects this, but other 64 bit > platforms, or sparc -m64, don't see a change? Essentially, there's no logical answer. We were assuming that DECL_FIELD_OFFSET meant something it only means sometimes. On platforms where it meant what we thought it meant, we don't need to warn; elsewhere, we do. -- Mark Mitchell mark@codesourcery.com CodeSourcery, LLC http://www.codesourcery.com