From 277420210d9e1e3d281d40a88b9d8b54be8fc91f Mon Sep 17 00:00:00 2001 From: Andreas Tobler Date: Mon, 25 May 2015 10:50:43 +0200 Subject: [PATCH] pr64317.c: Use 'dg-require-effective-target ia32' and 'dg-require-effective-target pie'. 2015-05-25 Andreas Tobler * gcc.target/i386/pr64317.c: Use 'dg-require-effective-target ia32' and 'dg-require-effective-target pie'. From-SVN: r223642 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/i386/pr64317.c | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e41d7e89fcc..942bad53547 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-05-25 Andreas Tobler + + * gcc.target/i386/pr64317.c: Use 'dg-require-effective-target ia32' + and 'dg-require-effective-target pie'. + 2015-05-23 Nathan Sidwell PR c++/66243 diff --git a/gcc/testsuite/gcc.target/i386/pr64317.c b/gcc/testsuite/gcc.target/i386/pr64317.c index 0bbd4fad188..9e13da63885 100644 --- a/gcc/testsuite/gcc.target/i386/pr64317.c +++ b/gcc/testsuite/gcc.target/i386/pr64317.c @@ -1,4 +1,6 @@ -/* { dg-do compile { target { { *-*-freebsd* *-*-linux* } && ia32 } } } */ +/* { dg-do compile } */ +/* { dg-require-effective-target ia32 } */ +/* { dg-require-effective-target pie } */ /* { dg-options "-O2 -fpie" } */ /* { dg-final { scan-assembler "addl\[ \\t\]+\[$\]_GLOBAL_OFFSET_TABLE_, %ebx" } } */ /* { dg-final { scan-assembler "movl\[ \\t\]+c@GOTOFF\[(\]%ebx\[)\]" } } */ -- 2.30.2