Commit ae0f8b64 by David Edelsohn Committed by Kito Cheng

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  <dje.gcc@gmail.com>

	* gfortran.dg/pr95690.f90: Adjust dg-error line number.
parent 0a1d6a4c
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment