From da98521ba2b451d96c8f9b069230b6a1b8270e0d Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 28 Mar 2011 13:14:47 +0000 Subject: [PATCH] Add -fno-pic to gcc.target/i386/pr47502-2.c. 2011-03-28 H.J. Lu PR testsuite/48276 * gcc.target/i386/pr47502-2.c: Add -fno-pic. From-SVN: r171604 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/i386/pr47502-2.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a9f70d0795a..53424d290b5 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2011-03-28 H.J. Lu + + PR testsuite/48276 + * gcc.target/i386/pr47502-2.c: Add -fno-pic. + 2011-03-28 Eric Botcazou * gcc.dg/slp-1.c: New test. diff --git a/gcc/testsuite/gcc.target/i386/pr47502-2.c b/gcc/testsuite/gcc.target/i386/pr47502-2.c index 1f57ea017e1..a8dc1ca0189 100644 --- a/gcc/testsuite/gcc.target/i386/pr47502-2.c +++ b/gcc/testsuite/gcc.target/i386/pr47502-2.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2" } */ +/* { dg-options "-O2 -fno-pic" } */ int foo (int how, const void *set, void *oset) -- 2.30.2