aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanis Johnson <janis187@us.ibm.com>2006-09-21 17:34:47 +0000
committerJanis Johnson <janis@gcc.gnu.org>2006-09-21 17:34:47 +0000
commit6750b31e4ab6e354e50d48f386a75c8b54928db1 (patch)
treee36860fd49641efb68740bf79adc8d6af1a69c65
parent72478f32e0a2f4d7aa23ba4983f8cb24f766d7b4 (diff)
downloadgcc-6750b31e4ab6e354e50d48f386a75c8b54928db1.zip
gcc-6750b31e4ab6e354e50d48f386a75c8b54928db1.tar.gz
gcc-6750b31e4ab6e354e50d48f386a75c8b54928db1.tar.bz2
decfloat.h (DEC*_DEN): Define using the correct builtins.
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
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/ginclude/decfloat.h6
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/dfp/decfloat-constants.c3
4 files changed, 12 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index bf755d6..b02dbcd 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/ginclude/decfloat.h b/gcc/ginclude/decfloat.h
index fbf1346..03e0a7b 100644
--- a/gcc/ginclude/decfloat.h
+++ b/gcc/ginclude/decfloat.h
@@ -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
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index c17c5eb..788df37 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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
diff --git a/gcc/testsuite/gcc.dg/dfp/decfloat-constants.c b/gcc/testsuite/gcc.dg/dfp/decfloat-constants.c
index af17cb9..62461e6 100644
--- a/gcc/testsuite/gcc.dg/dfp/decfloat-constants.c
+++ b/gcc/testsuite/gcc.dg/dfp/decfloat-constants.c
@@ -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();