From: Hans-Peter Nilsson Date: Thu, 25 Feb 2021 16:20:16 +0000 (+0100) Subject: pr95690.f90: move error line for CRIS. X-Git-Tag: upstream/12.2.0~9558 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=232f7461167d58f77f52f881f36145faf27b25d6;p=platform%2Fupstream%2Fgcc.git 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. --- diff --git a/gcc/testsuite/gfortran.dg/pr95690.f90 b/gcc/testsuite/gfortran.dg/pr95690.f90 index da809a0..7d8c68d 100644 --- a/gcc/testsuite/gfortran.dg/pr95690.f90 +++ b/gcc/testsuite/gfortran.dg/pr95690.f90 @@ -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