This is the mail archive of the gcc-patches@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: [patch testsuite g++.dg gcc.dg]: Fix various tests for w64


Hi Janis,

Janis Johnson <janis187@us.ibm.com> wrote on 30.09.2008 00:09:45:

> On Mon, 2008-09-29 at 16:31 +0200, Kai Tietz wrote:
> > Richard Henderson <rth@redhat.com> wrote on 26.09.2008 19:01:10:
> > 
> > > Janis Johnson wrote:
> > > > 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?
> > > 
> > > We should add a p64 (as opposed to lp64) tag for it.
> > 
> > What should p64 be? Which characteristics it should have? Or did you 
meant 
> > llp64?
> 
> It sounds like they're different names for the same thing, so add one
> for llp64 that checks for appropriate sizes of relevant data types.
> See check_effective_target_lp64 in testsuite/lib/target-supports.exp
> as an example.

ok, I did this.

ChangeLog

2008-09-30  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.
        * lib/target-supports.exp (check_effective_target_llp64): New.


Ok, for apply on trunk?

Kai



|  (\_/)  This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.

Attachment: w64-g++.dg.txt
Description: Text document


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