aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/sparc/overflow-1.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2019-11-08 12:46:12 +0000
committerEric Botcazou <ebotcazou@adacore.com>2019-11-08 12:46:12 +0000
commitf506385e55ee63ce2f27accdd269254aa61ec791 (patch)
tree66f7ac5963e8826410fe7ca4cbdc60727ec23b2c /gcc/testsuite/gcc.target/sparc/overflow-1.c
parent7207a8895098b32f74350830bba0268c28bf94f7 (diff)
* gcc.target/sparc/overflow-1.c: Add -fno-pie to the options.
* gcc.target/sparc/overflow-2.c: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-8-branch@277971 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.target/sparc/overflow-1.c')
-rw-r--r--gcc/testsuite/gcc.target/sparc/overflow-1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.target/sparc/overflow-1.c b/gcc/testsuite/gcc.target/sparc/overflow-1.c
index e3fa0d04573..75f69ba4f9d 100644
--- a/gcc/testsuite/gcc.target/sparc/overflow-1.c
+++ b/gcc/testsuite/gcc.target/sparc/overflow-1.c
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-options "-O -mcpu=v8" } */
+/* { dg-options "-O -fno-pie -mcpu=v8" } */
/* { dg-require-effective-target ilp32 } */
#include <stdbool.h>