Hello!

> With the following patch, gfortran can be regtested with -flto
> with no failure, but pr54852 and pr60061.

-! { dg-final { scan-assembler-times "myBindC" 1 { target { ! {
hppa*-*-hpux* } } } } }
-! { dg-final { scan-assembler-times "myBindC,%r2" 1 { target {
hppa*-*-hpux* } } } }
+! { 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* } } } }

The change above fails on alpha, which doesn't emit "call" in the assembly, but:

$ grep myBindC bind_c_array_params_2.s
        jsr $26,myBindC

Probably, alpha is not the only one that fails this assumption.

Uros.

Reply via email to