From: David Edelsohn Date: Wed, 1 Jul 2020 18:05:26 +0000 (-0400) Subject: testsuite: Adjust gfortran.dg/pr95690.f90 line number. X-Git-Tag: basepoints/gcc-12~6490 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b260e9123e3c80e0f4e18e6a6ac988d63042e741;p=thirdparty%2Fgcc.git testsuite: Adjust gfortran.dg/pr95690.f90 line number. gfortran produces associates a different line number for the same error message depending on x86 versus other architectures. This patch adjusts the dg-error line number depending on the target. gcc/testsuite/ChangeLog 2020-07-01 David Edelsohn * gfortran.dg/pr95690.f90: Adjust dg-error line number. --- diff --git a/gcc/testsuite/gfortran.dg/pr95690.f90 b/gcc/testsuite/gfortran.dg/pr95690.f90 index 2da08912a4d5..f17f3c623cc7 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" } - end + print *, (erfc) ! { dg-error "not a floating constant" "" { target i?86-*-* x86_64-*-* } } + end ! { dg-error "not a floating constant" "" { target { ! "i?86-*-* x86_64-*-*" } } } function erfc() end end