This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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




--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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]