Hello community,
here is the log from the commit of package gcc43 for openSUSE:Factory
checked in at Wed Jan 14 17:39:30 CET 2009.
--------
--- gcc43/cross-avr-gcc43.changes 2009-01-08 15:53:43.000000000 +0100
+++ /mounts/work_src_done/STABLE/gcc43/cross-avr-gcc43.changes 2009-01-13 15:26:35.000000000 +0100
@@ -1,0 +2,14 @@
+Tue Jan 13 15:25:51 CET 2009 - rguenther@suse.de
+
+- Obsolete libgcc-64bit from ppc64 libgcc43 package and libstdc++-64bit
+ from ppc64 libstdc++43 package.
+
+-------------------------------------------------------------------
+Mon Jan 12 10:48:55 CET 2009 - rguenther@suse.de
+
+- Correct decimal floating-point macros in to match
+ the final version of ISO C TR24732. [bnc#464739]
+- Add patch for PR38000, C++ headers malefunction with the use
+ of -isystem. [bnc#465348]
+
+-------------------------------------------------------------------
cross-hppa-gcc-icecream-backend.changes: same change
cross-i386-gcc-icecream-backend.changes: same change
cross-ia64-gcc-icecream-backend.changes: same change
cross-ppc64-gcc-icecream-backend.changes: same change
cross-ppc-gcc-icecream-backend.changes: same change
cross-s390-gcc-icecream-backend.changes: same change
cross-s390x-gcc-icecream-backend.changes: same change
cross-spu-gcc.changes: same change
cross-spu-gcc-static.changes: same change
cross-x86_64-gcc-icecream-backend.changes: same change
gcc43.changes: same change
libgcj43.changes: same change
calling whatdependson for head-i586
New:
----
nvl464739.patch
pr38000.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ cross-avr-gcc43.spec ++++++
--- /var/tmp/diff_new_pack.G25957/_old 2009-01-14 17:36:35.000000000 +0100
+++ /var/tmp/diff_new_pack.G25957/_new 2009-01-14 17:36:35.000000000 +0100
@@ -66,7 +66,7 @@
Url: http://gcc.gnu.org/
License: BSD 3-Clause; GPL v2 or later; LGPL v2.1 or later; X11/MIT
Version: 4.3.3_20081022
-Release: 11
+Release: 13
%define gcc_version %(echo %version | sed 's/_.*//')
%define gcc_dir_version %(echo %gcc_version | cut -d '.' -f 1-2)
%define snapshot_date %(echo %version | sed 's/[34]\.[0-4]\.[0-6]//' | sed 's/_/-/')
@@ -114,6 +114,7 @@
Patch49: pr38051.diff
Patch201: pr38752.diff
Patch202: nvl440482.patch
+Patch203: pr38000.diff
# A set of patches from the RH srpm
Patch50: gcc43-c++-builtin-redecl.patch
Patch51: gcc41-ia64-stack-protector.patch
@@ -177,6 +178,7 @@
Patch124: nvl441016.patch
Patch125: common-sysroot-gcc.diff
Patch126: nvl447669.diff
+Patch127: nvl464739.patch
# Patches for SAP features
Patch130: sap303956-utf16-1.diff
Patch131: sap303956-utf16-2.diff
@@ -266,6 +268,7 @@
%patch49
%patch201
%patch202
+%patch203
%patch50
%patch51
%patch52
@@ -324,6 +327,7 @@
%patch124 -p1
%patch125 -p1
%patch126
+%patch127
%patch130
%patch131
%patch132
@@ -540,6 +544,14 @@
%defattr(-,root,root)
%{_prefix}
%changelog
+* Tue Jan 13 2009 rguenther@suse.de
+- Obsolete libgcc-64bit from ppc64 libgcc43 package and libstdc++-64bit
+ from ppc64 libstdc++43 package.
+* Mon Jan 12 2009 rguenther@suse.de
+- Correct decimal floating-point macros in to match
+ the final version of ISO C TR24732. [bnc#464739]
+- Add patch for PR38000, C++ headers malefunction with the use
+ of -isystem. [bnc#465348]
* Thu Jan 08 2009 rguenther@suse.de
- Fix crash during unwinding on ppc64. [bnc#440482]
* Wed Jan 07 2009 rguenther@suse.de
++++++ cross-hppa-gcc-icecream-backend.spec ++++++
--- /var/tmp/diff_new_pack.G25957/_old 2009-01-14 17:36:35.000000000 +0100
+++ /var/tmp/diff_new_pack.G25957/_new 2009-01-14 17:36:35.000000000 +0100
@@ -43,7 +43,7 @@
Url: http://gcc.gnu.org/
License: BSD 3-Clause; GPL v2 or later; LGPL v2.1 or later; X11/MIT
Version: 4.3.3_20081022
-Release: 11
+Release: 13
%define gcc_version %(echo %version | sed 's/_.*//')
%define gcc_dir_version %(echo %gcc_version | cut -d '.' -f 1-2)
%define snapshot_date %(echo %version | sed 's/[34]\.[0-4]\.[0-6]//' | sed 's/_/-/')
@@ -91,6 +91,7 @@
Patch49: pr38051.diff
Patch201: pr38752.diff
Patch202: nvl440482.patch
+Patch203: pr38000.diff
# A set of patches from the RH srpm
Patch50: gcc43-c++-builtin-redecl.patch
Patch51: gcc41-ia64-stack-protector.patch
@@ -154,6 +155,7 @@
Patch124: nvl441016.patch
Patch125: common-sysroot-gcc.diff
Patch126: nvl447669.diff
+Patch127: nvl464739.patch
# Patches for SAP features
Patch130: sap303956-utf16-1.diff
Patch131: sap303956-utf16-2.diff
@@ -246,6 +248,7 @@
%patch49
%patch201
%patch202
+%patch203
%patch50
%patch51
%patch52
@@ -304,6 +307,7 @@
%patch124 -p1
%patch125 -p1
%patch126
+%patch127
%patch130
%patch131
%patch132
@@ -557,6 +561,14 @@
/usr/share/icecream-envs
%changelog
+* Tue Jan 13 2009 rguenther@suse.de
+- Obsolete libgcc-64bit from ppc64 libgcc43 package and libstdc++-64bit
+ from ppc64 libstdc++43 package.
+* Mon Jan 12 2009 rguenther@suse.de
+- Correct decimal floating-point macros in to match
+ the final version of ISO C TR24732. [bnc#464739]
+- Add patch for PR38000, C++ headers malefunction with the use
+ of -isystem. [bnc#465348]
* Thu Jan 08 2009 rguenther@suse.de
- Fix crash during unwinding on ppc64. [bnc#440482]
* Wed Jan 07 2009 rguenther@suse.de
cross-i386-gcc-icecream-backend.spec: same change
cross-ia64-gcc-icecream-backend.spec: same change
cross-ppc64-gcc-icecream-backend.spec: same change
cross-ppc-gcc-icecream-backend.spec: same change
cross-s390-gcc-icecream-backend.spec: same change
cross-s390x-gcc-icecream-backend.spec: same change
++++++ cross-spu-gcc.spec ++++++
--- /var/tmp/diff_new_pack.G25957/_old 2009-01-14 17:36:35.000000000 +0100
+++ /var/tmp/diff_new_pack.G25957/_new 2009-01-14 17:36:35.000000000 +0100
@@ -57,7 +57,7 @@
Url: http://gcc.gnu.org/
License: GPL v2 or later
Version: 4.3.3_20081022
-Release: 11
+Release: 13
%define gcc_version %(echo %version | sed 's/_.*//')
%define gcc_dir_version %(echo %gcc_version | cut -d '.' -f 1-2)
%define snapshot_date %(echo %version | sed 's/[34]\.[0-4]\.[0-6]//' | sed 's/_/-/')
@@ -105,6 +105,7 @@
Patch49: pr38051.diff
Patch201: pr38752.diff
Patch202: nvl440482.patch
+Patch203: pr38000.diff
# A set of patches from the RH srpm
Patch50: gcc43-c++-builtin-redecl.patch
Patch51: gcc41-ia64-stack-protector.patch
@@ -168,6 +169,7 @@
Patch124: nvl441016.patch
Patch125: common-sysroot-gcc.diff
Patch126: nvl447669.diff
+Patch127: nvl464739.patch
# Patches for SAP features
Patch130: sap303956-utf16-1.diff
Patch131: sap303956-utf16-2.diff
@@ -252,6 +254,7 @@
%patch49
%patch201
%patch202
+%patch203
%patch50
%patch51
%patch52
@@ -310,6 +313,7 @@
%patch124 -p1
%patch125 -p1
%patch126
+%patch127
%patch130
%patch131
%patch132
@@ -526,6 +530,14 @@
%defattr(-,root,root)
%{_prefix}
%changelog
+* Tue Jan 13 2009 rguenther@suse.de
+- Obsolete libgcc-64bit from ppc64 libgcc43 package and libstdc++-64bit
+ from ppc64 libstdc++43 package.
+* Mon Jan 12 2009 rguenther@suse.de
+- Correct decimal floating-point macros in to match
+ the final version of ISO C TR24732. [bnc#464739]
+- Add patch for PR38000, C++ headers malefunction with the use
+ of -isystem. [bnc#465348]
* Thu Jan 08 2009 rguenther@suse.de
- Fix crash during unwinding on ppc64. [bnc#440482]
* Wed Jan 07 2009 rguenther@suse.de
cross-spu-gcc-static.spec: same change
++++++ cross-x86_64-gcc-icecream-backend.spec ++++++
--- /var/tmp/diff_new_pack.G25957/_old 2009-01-14 17:36:35.000000000 +0100
+++ /var/tmp/diff_new_pack.G25957/_new 2009-01-14 17:36:35.000000000 +0100
@@ -43,7 +43,7 @@
Url: http://gcc.gnu.org/
License: BSD 3-Clause; GPL v2 or later; LGPL v2.1 or later; X11/MIT
Version: 4.3.3_20081022
-Release: 11
+Release: 13
%define gcc_version %(echo %version | sed 's/_.*//')
%define gcc_dir_version %(echo %gcc_version | cut -d '.' -f 1-2)
%define snapshot_date %(echo %version | sed 's/[34]\.[0-4]\.[0-6]//' | sed 's/_/-/')
@@ -91,6 +91,7 @@
Patch49: pr38051.diff
Patch201: pr38752.diff
Patch202: nvl440482.patch
+Patch203: pr38000.diff
# A set of patches from the RH srpm
Patch50: gcc43-c++-builtin-redecl.patch
Patch51: gcc41-ia64-stack-protector.patch
@@ -154,6 +155,7 @@
Patch124: nvl441016.patch
Patch125: common-sysroot-gcc.diff
Patch126: nvl447669.diff
+Patch127: nvl464739.patch
# Patches for SAP features
Patch130: sap303956-utf16-1.diff
Patch131: sap303956-utf16-2.diff
@@ -246,6 +248,7 @@
%patch49
%patch201
%patch202
+%patch203
%patch50
%patch51
%patch52
@@ -304,6 +307,7 @@
%patch124 -p1
%patch125 -p1
%patch126
+%patch127
%patch130
%patch131
%patch132
@@ -557,6 +561,14 @@
/usr/share/icecream-envs
%changelog
+* Tue Jan 13 2009 rguenther@suse.de
+- Obsolete libgcc-64bit from ppc64 libgcc43 package and libstdc++-64bit
+ from ppc64 libstdc++43 package.
+* Mon Jan 12 2009 rguenther@suse.de
+- Correct decimal floating-point macros in to match
+ the final version of ISO C TR24732. [bnc#464739]
+- Add patch for PR38000, C++ headers malefunction with the use
+ of -isystem. [bnc#465348]
* Thu Jan 08 2009 rguenther@suse.de
- Fix crash during unwinding on ppc64. [bnc#440482]
* Wed Jan 07 2009 rguenther@suse.de
++++++ gcc43.spec ++++++
--- /var/tmp/diff_new_pack.G25957/_old 2009-01-14 17:36:35.000000000 +0100
+++ /var/tmp/diff_new_pack.G25957/_new 2009-01-14 17:36:35.000000000 +0100
@@ -116,7 +116,7 @@
Url: http://gcc.gnu.org/
License: GPL v3 or later
Version: 4.3.3_20081022
-Release: 11
+Release: 13
%define gcc_version %(echo %version | sed 's/_.*//')
%define gcc_dir_version %(echo %gcc_version | cut -d '.' -f 1-2)
%define snapshot_date %(echo %version | sed 's/[34]\.[0-4]\.[0-6]//' | sed 's/_/-/')
@@ -177,6 +177,7 @@
Patch49: pr38051.diff
Patch201: pr38752.diff
Patch202: nvl440482.patch
+Patch203: pr38000.diff
# A set of patches from the RH srpm
Patch50: gcc43-c++-builtin-redecl.patch
Patch51: gcc41-ia64-stack-protector.patch
@@ -240,6 +241,7 @@
Patch124: nvl441016.patch
Patch125: common-sysroot-gcc.diff
Patch126: nvl447669.diff
+Patch127: nvl464739.patch
# Patches for SAP features
Patch130: sap303956-utf16-1.diff
Patch131: sap303956-utf16-2.diff
@@ -390,6 +392,12 @@
Obsoletes: libgcc33 libgcc41 libgcc42
# make zypp happy
Provides: libgcc33 libgcc41 libgcc42
+# make SLE9 ppc -> SLE11 ppc64 update happy
+%if "" == ""
+%ifarch ppc64
+Obsoletes: libgcc-64bit
+%endif
+%endif
AutoReqProv: on
%description -n libgcc43
@@ -418,6 +426,12 @@
Obsoletes: libgcc33-32bit libgcc41-32bit libgcc42-32bit
# make zypp happy
Provides: libgcc33-32bit libgcc41-32bit libgcc42-32bit
+# make SLE9 ppc -> SLE11 ppc64 update happy
+%if "-32bit" == ""
+%ifarch ppc64
+Obsoletes: libgcc-64bit
+%endif
+%endif
AutoReqProv: on
%description -n libgcc43-32bit
@@ -444,6 +458,12 @@
Obsoletes: libgcc33-64bit libgcc41-64bit libgcc42-64bit
# make zypp happy
Provides: libgcc33-64bit libgcc41-64bit libgcc42-64bit
+# make SLE9 ppc -> SLE11 ppc64 update happy
+%if "-64bit" == ""
+%ifarch ppc64
+Obsoletes: libgcc-64bit
+%endif
+%endif
AutoReqProv: on
%description -n libgcc43-64bit
@@ -553,6 +573,12 @@
Obsoletes: libstdc++41 libstdc++42
# make zypp happy
Provides: libstdc++41 libstdc++42
+# make SLE9 ppc -> SLE11 ppc64 update happy
+%if "" == ""
+%ifarch ppc64
+Obsoletes: libstdc++-64bit
+%endif
+%endif
AutoReqProv: on
%description -n libstdc++43
@@ -581,6 +607,12 @@
Obsoletes: libstdc++41-32bit libstdc++42-32bit
# make zypp happy
Provides: libstdc++41-32bit libstdc++42-32bit
+# make SLE9 ppc -> SLE11 ppc64 update happy
+%if "-32bit" == ""
+%ifarch ppc64
+Obsoletes: libstdc++-64bit
+%endif
+%endif
AutoReqProv: on
%description -n libstdc++43-32bit
@@ -617,6 +649,12 @@
Obsoletes: libstdc++41-64bit libstdc++42-64bit
# make zypp happy
Provides: libstdc++41-64bit libstdc++42-64bit
+# make SLE9 ppc -> SLE11 ppc64 update happy
+%if "-64bit" == ""
+%ifarch ppc64
+Obsoletes: libstdc++-64bit
+%endif
+%endif
AutoReqProv: on
%description -n libstdc++43-64bit
@@ -1429,6 +1467,7 @@
%patch49
%patch201
%patch202
+%patch203
%patch50
%patch51
%patch52
@@ -1487,6 +1526,7 @@
%patch124 -p1
%patch125 -p1
%patch126
+%patch127
%patch130
%patch131
%patch132
@@ -2542,6 +2582,14 @@
%endif
%changelog
+* Tue Jan 13 2009 rguenther@suse.de
+- Obsolete libgcc-64bit from ppc64 libgcc43 package and libstdc++-64bit
+ from ppc64 libstdc++43 package.
+* Mon Jan 12 2009 rguenther@suse.de
+- Correct decimal floating-point macros in to match
+ the final version of ISO C TR24732. [bnc#464739]
+- Add patch for PR38000, C++ headers malefunction with the use
+ of -isystem. [bnc#465348]
* Thu Jan 08 2009 rguenther@suse.de
- Fix crash during unwinding on ppc64. [bnc#440482]
* Wed Jan 07 2009 rguenther@suse.de
++++++ libgcj43.spec ++++++
--- /var/tmp/diff_new_pack.G25957/_old 2009-01-14 17:36:36.000000000 +0100
+++ /var/tmp/diff_new_pack.G25957/_new 2009-01-14 17:36:36.000000000 +0100
@@ -127,7 +127,7 @@
Url: http://gcc.gnu.org/
License: GPL v2 or later; LGPL v2.1 or later
Version: 4.3.3_20081022
-Release: 11
+Release: 13
%define gcc_version %(echo %version | sed 's/_.*//')
%define gcc_dir_version %(echo %gcc_version | cut -d '.' -f 1-2)
%define snapshot_date %(echo %version | sed 's/[34]\.[0-4]\.[0-6]//' | sed 's/_/-/')
@@ -188,6 +188,7 @@
Patch49: pr38051.diff
Patch201: pr38752.diff
Patch202: nvl440482.patch
+Patch203: pr38000.diff
# A set of patches from the RH srpm
Patch50: gcc43-c++-builtin-redecl.patch
Patch51: gcc41-ia64-stack-protector.patch
@@ -251,6 +252,7 @@
Patch124: nvl441016.patch
Patch125: common-sysroot-gcc.diff
Patch126: nvl447669.diff
+Patch127: nvl464739.patch
# Patches for SAP features
Patch130: sap303956-utf16-1.diff
Patch131: sap303956-utf16-2.diff
@@ -663,6 +665,7 @@
%patch49
%patch201
%patch202
+%patch203
%patch50
%patch51
%patch52
@@ -721,6 +724,7 @@
%patch124 -p1
%patch125 -p1
%patch126
+%patch127
%patch130
%patch131
%patch132
@@ -1341,6 +1345,14 @@
%endif
%changelog
+* Tue Jan 13 2009 rguenther@suse.de
+- Obsolete libgcc-64bit from ppc64 libgcc43 package and libstdc++-64bit
+ from ppc64 libstdc++43 package.
+* Mon Jan 12 2009 rguenther@suse.de
+- Correct decimal floating-point macros in to match
+ the final version of ISO C TR24732. [bnc#464739]
+- Add patch for PR38000, C++ headers malefunction with the use
+ of -isystem. [bnc#465348]
* Thu Jan 08 2009 rguenther@suse.de
- Fix crash during unwinding on ppc64. [bnc#440482]
* Wed Jan 07 2009 rguenther@suse.de
++++++ gcc.spec.in ++++++
--- /var/tmp/diff_new_pack.G25957/_old 2009-01-14 17:36:39.000000000 +0100
+++ /var/tmp/diff_new_pack.G25957/_new 2009-01-14 17:36:39.000000000 +0100
@@ -187,6 +187,7 @@
Patch49: pr38051.diff
Patch201: pr38752.diff
Patch202: nvl440482.patch
+Patch203: pr38000.diff
# A set of patches from the RH srpm
Patch50: gcc43-c++-builtin-redecl.patch
Patch51: gcc41-ia64-stack-protector.patch
@@ -250,6 +251,7 @@
Patch124: nvl441016.patch
Patch125: common-sysroot-gcc.diff
Patch126: nvl447669.diff
+Patch127: nvl464739.patch
# Patches for SAP features
Patch130: sap303956-utf16-1.diff
Patch131: sap303956-utf16-2.diff
@@ -354,6 +356,12 @@
Obsoletes: libgcc33@variant@ libgcc41@variant@ libgcc42@variant@
# make zypp happy
Provides: libgcc33@variant@ libgcc41@variant@ libgcc42@variant@
+# make SLE9 ppc -> SLE11 ppc64 update happy
+%if "@variant@" == ""
+%ifarch ppc64
+Obsoletes: libgcc-64bit
+%endif
+%endif
Autoreqprov: on
%description -n libgcc@base_ver@@variant@
@@ -402,6 +410,12 @@
Obsoletes: libstdc++41@variant@ libstdc++42@variant@
# make zypp happy
Provides: libstdc++41@variant@ libstdc++42@variant@
+# make SLE9 ppc -> SLE11 ppc64 update happy
+%if "@variant@" == ""
+%ifarch ppc64
+Obsoletes: libstdc++-64bit
+%endif
+%endif
Autoreqprov: on
%description -n libstdc++@base_ver@@variant@
@@ -924,6 +938,7 @@
%patch49
%patch201
%patch202
+%patch203
%patch50
%patch51
%patch52
@@ -982,6 +997,7 @@
%patch124 -p1
%patch125 -p1
%patch126
+%patch127
%patch130
%patch131
%patch132
++++++ nvl464739.patch ++++++
Backported from FSF mainline:
2009-01-06 Janis Johnson
gcc/
* ginclude/float.h: Rename DECnn_DEN to DECnn_SUBNORMAL_MIN.
* real.c (decimal_single_format): Correct values of emin and emax.
(decimal_double_format): Ditto.
(decimal_quad_format): Ditto.
* c-cppbuiltin.c (builtin_define_decimal_float_constants): Adjust
computation of DECnn_MIN and DECnn_MAX for corrected values of
emin and emax. Define __DECnn_SUBNORMAL_MIN__ instead of
__DECnn_MIN__, and adjust its computation for the corrected value
of emin.
gcc/testsuite/
* gcc.dg/dfp/decfloat-constants.c: Check for DECnn_SUBNORMAL_MIN
instead of DECnn_DEN. Support -DDBG to list lines that fail.
Index: gcc/ginclude/float.h
===================================================================
--- gcc/ginclude/float.h (revision 143163)
+++ gcc/ginclude/float.h (working copy)
@@ -214,13 +214,13 @@
#define DEC64_MIN __DEC64_MIN__
#define DEC128_MIN __DEC128_MIN__
-/* Minimum denormalized positive floating-point number. */
-#undef DEC32_DEN
-#undef DEC64_DEN
-#undef DEC128_DEN
-#define DEC32_DEN __DEC32_DEN__
-#define DEC64_DEN __DEC64_DEN__
-#define DEC128_DEN __DEC128_DEN__
+/* Minimum subnormal positive floating-point number. */
+#undef DEC32_SUBNORMAL_MIN
+#undef DEC64_SUBNORMAL_MIN
+#undef DEC128_SUBNORMAL_MIN
+#define DEC32_SUBNORMAL_MIN __DEC32_SUBNORMAL_MIN__
+#define DEC64_SUBNORMAL_MIN __DEC64_SUBNORMAL_MIN__
+#define DEC128_SUBNORMAL_MIN __DEC128_SUBNORMAL_MIN__
/* The floating-point expression evaluation method.
-1 indeterminate
Index: gcc/real.c
===================================================================
--- gcc/real.c (revision 143163)
+++ gcc/real.c (working copy)
@@ -4324,8 +4324,8 @@
10,
7,
7,
- -95,
- 96,
+ -94,
+ 97,
31,
31,
false,
@@ -4345,8 +4345,8 @@
10,
16,
16,
- -383,
- 384,
+ -382,
+ 385,
63,
63,
false,
@@ -4366,8 +4366,8 @@
10,
34,
34,
- -6143,
- 6144,
+ -6142,
+ 6145,
127,
127,
false,
Index: gcc/c-cppbuiltin.c
===================================================================
--- gcc/c-cppbuiltin.c (revision 143163)
+++ gcc/c-cppbuiltin.c (working copy)
@@ -280,7 +280,7 @@
/* Compute the minimum representable value. */
sprintf (name, "__%s_MIN__", name_prefix);
- sprintf (buf, "1E%d%s", fmt->emin, suffix);
+ sprintf (buf, "1E%d%s", fmt->emin - 1, suffix);
builtin_define_with_value (name, buf, 0);
/* Compute the maximum representable value. */
@@ -293,8 +293,9 @@
*p++ = '.';
}
*p = 0;
- /* fmt->p plus 1, to account for the decimal point. */
- sprintf (&buf[fmt->p + 1], "E%d%s", fmt->emax, suffix);
+ /* fmt->p plus 1, to account for the decimal point and fmt->emax
+ minus 1 because the digits are nines, not 1.0. */
+ sprintf (&buf[fmt->p + 1], "E%d%s", fmt->emax - 1, suffix);
builtin_define_with_value (name, buf, 0);
/* Compute epsilon (the difference between 1 and least value greater
@@ -303,8 +304,8 @@
sprintf (buf, "1E-%d%s", fmt->p - 1, suffix);
builtin_define_with_value (name, buf, 0);
- /* Minimum denormalized postive decimal value. */
- sprintf (name, "__%s_DEN__", name_prefix);
+ /* Minimum subnormal postive decimal value. */
+ sprintf (name, "__%s_SUBNORMAL_MIN__", name_prefix);
p = buf;
for (digits = fmt->p; digits > 1; digits--)
{
@@ -313,7 +314,7 @@
*p++ = '.';
}
*p = 0;
- sprintf (&buf[fmt->p], "1E%d%s", fmt->emin, suffix);
+ sprintf (&buf[fmt->p], "1E%d%s", fmt->emin - 1, suffix);
builtin_define_with_value (name, buf, 0);
}
Index: gcc/testsuite/gcc.dg/dfp/decfloat-constants.c
===================================================================
--- gcc/testsuite/gcc.dg/dfp/decfloat-constants.c (revision 143163)
+++ gcc/testsuite/gcc.dg/dfp/decfloat-constants.c (working copy)
@@ -14,36 +14,50 @@
#include
extern void abort (void);
+static int failcnt;
+/* Support compiling the test to report individual failures; default is
+ to abort as soon as a check fails. */
+#ifdef DBG
+#include
+#define FAILURE { printf ("failed at line %d\n", __LINE__); failcnt++; }
+#else
+#define FAILURE abort ();
+#endif
+
int main ()
{
- if (DEC32_MANT_DIG != 7) abort();
- if (DEC64_MANT_DIG != 16) abort();
- if (DEC128_MANT_DIG != 34) abort();
+ if (DEC32_MANT_DIG != 7) FAILURE
+ if (DEC64_MANT_DIG != 16) FAILURE
+ if (DEC128_MANT_DIG != 34) FAILURE
- if (DEC32_MIN_EXP != -95) abort();
- if (DEC64_MIN_EXP != -383) abort();
- if (DEC128_MIN_EXP != -6143) abort();
+ if (DEC32_MIN_EXP != -94) FAILURE
+ if (DEC64_MIN_EXP != -382) FAILURE
+ if (DEC128_MIN_EXP != -6142) FAILURE
- if (DEC32_MAX_EXP != 96) abort();
- if (DEC64_MAX_EXP != 384) abort();
- if (DEC128_MAX_EXP != 6144) abort();
+ if (DEC32_MAX_EXP != 97) FAILURE
+ if (DEC64_MAX_EXP != 385) FAILURE
+ if (DEC128_MAX_EXP != 6145) FAILURE
- if (DEC32_MAX != 9.999999E96DF) abort();
- if (DEC64_MAX != 9.999999999999999E384DD) abort();
- if (DEC128_MAX != 9.999999999999999999999999999999999E6144DL) abort();
+ if (DEC32_MAX != 9.999999E96DF) FAILURE
+ if (DEC64_MAX != 9.999999999999999E384DD) FAILURE
+ if (DEC128_MAX != 9.999999999999999999999999999999999E6144DL) FAILURE
- if (DEC32_EPSILON != 1E-6DF) abort();
- if (DEC64_EPSILON != 1E-15DD) abort();
- if (DEC128_EPSILON != 1E-33DL) abort();
+ if (DEC32_EPSILON != 1E-6DF) FAILURE
+ if (DEC64_EPSILON != 1E-15DD) FAILURE
+ if (DEC128_EPSILON != 1E-33DL) FAILURE
- if (DEC32_MIN != 1E-95DF) abort();
- if (DEC64_MIN != 1E-383DD) abort();
- if (DEC128_MIN != 1E-6143DL) abort();
+ if (DEC32_MIN != 1E-95DF) FAILURE
+ if (DEC64_MIN != 1E-383DD) FAILURE
+ if (DEC128_MIN != 1E-6143DL) FAILURE
- if (DEC32_DEN != 0.000001E-95DF) abort();
- if (DEC64_DEN != 0.000000000000001E-383DD) abort();
- if (DEC128_DEN != 0.000000000000000000000000000000001E-6143DL) abort();
+ if (DEC32_SUBNORMAL_MIN != 0.000001E-95DF) FAILURE
+ if (DEC64_SUBNORMAL_MIN != 0.000000000000001E-383DD) FAILURE
+ if (DEC128_SUBNORMAL_MIN != 0.000000000000000000000000000000001E-6143DL)
+ FAILURE
+ if (failcnt != 0)
+ abort ();
+
return 0;
}
++++++ pr38000.diff ++++++
++++ 962 lines (skipped)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org