This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch] Minor fixes for regtesting gfortran with -flto
- From: dominiq at lps dot ens dot fr (Dominique Dhumieres)
- To: schwab at linux-m68k dot org, dominiq at lps dot ens dot fr
- Cc: gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org
- Date: Sun, 25 May 2014 21:09:38 +0200
- Subject: Re: [Patch] Minor fixes for regtesting gfortran with -flto
- Authentication-results: sourceware.org; auth=none
- References: <20140505161235 dot BECF4103 at mailhost dot lps dot ens dot fr> <871tvidpo0 dot fsf at igel dot home> <20140525154814 dot 6DC5B107 at mailhost dot lps dot ens dot fr> <87wqd9ddu2 dot fsf at igel dot home> <20140525172821 dot C75C1107 at mailhost dot lps dot ens dot fr> <87lhtpdago dot fsf at igel dot home> <20140525181602 dot D9F45107 at mailhost dot lps dot ens dot fr> <87ha4dd6l2 dot fsf at igel dot home>
> bl myBindC
> jsr myBindC
> bl myBindC
Is this for the same target, or for 3 different ones? which one(s)?
Does the following patch fixes the problem?
--- ../_clean/gcc/testsuite/gfortran.dg/bind_c_array_params_2.f90 2014-05-24 16:17:53.000000000 +0200
+++ gcc/testsuite/gfortran.dg/bind_c_array_params_2.f90 2014-05-25 20:38:18.000000000 +0200
@@ -16,7 +16,7 @@ integer :: aa(4,4)
call test(aa)
end
-! { dg-final { scan-assembler-times "call\[^\n\r\]*myBindC" 1 { target { ! { hppa*-*-hpux* } } } } }
-! { dg-final { scan-assembler-times "call\[^\n\r\]*myBindC,%r2" 1 { target { hppa*-*-hpux* } } } }
+! { dg-final { scan-assembler-times "\[ \t\]_*myBindC" 1 { target { ! { hppa*-*-hpux* } } } } }
+! { dg-final { scan-assembler-times "\[ \t\]_*myBindC,%r2" 1 { target { hppa*-*-hpux* } } } }
! { dg-final { scan-tree-dump-times "test \\\(&parm\\." 1 "original" } }
! { dg-final { cleanup-tree-dump "original" } }
TIA
Dominique