[Patch] Minor fixes for regtesting gfortran with -flto

Dominique Dhumieres dominiq@lps.ens.fr
Sun May 25 17:28:00 GMT 2014


> > 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.

> Pick any random from gcc-testresults.

Not true: I don't see the failure in the results of the Intel bots I have 
looked at and the new regexp succeeds on powerpc-apple-darwin9*.
So could you list the platforms on which the new test fails.

> Which pattern?

Could you post the results (w/wo -flto) of

grep "_myBindC" bind_c_array_params_2.s

TIA

Dominique



More information about the Gcc-patches mailing list