This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch testsuite]: Correct testcase for LLP64 targets
- From: Kai Tietz <ktietz70 at googlemail dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Rainer Orth <ro at cebitec dot uni-bielefeld dot de>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 17 Mar 2014 12:01:41 +0100
- Subject: Re: [patch testsuite]: Correct testcase for LLP64 targets
- Authentication-results: sourceware.org; auth=none
- References: <CAEwic4ZqHmkUtxzAg5mQ8YzNM==EkYwJU3iSAfVZQyWuPez9dw at mail dot gmail dot com> <ydd4n2xi26s dot fsf at CeBiTec dot Uni-Bielefeld dot DE> <20140317095348 dot GF22862 at tucnak dot redhat dot com> <CAEwic4a+bDnTqPLSfcNdYPYxeRXE1+HW0uq9qhSOY0doiV43Sg at mail dot gmail dot com>
Sorry, I repost last patch with small correction in dg-do directive.
The ! in there needs additional framing, and I missed the target
keyword.
Regards,
Kai
Index: 20010327-1.c
===================================================================
--- 20010327-1.c (Revision 208594)
+++ 20010327-1.c (Arbeitskopie)
@@ -1,4 +1,4 @@
-/* { dg-require-effective-target ptr32plus } */
+/* { dg-do compile { target { ptr32plus && { ! llp64 } } } } */
/* This testcase tests whether GCC can produce static initialized data
that references addresses of size 'unsigned long', even if that's not