aboutsummaryrefslogtreecommitdiff
path: root/libgomp
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2019-12-19 00:27:28 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2019-12-19 00:27:28 +0100
commit601399c0dfc02bf97132816a5b16e14e768c9e5a (patch)
treeeaa5208f0ad406f79cfd01ab06c23214e370a976 /libgomp
parenta6163563f2ce502bd4ef444bd5de33570bb8eeb1 (diff)
downloadgcc-601399c0dfc02bf97132816a5b16e14e768c9e5a.zip
gcc-601399c0dfc02bf97132816a5b16e14e768c9e5a.tar.gz
gcc-601399c0dfc02bf97132816a5b16e14e768c9e5a.tar.bz2
re PR middle-end/86416 ([OpenMP] Offloading - better lto1 error message if mode not supported on offloading target)
PR middle-end/86416 * testsuite/libgomp.c/pr86416-1.c (main): Use L suffixes rather than q or none. * testsuite/libgomp.c/pr86416-2.c (main): Use Q suffixes rather than L or none. From-SVN: r279552
Diffstat (limited to 'libgomp')
-rw-r--r--libgomp/ChangeLog8
-rw-r--r--libgomp/testsuite/libgomp.c/pr86416-1.c4
-rw-r--r--libgomp/testsuite/libgomp.c/pr86416-2.c4
3 files changed, 12 insertions, 4 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index e1f6bb4..cde315c 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,11 @@
+2019-12-18 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/86416
+ * testsuite/libgomp.c/pr86416-1.c (main): Use L suffixes rather than
+ q or none.
+ * testsuite/libgomp.c/pr86416-2.c (main): Use Q suffixes rather than
+ L or none.
+
2019-12-19 Julian Brown <julian@codesourcery.com>
Maciej W. Rozycki <macro@codesourcery.com>
Tobias Burnus <tobias@codesourcery.com>
diff --git a/libgomp/testsuite/libgomp.c/pr86416-1.c b/libgomp/testsuite/libgomp.c/pr86416-1.c
index 4ab523d..ad9370f 100644
--- a/libgomp/testsuite/libgomp.c/pr86416-1.c
+++ b/libgomp/testsuite/libgomp.c/pr86416-1.c
@@ -16,7 +16,7 @@ long double foo (long double x)
int main()
{
- long double v = foo (10.0q) - 20.0q;
- if (v > 1.0e-5 || v < -1.0e-5) abort();
+ long double v = foo (10.0L) - 20.0L;
+ if (v > 1.0e-5L || v < -1.0e-5L) abort();
return 0;
}
diff --git a/libgomp/testsuite/libgomp.c/pr86416-2.c b/libgomp/testsuite/libgomp.c/pr86416-2.c
index f104da7..ec45e40 100644
--- a/libgomp/testsuite/libgomp.c/pr86416-2.c
+++ b/libgomp/testsuite/libgomp.c/pr86416-2.c
@@ -16,7 +16,7 @@ __float128 foo(__float128 y)
int main()
{
- __float128 v = foo (5.0L) - 20.0L;
- if (v > 1.0e-5 || v < -1.0e-5) abort();
+ __float128 v = foo (5.0Q) - 20.0Q;
+ if (v > 1.0e-5Q || v < -1.0e-5Q) abort();
return 0;
}