Skip to content

Commit ae0f8b6

Browse files
edelsohnkito-cheng
authored andcommitted
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.
1 parent 0a1d6a4 commit ae0f8b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gcc/testsuite/gfortran.dg/pr95690.f90

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
module m
33
contains
44
subroutine s
5-
print *, (erfc) ! { dg-error "not a floating constant" }
6-
end
5+
print *, (erfc) ! { dg-error "not a floating constant" "" { target i?86-*-* x86_64-*-* } }
6+
end ! { dg-error "not a floating constant" "" { target { ! "i?86-*-* x86_64-*-*" } } }
77
function erfc()
88
end
99
end

0 commit comments

Comments
 (0)