From: Richard Sandiford Date: Sat, 1 Feb 2014 10:41:37 +0000 (+0000) Subject: pr49718.C: Use -mno-relax-pic-calls for MIPS. X-Git-Tag: releases/gcc-4.9.0~1167 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=16b822eba6d4be34e8100a4b31ac71c2d42a208b;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9ad788e125d6..edf89ac8af3f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2014-02-01 Richard Sandiford + + * g++.dg/pr49718.C: Use -mno-relax-pic-calls for MIPS. + 2014-02-01 Richard Sandiford * g++.dg/ext/vector26.C: Restrict scan-assembler test to ! c++98. diff --git a/gcc/testsuite/g++.dg/pr49718.C b/gcc/testsuite/g++.dg/pr49718.C index cd79c9a4eee7..d7f2710a9944 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))