re PR middle-end/86416 ([OpenMP] Offloading - better lto1 error message if mode not...
authorJakub Jelinek <jakub@redhat.com>
Wed, 18 Dec 2019 23:27:28 +0000 (00:27 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 18 Dec 2019 23:27:28 +0000 (00:27 +0100)
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
libgomp/testsuite/libgomp.c/pr86416-1.c
libgomp/testsuite/libgomp.c/pr86416-2.c

index e1f6bb4..cde315c 100644 (file)
@@ -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>
index 4ab523d..ad9370f 100644 (file)
@@ -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;
 }
index f104da7..ec45e40 100644 (file)
@@ -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;
 }