From 03a05fd35a901a3104a7b54913aef7a357f84a2f Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Fri, 8 Nov 2019 12:45:24 +0000 Subject: [PATCH] overflow-1.c: Add -fno-pie to the options. * gcc.target/sparc/overflow-1.c: Add -fno-pie to the options. * gcc.target/sparc/overflow-2.c: Likewise. From-SVN: r277969 --- gcc/testsuite/ChangeLog | 4 +++- gcc/testsuite/gcc.target/sparc/overflow-1.c | 2 +- gcc/testsuite/gcc.target/sparc/overflow-2.c | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 286e6e16e46..45306ae1679 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,7 +1,9 @@ 2019-11-08 Eric Botcazou * gcc.c-torture/compile/20191108-1.c: New test. - * gcc.target/sparc/overflow-3.c: Add -fno-pie to the options. + * gcc.target/sparc/overflow-1.c: Add -fno-pie to the options. + * gcc.target/sparc/overflow-2.c: Likewise. + * gcc.target/sparc/overflow-3.c: Likewise. * gcc.target/sparc/overflow-4.c: Likewise. * gcc.target/sparc/overflow-5.c: Likewise. 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 diff --git a/gcc/testsuite/gcc.target/sparc/overflow-2.c b/gcc/testsuite/gcc.target/sparc/overflow-2.c index 9e42bd214de..feb3f194828 100644 --- a/gcc/testsuite/gcc.target/sparc/overflow-2.c +++ b/gcc/testsuite/gcc.target/sparc/overflow-2.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 -- 2.30.2