decfloat.h (DEC*_DEN): Define using the correct builtins.
authorJanis Johnson <janis187@us.ibm.com>
Thu, 21 Sep 2006 17:34:47 +0000 (17:34 +0000)
committerJanis Johnson <janis@gcc.gnu.org>
Thu, 21 Sep 2006 17:34:47 +0000 (17:34 +0000)
gcc:
* ginclude/decfloat.h (DEC*_DEN): Define using the correct builtins.

testsuite:
* gcc.dg/dfp/decfloat-constants.c: Remove 'dg-do compile', fix typo.

From-SVN: r117115

gcc/ChangeLog
gcc/ginclude/decfloat.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/dfp/decfloat-constants.c

index bf755d66e30ff1b14e7dde7545314e1fa5370def..b02dbcd68580ca3d8cd3b89acf056e67c0e25782 100644 (file)
@@ -1,3 +1,7 @@
+2006-09-21  Janis Johnson  <janis187@us.ibm.com>
+
+       * ginclude/decfloat.h (DEC*_DEN): Define using the correct builtins.
+
 2006-09-21  Roger Sayle  <roger@eyesopen.com>
 
        PR debug/29132
index fbf134633162629934eb6e051d27f6031fe01fcb..03e0a7bf2e8becbf8e2dcd1e3518fb0a1aff5aa7 100644 (file)
@@ -86,9 +86,9 @@ Boston, MA 02110-1301, USA.  */
 #undef DEC32_DEN
 #undef DEC64_DEN
 #undef DEC128_DEN
-#define DEC32_DEN       __DEC32_MIN__
-#define DEC64_DEN       __DEC64_MIN__
-#define DEC128_DEN      __DEC128_MIN__
+#define DEC32_DEN       __DEC32_DEN__
+#define DEC64_DEN       __DEC64_DEN__
+#define DEC128_DEN      __DEC128_DEN__
 
 /* The floating-point expression evaluation method.
          -1  indeterminate
index c17c5eb5b4d4f7c6d08c5ff31970816104c1c208..788df3779a799bcfc22873d4e8caf601858f1650 100644 (file)
@@ -1,3 +1,7 @@
+2006-09-21  Janis Johnson  <janis187@us.ibm.com>
+
+       * gcc.dg/dfp/decfloat-constants.c: Remove 'dg-do compile', fix typo.
+
 2006-09-20  Danny Smith  <dannysmith@users.sourceforge.net>
 
        PR target/27650
index af17cb9beaea751a828b9b6058a15dab9218eea8..62461e6cfafbf7c4a9aea8751cd38e88180243c6 100644 (file)
@@ -1,4 +1,3 @@
-/* { dg-do compile } */
 /* { dg-options "-std=gnu99" } */
 
 /* N1150 4: Characteristics of decimal floating types <decfloat.h>.
@@ -35,7 +34,7 @@ int main ()
   if (DEC128_EPSILON != 1E-33DL) abort();
   
   if (DEC32_MIN != 1E-95DF) abort();
-  if (DEC32_MIN != 1E-383DD) abort();
+  if (DEC64_MIN != 1E-383DD) abort();
   if (DEC128_MIN != 1E-6143DL) abort();
 
   if (DEC32_DEN != 0.000001E-95DF) abort();