[patch testsuite g++.dg gcc.dg]: Fix various tests for w64
Janis Johnson
janis187@us.ibm.com
Fri Sep 26 17:01:00 GMT 2008
On Fri, 2008-09-26 at 13:17 +0200, Kai Tietz wrote:
> Hello,
>
> some more fixes in testsuite related to w64.
>
> ChangeLog
>
> 2008-09-26 Kai Tietz <kai.tietz@onevision.com>
>
> * g++.dg/abi/offsetof.C (main): Use __SIZE_TYPE__ instead of
> unsigned long
> for pointer cast.
> * g++.dg/init/struct1.C: Likewise.
> * g++.dg/init/struct2.C: Likewise.
> * g++.dg/init/struct3.C: Likewise.
> * g++.dg/ext/utf-cvt.C: Correct for w64.
> * gcc.dg/utf-cvt.c: Likewise.
>
> Tested on x86_64-pc-mingw32 and i686-pc-cygwin.
> Is this ok for apply on trunk?
The ones that case to __SIZE_TYPE__ are OK. For the ones that now
use { { x86_64-*-mingw* } || ilp32 }, is there a more generic
effective-target keyword that you could add instead of using the
target triple? What are the characteristics of the target that
make the check relevant?
Janis
More information about the Gcc-patches
mailing list