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
This commit is contained in:
Eric Botcazou 2019-11-08 12:45:24 +00:00 committed by Eric Botcazou
parent 0a83f1a441
commit 03a05fd35a
3 changed files with 5 additions and 3 deletions

View File

@ -1,7 +1,9 @@
2019-11-08 Eric Botcazou <ebotcazou@adacore.com>
* 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.

View File

@ -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>

View File

@ -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>