summaryrefslogtreecommitdiff
path: root/libquadmath
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2013-04-11 09:13:11 +0000
committer <>2014-04-23 12:05:38 +0000
commit6af3fdec2262dd94954acc5e426ef71cbd4521d3 (patch)
tree9be02de9a80f7935892a2d03741adee44723e65d /libquadmath
parent19be2b4342ac32e9edc78ce6fed8f61b63ae98d1 (diff)
downloadgcc-tarball-6af3fdec2262dd94954acc5e426ef71cbd4521d3.tar.gz
Imported from /home/lorry/working-area/delta_gcc-tarball/gcc-4.7.3.tar.bz2.gcc-4.7.3
Diffstat (limited to 'libquadmath')
-rw-r--r--libquadmath/ChangeLog70
-rwxr-xr-xlibquadmath/configure8
-rw-r--r--libquadmath/configure.ac2
-rw-r--r--libquadmath/libquadmath.info36
-rw-r--r--libquadmath/libquadmath.texi15
-rw-r--r--libquadmath/printf/gmp-impl.h4
-rw-r--r--libquadmath/quadmath-imp.h9
7 files changed, 93 insertions, 51 deletions
diff --git a/libquadmath/ChangeLog b/libquadmath/ChangeLog
index f64ee1355f..855bdacdc8 100644
--- a/libquadmath/ChangeLog
+++ b/libquadmath/ChangeLog
@@ -1,6 +1,46 @@
-2011-10-26 Release Manager
+2013-04-11 Release Manager
- * GCC 4.6.2 released.
+ * GCC 4.7.3 released.
+
+2013-02-01 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from mainline
+ 2013-01-22 Jakub Jelinek <jakub@redhat.com>
+
+ PR libquadmath/56072
+ * libquadmath.texi (M_PI_2q, M_PI_4q): Fix up description.
+
+2012-09-20 Release Manager
+
+ * GCC 4.7.2 released.
+
+2012-06-14 Release Manager
+
+ * GCC 4.7.1 released.
+
+2012-05-31 Benjamin Kosnik <bkoz@redhat.com>
+
+ PR libstdc++/52007
+ * configure.ac: Allow gnu, gnu* variants for --enable-symvers argument.
+ * configure: Regenerated.
+
+2012-03-22 Release Manager
+
+ * GCC 4.7.0 released.
+
+2011-11-21 Andreas Tobler <andreast@fgznet.ch>
+
+ * configure: Regenerate.
+
+2011-11-07 Kai Tietz <ktietz@redhat.com>
+
+ PR target/51007
+ * quadmath-imp.h (ieee854_float128): Adjust
+ for ms-bitfield layout.
+
+2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * printf/gmp-impl.h: Adapt path to longlong.h.
2011-09-21 Joseph Myers <joseph@codesourcery.com>
@@ -12,30 +52,22 @@
* math/rem_pio2q.c (__quadmath_kernel_rem_pio2): Fix up fq to y
conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
-2011-06-27 Release Manager
-
- * GCC 4.6.1 released.
-
-2011-03-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
-
- Backport from mainline:
- 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+2011-04-03 Tobias Burnus <burnus@net-b.de>
- PR bootstrap/48135
- * configure.ac (quadmath_use_symver): Handle --disable-symvers.
- * configure: Regenerate.
-
-2011-03-26 Jakub Jelinek <jakub@redhat.com>
+ PR fortran/48311
+ * libquadmath.texi (strtoflt128): Fix typo.
+ (quadmath_snprintf): Move note up, make @item.
- Backport from mainline
- 2011-03-25 Jakub Jelinek <jakub@redhat.com>
+2011-03-25 Jakub Jelinek <jakub@redhat.com>
* printf/printf_fp.c (__quadmath_printf_fp): Use memcpy instead of
mempcpy.
-2011-03-25 Release Manager
+2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
- * GCC 4.6.0 released.
+ PR bootstrap/48135
+ * configure.ac (quadmath_use_symver): Handle --disable-symvers.
+ * configure: Regenerate.
2011-02-28 Jakub Jelinek <jakub@redhat.com>
diff --git a/libquadmath/configure b/libquadmath/configure
index 7f78ea1586..82065c7e91 100755
--- a/libquadmath/configure
+++ b/libquadmath/configure
@@ -8727,7 +8727,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
;;
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
- freebsd2*)
+ freebsd2.*)
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
hardcode_direct=yes
hardcode_minus_L=yes
@@ -9643,7 +9643,7 @@ freebsd* | dragonfly*)
objformat=`/usr/bin/objformat`
else
case $host_os in
- freebsd[123]*) objformat=aout ;;
+ freebsd[23].*) objformat=aout ;;
*) objformat=elf ;;
esac
fi
@@ -9661,7 +9661,7 @@ freebsd* | dragonfly*)
esac
shlibpath_var=LD_LIBRARY_PATH
case $host_os in
- freebsd2*)
+ freebsd2.*)
shlibpath_overrides_runpath=yes
;;
freebsd3.[01]* | freebsdelf3.[01]*)
@@ -12348,7 +12348,7 @@ else
quadmath_use_symver=yes
fi
-if test "x$quadmath_use_symver" = xyes; then
+if test "x$quadmath_use_symver" != xno; then
if test x$gcc_no_link = xyes; then
# If we cannot link, we cannot build shared libraries, so do not use
# symbol versioning.
diff --git a/libquadmath/configure.ac b/libquadmath/configure.ac
index 512b9f8139..d3bfb040cd 100644
--- a/libquadmath/configure.ac
+++ b/libquadmath/configure.ac
@@ -169,7 +169,7 @@ AS_HELP_STRING([--disable-symvers],
[disable symbol versioning for libquadmath]),
quadmath_use_symver=$enableval,
quadmath_use_symver=yes)
-if test "x$quadmath_use_symver" = xyes; then
+if test "x$quadmath_use_symver" != xno; then
if test x$gcc_no_link = xyes; then
# If we cannot link, we cannot build shared libraries, so do not use
# symbol versioning.
diff --git a/libquadmath/libquadmath.info b/libquadmath/libquadmath.info
index bf0af55b90..fe7bdf4e53 100644
--- a/libquadmath/libquadmath.info
+++ b/libquadmath/libquadmath.info
@@ -1,5 +1,5 @@
-This is libquadmath.info, produced by makeinfo version 4.13 from
-/d/gcc-4.6.2/gcc-4.6.2/libquadmath/libquadmath.texi.
+This is libquadmath.info, produced by makeinfo version 4.12 from
+/space/rguenther/gcc-4.7.3/gcc-4.7.3/libquadmath/libquadmath.texi.
Copyright (C) 2010 Free Software Foundation, Inc.
@@ -106,9 +106,9 @@ defined.
`M_PIq': pi
-`M_PI_2q': two pi
+`M_PI_2q': pi divided by two
-`M_PI_4q': four pi
+`M_PI_4q': pi divided by four
`M_1_PIq': one over pi
@@ -324,8 +324,7 @@ File: libquadmath.info, Node: strtoflt128, Next: quadmath_snprintf, Up: I/O L
3.1 `strtoflt128' -- Convert from string
========================================
-The function `dmath_strtopQ' converts a string into a `__float128'
-number.
+The function `strtoflt128' converts a string into a `__float128' number.
Syntax
`__float128 strtoflt128 (const char *s, char **sp)'
@@ -372,6 +371,11 @@ _Arguments_:
SIZE byte size of the string, including tailing NUL
FORMAT conversion specifier string
+Note
+ On some targets when supported by the C library hooks are installed
+ for `printf' family of functions, so that `printf ("%Qe", 1.2Q);'
+ etc. works too.
+
Example
#include <quadmath.h>
#include <stdlib.h>
@@ -410,10 +414,6 @@ Example
}
- On some targets when supported by the C library hooks are installed
-for `printf' family of functions, so that `printf ("%Qe", 1.2Q);' etc.
-works too.
-

