From 93ac482a661be4904563e065f6dd32c04eac1cee Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Tue, 1 Aug 2017 07:56:28 +0200 Subject: [PATCH] naked-1.c (dg-options): Add -fno-pic. * gcc.target/i386/naked-1.c (dg-options): Add -fno-pic. From-SVN: r250757 --- gcc/testsuite/ChangeLog | 6 +++++- gcc/testsuite/gcc.target/i386/naked-1.c | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index be58e3c877b..9315835f4d6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,7 +1,11 @@ +2017-07-31 Uros Bizjak + + * gcc.target/i386/naked-1.c (dg-options): Add -fno-pic. + 2017-07-31 Steve Ellcey PR tree-optimization/80925 - * gcc.dg/vect/no-section-anchors-vect-69.c: Add + * gcc.dg/vect/no-section-anchors-vect-69.c: Add --param vect-max-peeling-for-alignment=0 option. Remove unaligned access and peeling checks. * gcc.dg/vect/section-anchors-vect-69.c: Ditto. diff --git a/gcc/testsuite/gcc.target/i386/naked-1.c b/gcc/testsuite/gcc.target/i386/naked-1.c index 440dbe9ee7a..cf62bb1114f 100644 --- a/gcc/testsuite/gcc.target/i386/naked-1.c +++ b/gcc/testsuite/gcc.target/i386/naked-1.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O0" } */ +/* { dg-options "-O0 -fno-pic" } */ /* Verify that __attribute__((naked)) produces a naked function that does not use ret to return but traps at the end. */ -- 2.30.2