aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2014-02-01 10:41:37 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2014-02-01 10:41:37 +0000
commit16b822eba6d4be34e8100a4b31ac71c2d42a208b (patch)
tree5110dfe9dacc066d7b62f6f1686e9a27c8bd1ba2 /gcc
parentcf0ac7568481b7c1153db1c7a0620bf9db52f3a6 (diff)
downloadgcc-16b822eba6d4be34e8100a4b31ac71c2d42a208b.zip
gcc-16b822eba6d4be34e8100a4b31ac71c2d42a208b.tar.gz
gcc-16b822eba6d4be34e8100a4b31ac71c2d42a208b.tar.bz2
pr49718.C: Use -mno-relax-pic-calls for MIPS.
gcc/testsuite/ * g++.dg/pr49718.C: Use -mno-relax-pic-calls for MIPS. From-SVN: r207385
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/g++.dg/pr49718.C1
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 9ad788e..edf89ac 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2014-02-01 Richard Sandiford <rdsandiford@googlemail.com>
+ * g++.dg/pr49718.C: Use -mno-relax-pic-calls for MIPS.
+
+2014-02-01 Richard Sandiford <rdsandiford@googlemail.com>
+
* g++.dg/ext/vector26.C: Restrict scan-assembler test to ! c++98.
2014-02-01 Paolo Carlini <paolo.carlini@oracle.com>
diff --git a/gcc/testsuite/g++.dg/pr49718.C b/gcc/testsuite/g++.dg/pr49718.C
index cd79c9a..d7f2710 100644
--- a/gcc/testsuite/g++.dg/pr49718.C
+++ b/gcc/testsuite/g++.dg/pr49718.C
@@ -1,6 +1,7 @@
/* { dg-do compile } */
/* { dg-options "-O2 -finstrument-functions" } */
/* { dg-additional-options "-mno-explicit-relocs" { target alpha*-*-* } } */
+/* { dg-additional-options "-mno-relax-pic-calls" { target mips*-*-* } } */
/* { dg-final { scan-assembler-times "__cyg_profile_func_enter" 1} } */
#define NOINSTR __attribute__((no_instrument_function))