gfortran.dg/bind_c_array_params_2.f90 fails for some mips*-linux-gnu combinations because we output the linker hint:
.reloc 1f,R_MIPS_JALR,myBindC as well as the call itself. Fixed by passing the option that disables this feature. Tested on mips64el-linux-gnu and applied. Richard gcc/testsuite/ * gfortran.dg/bind_c_array_params_2.f90: Require -mno-relax-pic-calls for MIPS. Index: gcc/testsuite/gfortran.dg/bind_c_array_params_2.f90 =================================================================== --- gcc/testsuite/gfortran.dg/bind_c_array_params_2.f90 2013-01-24 21:37:41.719012829 +0000 +++ gcc/testsuite/gfortran.dg/bind_c_array_params_2.f90 2013-01-24 21:41:42.219599949 +0000 @@ -1,6 +1,7 @@ ! { dg-do compile } ! { dg-options "-std=f2008ts -fdump-tree-original" } ! { dg-additional-options "-mno-explicit-relocs" { target alpha*-*-* } } +! { dg-additional-options "-mno-relax-pic-calls" { target mips*-*-* } } ! ! Check that assumed-shape variables are correctly passed to BIND(C) ! as defined in TS 29913