aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2020-07-01 14:05:26 -0400
committerDavid Edelsohn <dje.gcc@gmail.com>2020-07-01 14:08:34 -0400
commitb260e9123e3c80e0f4e18e6a6ac988d63042e741 (patch)
tree62215900ee2b443e124b87112ce83a81255d7581 /gcc
parentcfdc729d3c64535ae95e068ff33daa27544e95b5 (diff)
downloadgcc-b260e9123e3c80e0f4e18e6a6ac988d63042e741.zip
gcc-b260e9123e3c80e0f4e18e6a6ac988d63042e741.tar.gz
gcc-b260e9123e3c80e0f4e18e6a6ac988d63042e741.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