This is the mail archive of the gcc@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++ ABI testing issues, gcc-3.3 <-> gcc-3.2 compatibility


Jakub Jelinek <jakub@redhat.com> writes:

> On Mon, Aug 05, 2002 at 09:00:29AM +0200, Andreas Jaeger wrote:
>> "Goodman, Joe" <joe.goodman@intel.com> writes:
>> 
>> > We provide a C++ ABI test suite you can download from
>> > http://developer.intel.com/software/products/opensource/.  Please feel free
>> > to download and run this suite.
>> 
>> Thanks for reminding us.  I did test it some weeks ago and decided to
>> look again add it - and noticed that I configured it wrong the last
>> time and was not executing the tests (config.mk disables them by
>> default on non-ia64 platforms :-( ).
>> 
>> Here're the results on i686-linux-gnu from GCC 3.2 branch as of
>> 2002-08-04:
>
> On alpha-redhat-linux, the only failing test was:
> ./bitfield3
> Test 4 Failure: bitfield3.cpp:60
>
> This is about:
> struct A { char a; char b:1; int :0; char c:1; char d; };
> sizeof(A). g++ 3.2 gives 6, the testsuite expects 2*sizeof(int).
> That's the same result as given on IA-32 or IA-64, but those
> tests are
> #if !defined __i386__ && !defined __ia64__
> Guess at least __alpha__ is a good candidate for this treatment too.

x86-64 has the same problem, everything passes except bitfield3 (this
is with GCC 3.2 plus some extra patches),

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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