File: libquadmath.info, Node: GNU Free Documentation License, Next: Reporting Bugs, Prev: I/O Library Routines, Up: Top
@@ -912,13 +912,13 @@ reported via `http://gcc.gnu.org/bugs.html'.

Tag Table:
-Node: Top1660
-Node: Typedef and constants2394
-Node: Math Library Routines3812
-Node: I/O Library Routines7617
-Node: strtoflt1287942
-Node: quadmath_snprintf8702
-Node: GNU Free Documentation License10893
-Node: Reporting Bugs36059
+Node: Top1674
+Node: Typedef and constants2408
+Node: Math Library Routines3848
+Node: I/O Library Routines7653
+Node: strtoflt1287978
+Node: quadmath_snprintf8736
+Node: GNU Free Documentation License10944
+Node: Reporting Bugs36110

End Tag Table
diff --git a/libquadmath/libquadmath.texi b/libquadmath/libquadmath.texi
index f2557c8e61..c499d18748 100644
--- a/libquadmath/libquadmath.texi
+++ b/libquadmath/libquadmath.texi
@@ -123,8 +123,8 @@ The following mathematical constants of type @code{__float128} are defined.
@item @code{M_LN2q}: natural logarithm of 2
@item @code{M_LN10q}: natural logarithm of 10
@item @code{M_PIq}: pi
-@item @code{M_PI_2q}: two pi
-@item @code{M_PI_4q}: four pi
+@item @code{M_PI_2q}: pi divided by two
+@item @code{M_PI_4q}: pi divided by four
@item @code{M_1_PIq}: one over pi
@item @code{M_2_PIq}: one over two pi
@item @code{M_2_SQRTPIq}: two over square root of pi
@@ -256,7 +256,7 @@ The following mathematical functions are available:
@node strtoflt128
@section @code{strtoflt128} --- Convert from string
-The function @code{dmath_strtopQ} converts a string into a
+The function @code{strtoflt128} converts a string into a
@code{__float128} number.
@table @asis
@@ -310,6 +310,11 @@ the format.
@item @var{format} @tab conversion specifier string
@end multitable
+@item Note
+On some targets when supported by the C library hooks are installed
+for @code{printf} family of functions, so that @code{printf ("%Qe", 1.2Q);}
+etc.@: works too.
+
@item Example
@smallexample
#include <quadmath.h>
@@ -351,10 +356,6 @@ int main ()
@end table
-On some targets when supported by the C library hooks are installed
-for @code{printf} family of functions, so that @code{printf ("%Qe", 1.2Q);}
-etc.@: works too.
-
@c ---------------------------------------------------------------------
@c GNU Free Documentation License
diff --git a/libquadmath/printf/gmp-impl.h b/libquadmath/printf/gmp-impl.h
index ca49e19661..0f1419277d 100644
--- a/libquadmath/printf/gmp-impl.h
+++ b/libquadmath/printf/gmp-impl.h
@@ -1,6 +1,6 @@
/* Include file for internal GNU MP types and definitions.
-Copyright (C) 1991, 1993, 1994, 1995, 1996 Free Software Foundation, Inc.
+Copyright (C) 1991, 1993, 1994, 1995, 1996, 2011 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -60,7 +60,7 @@ typedef unsigned int UHWtype;
#define attribute_hidden
#endif
-#include "../../gcc/longlong.h"
+#include "../../libgcc/longlong.h"
/* Copy NLIMBS *limbs* from SRC to DST. */
#define MPN_COPY_INCR(DST, SRC, NLIMBS) \
diff --git a/libquadmath/quadmath-imp.h b/libquadmath/quadmath-imp.h
index db34a92f08..bac714d1c8 100644
--- a/libquadmath/quadmath-imp.h
+++ b/libquadmath/quadmath-imp.h
@@ -48,6 +48,11 @@ typedef union
__float128 value;
struct
+#ifdef __MINGW32__
+ /* On mingw targets the ms-bitfields option is active by default.
+ Therefore enforce gnu-bitfield style. */
+ __attribute__ ((gcc_struct))
+#endif
{
#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
unsigned negative:1;
@@ -89,6 +94,10 @@ typedef union
} words32;
struct
+#ifdef __MINGW32__
+ /* Make sure we are using gnu-style bitfield handling. */
+ __attribute__ ((gcc_struct))
+#endif
{
#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
unsigned negative:1;