From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21818 invoked by alias); 9 Jul 2010 15:56:58 -0000 Received: (qmail 21807 invoked by uid 22791); 9 Jul 2010 15:56:57 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-pv0-f169.google.com (HELO mail-pv0-f169.google.com) (74.125.83.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 09 Jul 2010 15:56:49 +0000 Received: by pvc30 with SMTP id 30so1983901pvc.0 for ; Fri, 09 Jul 2010 08:56:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.223.12 with SMTP id v12mr12743897wfg.86.1278691008156; Fri, 09 Jul 2010 08:56:48 -0700 (PDT) Received: by 10.142.226.18 with HTTP; Fri, 9 Jul 2010 08:56:48 -0700 (PDT) In-Reply-To: <201007091548.o69FmNlk015436@d12av02.megacenter.de.ibm.com> References: <201007091548.o69FmNlk015436@d12av02.megacenter.de.ibm.com> Date: Fri, 09 Jul 2010 15:56:00 -0000 Message-ID: Subject: Re: [rfc] skip_ilp32_tests / skip_lp64_tests predicates (was: Re: support biarch gcore?) From: "H.J. Lu" To: Ulrich Weigand Cc: Mark Kettenis , jan.kratochvil@redhat.com, Jon.Zhou@jdsu.com, gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-07/txt/msg00183.txt.bz2 On Fri, Jul 9, 2010 at 8:48 AM, Ulrich Weigand wrote: > H.J. Lu wrote: > >> Very good point. There are some arch specific tests which are either >> 32bit or 64bit. Currently, we check target. It doesn't work -m32. We >> need something like >> >> /* { dg-require-effective-target lp64 } */ >> /* { dg-require-effective-target ilp32 } */ > > Right; I noticed this problem with one ppc64 test case as well. > > I've tried to add testsuite predicates skip_ilp32_tests and skip_lp64_tests > modeled along the lines of the above GCC effective-target flags, and this > helps with this ppc64 test case. > > Could you try whether you can use this to fix the i386/x86_64 tests? > > I'd appreciate any comments on the approach below! > I will give it a try. It may take a while. Thanks. -- H.J.