From 9d60683aa0cbeb57f835e30b2e2604c2025ffd70 Mon Sep 17 00:00:00 2001 From: Toma Tabacu Date: Tue, 21 Mar 2017 11:07:19 +0000 Subject: [PATCH] Skip gcc.dg/pic-2.c and gcc.dg/pie-2.c for MIPS. gcc/testsuite/ * gcc.dg/pic-2.c: Skip for MIPS. * gcc.dg/pie-2.c: Skip for MIPS. From-SVN: r246311 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/pic-2.c | 1 + gcc/testsuite/gcc.dg/pie-2.c | 1 + 3 files changed, 7 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a4d58737308..eaf6331dabb 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-03-21 Toma Tabacu + + * gcc.dg/pic-2.c: Skip for MIPS. + * gcc.dg/pie-2.c: Skip for MIPS. + 2017-03-21 Paolo Carlini PR c++/77752 diff --git a/gcc/testsuite/gcc.dg/pic-2.c b/gcc/testsuite/gcc.dg/pic-2.c index 59ce8e25bfc..bccec13934a 100644 --- a/gcc/testsuite/gcc.dg/pic-2.c +++ b/gcc/testsuite/gcc.dg/pic-2.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ /* { dg-require-effective-target fpic } */ /* { dg-options "-fPIC" } */ +/* { dg-skip-if "__PIC__ is always 1 for MIPS" { mips*-*-* } } */ #if __PIC__ != 2 # error __PIC__ is not 2! diff --git a/gcc/testsuite/gcc.dg/pie-2.c b/gcc/testsuite/gcc.dg/pie-2.c index 7bdc4ac622d..1838745a11a 100644 --- a/gcc/testsuite/gcc.dg/pie-2.c +++ b/gcc/testsuite/gcc.dg/pie-2.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ /* { dg-options "-fPIE" } */ /* { dg-require-effective-target pie } */ +/* { dg-skip-if "__PIC__ is always 1 for MIPS" { mips*-*-* } } */ #if __PIC__ != 2 # error __PIC__ is not 2! -- 2.30.2