diff mbox

Minor fixes for regtesting gfortran with -flto

Message ID 20140525165346.82BFC107@mailhost.lps.ens.fr
State New
Headers show

Commit Message

Dominique d'Humières May 25, 2014, 4:53 p.m. UTC
Could you try


Dominique

Comments

Andreas Schwab May 25, 2014, 5:18 p.m. UTC | #1
dominiq@lps.ens.fr (Dominique Dhumieres) writes:

> Could you try
>
> --- ../_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 18:52:16.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* } } } }

Still fails.

Andreas.
diff mbox

Patch

--- ../_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 18:52:16.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" } }