From 828be03ae9263c8ebb7f6478408091de4e8c4dd6 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Fri, 6 Feb 2015 20:04:10 +0100 Subject: [PATCH] pr64317.c: Compile for 32bit *-*-linux* targets. * gcc.target/i386/pr64317.c: Compile for 32bit *-*-linux* targets. (dg-options): Use -fpie instead of -fPIE -pie. From-SVN: r220484 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/i386/pr64317.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d17c6727d4f..36c49f7b392 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-02-06 Uros Bizjak + + * gcc.target/i386/pr64317.c: Compile for 32bit *-*-linux* targets. + (dg-options): Use -fpie instead of -fPIE -pie. + 2015-02-06 Jakub Jelinek PR middle-end/64937 diff --git a/gcc/testsuite/gcc.target/i386/pr64317.c b/gcc/testsuite/gcc.target/i386/pr64317.c index 46c3c6f6683..33f5b5d7002 100644 --- a/gcc/testsuite/gcc.target/i386/pr64317.c +++ b/gcc/testsuite/gcc.target/i386/pr64317.c @@ -1,5 +1,5 @@ -/* { dg-do compile { target { ia32 } } } */ -/* { dg-options "-O2 -fPIE -pie" } */ +/* { dg-do compile { target { *-*-linux* && ia32 } } } */ +/* { dg-options "-O2 -fpie" } */ /* { dg-final { scan-assembler "addl\[ \\t\]+\[$\]_GLOBAL_OFFSET_TABLE_, %ebx" } } */ /* { dg-final { scan-assembler "movl\[ \\t\]+c@GOT\[(\]%ebx\[)\]" } } */ /* { dg-final { scan-assembler-not "movl\[ \\t\]+\[0-9]+\[(\]%esp\[)\], %ebx" } } */ -- 2.30.2