pr95690.f90: move error line for CRIS.
I don't know what it is that ix86, x86_64, Solaris and apparently CRIS has in common here. According to https://gcc.gnu.org/pipermail/gcc-testresults/2021-February/652763.html m68k-unknown-linux-gnu is also in that bunch, but since there's a *-*-solaris* in the target specifier and also m68k vs. m68k*, I'm leaving the adjustment to a maintainer. gcc/testsuite: * gfortran.dg/pr95690.f90: CRIS error appears on line 5.
This commit is contained in:
parent
28af4b9a7c
commit
232f746116
@ -2,8 +2,8 @@
|
||||
module m
|
||||
contains
|
||||
subroutine s
|
||||
print *, (erfc) ! { dg-error "not a floating constant" "" { target i?86-*-* x86_64-*-* *-*-solaris* } }
|
||||
end ! { dg-error "not a floating constant" "" { target { ! "i?86-*-* x86_64-*-* *-*-solaris*" } } }
|
||||
print *, (erfc) ! { dg-error "not a floating constant" "" { target i?86-*-* x86_64-*-* *-*-solaris* cris-*-* } }
|
||||
end ! { dg-error "not a floating constant" "" { target { ! "i?86-*-* x86_64-*-* *-*-solaris* cris-*-*" } } }
|
||||
function erfc()
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user