From 601399c0dfc02bf97132816a5b16e14e768c9e5a Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 19 Dec 2019 00:27:28 +0100 Subject: [PATCH] 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 --- libgomp/ChangeLog | 8 ++++++++ libgomp/testsuite/libgomp.c/pr86416-1.c | 4 ++-- libgomp/testsuite/libgomp.c/pr86416-2.c | 4 ++-- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index e1f6bb4c622..cde315cf966 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,11 @@ +2019-12-18 Jakub Jelinek + + 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 Maciej W. Rozycki Tobias Burnus diff --git a/libgomp/testsuite/libgomp.c/pr86416-1.c b/libgomp/testsuite/libgomp.c/pr86416-1.c index 4ab523d2310..ad9370f78f3 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 f104da78029..ec45e400f95 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; } -- 2.30.2