c++/9193: Testsuite error on mips-irix6 with g++.dg/abi/empty6.C (missing -Wabi warning)

Mark Mitchell mark@codesourcery.com
Mon Jan 13 05:17:00 GMT 2003



--On Wednesday, January 08, 2003 12:37:50 PM -0500 "Kaveh R. Ghazi" 
<ghazi@caip.rutgers.edu> wrote:

>  > From: Mark Mitchell <mark@codesourcery.com>
>  >
>  > > 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



More information about the Gcc-bugs mailing list