aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2020-07-01 14:05:26 -0400
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-08-17 13:15:45 -0300
commit6a0396eb68b221a4754e6be039a2cc2f27481b3b (patch)
tree511998fc6c370ff26c7a98b63f10c3693a55a242 /gcc
parent6c1b9e2481a944a153186302034aa1e066ed2ef3 (diff)
downloadgcc-6a0396eb68b221a4754e6be039a2cc2f27481b3b.zip
gcc-6a0396eb68b221a4754e6be039a2cc2f27481b3b.tar.gz
gcc-6a0396eb68b221a4754e6be039a2cc2f27481b3b.tar.bz2
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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gfortran.dg/pr95690.f904
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gfortran.dg/pr95690.f90 b/gcc/testsuite/gfortran.dg/pr95690.f90
index 2da0891..f17f3c6 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