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
This commit is contained in:
Richard Sandiford 2014-02-01 10:41:37 +00:00 committed by Richard Sandiford
parent cf0ac75684
commit 16b822eba6
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
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.

View File

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