Module Name:    src
Committed By:   yamt
Date:           Thu May 22 16:36:14 UTC 2014

Modified Files:
        src/external/gpl3/gcc/dist/libdecnumber [yamt-pagecache]: ChangeLog
            Makefile.in aclocal.m4 configure configure.ac dconfig.h decBasic.c
            decCommon.c decContext.c decContext.h decDPD.h decDouble.c
            decDouble.h decExcept.c decExcept.h decLibrary.c decNumber.c
            decNumber.h decNumberLocal.h decPacked.c decPacked.h decQuad.c
            decQuad.h decRound.c decRound.h decSingle.c decSingle.h
        src/external/gpl3/gcc/dist/libdecnumber/bid [yamt-pagecache]: bid-dpd.h
            bid2dpd_dpd2bid.c bid2dpd_dpd2bid.h decimal128.c decimal32.c
            decimal64.c host-ieee128.c host-ieee32.c host-ieee64.c
        src/external/gpl3/gcc/dist/libdecnumber/dpd [yamt-pagecache]:
            decimal128.c decimal128.h decimal128Local.h decimal32.c decimal32.h
            decimal64.c decimal64.h

Log Message:
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.1 -r1.1.1.1.2.2 \
    src/external/gpl3/gcc/dist/libdecnumber/ChangeLog
cvs rdiff -u -r1.1.1.1 -r1.1.1.1.2.1 \
    src/external/gpl3/gcc/dist/libdecnumber/Makefile.in \
    src/external/gpl3/gcc/dist/libdecnumber/aclocal.m4 \
    src/external/gpl3/gcc/dist/libdecnumber/configure \
    src/external/gpl3/gcc/dist/libdecnumber/configure.ac \
    src/external/gpl3/gcc/dist/libdecnumber/dconfig.h \
    src/external/gpl3/gcc/dist/libdecnumber/decBasic.c \
    src/external/gpl3/gcc/dist/libdecnumber/decCommon.c \
    src/external/gpl3/gcc/dist/libdecnumber/decContext.c \
    src/external/gpl3/gcc/dist/libdecnumber/decContext.h \
    src/external/gpl3/gcc/dist/libdecnumber/decDPD.h \
    src/external/gpl3/gcc/dist/libdecnumber/decDouble.c \
    src/external/gpl3/gcc/dist/libdecnumber/decDouble.h \
    src/external/gpl3/gcc/dist/libdecnumber/decExcept.c \
    src/external/gpl3/gcc/dist/libdecnumber/decExcept.h \
    src/external/gpl3/gcc/dist/libdecnumber/decLibrary.c \
    src/external/gpl3/gcc/dist/libdecnumber/decNumber.c \
    src/external/gpl3/gcc/dist/libdecnumber/decNumber.h \
    src/external/gpl3/gcc/dist/libdecnumber/decNumberLocal.h \
    src/external/gpl3/gcc/dist/libdecnumber/decPacked.c \
    src/external/gpl3/gcc/dist/libdecnumber/decPacked.h \
    src/external/gpl3/gcc/dist/libdecnumber/decQuad.c \
    src/external/gpl3/gcc/dist/libdecnumber/decQuad.h \
    src/external/gpl3/gcc/dist/libdecnumber/decRound.c \
    src/external/gpl3/gcc/dist/libdecnumber/decRound.h \
    src/external/gpl3/gcc/dist/libdecnumber/decSingle.c \
    src/external/gpl3/gcc/dist/libdecnumber/decSingle.h
cvs rdiff -u -r1.1.1.1 -r1.1.1.1.2.1 \
    src/external/gpl3/gcc/dist/libdecnumber/bid/bid-dpd.h \
    src/external/gpl3/gcc/dist/libdecnumber/bid/bid2dpd_dpd2bid.c \
    src/external/gpl3/gcc/dist/libdecnumber/bid/bid2dpd_dpd2bid.h \
    src/external/gpl3/gcc/dist/libdecnumber/bid/decimal128.c \
    src/external/gpl3/gcc/dist/libdecnumber/bid/decimal32.c \
    src/external/gpl3/gcc/dist/libdecnumber/bid/decimal64.c \
    src/external/gpl3/gcc/dist/libdecnumber/bid/host-ieee128.c \
    src/external/gpl3/gcc/dist/libdecnumber/bid/host-ieee32.c \
    src/external/gpl3/gcc/dist/libdecnumber/bid/host-ieee64.c
cvs rdiff -u -r1.1.1.1 -r1.1.1.1.2.1 \
    src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal128.c \
    src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal128.h \
    src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal128Local.h \
    src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal32.c \
    src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal32.h \
    src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal64.c \
    src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal64.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/dist/libdecnumber/ChangeLog
diff -u src/external/gpl3/gcc/dist/libdecnumber/ChangeLog:1.1.1.1.2.1 src/external/gpl3/gcc/dist/libdecnumber/ChangeLog:1.1.1.1.2.2
--- src/external/gpl3/gcc/dist/libdecnumber/ChangeLog:1.1.1.1.2.1	Tue Oct 30 18:57:31 2012
+++ src/external/gpl3/gcc/dist/libdecnumber/ChangeLog	Thu May 22 16:36:14 2014
@@ -1,22 +1,89 @@
-2012-07-02  Release Manager
+2013-10-16  Release Manager
 
-	* GCC 4.5.4 released.
+	* GCC 4.8.2 released.
 
-2011-04-28  Release Manager
+2013-05-31  Release Manager
 
-	* GCC 4.5.3 released.
+	* GCC 4.8.1 released.
 
-2010-12-16  Release Manager
+2013-03-22  Release Manager
 
-	* GCC 4.5.2 released.
+	* GCC 4.8.0 released.
 
-2010-07-31  Release Manager
+2013-02-06  Richard Sandiford  <rdsandif...@googlemail.com>
 
-	* GCC 4.5.1 released.
+	Update copyright years.
 
-2010-04-14  Release Manager
+2012-11-04  Thomas Schwinge  <tho...@codesourcery.com>
 
-	* GCC 4.5.0 released.
+	* configure: Regenerate.
+
+2011-12-20  Andreas Schwab  <sch...@linux-m68k.org>
+
+	* configure: Regenerate.
+
+2011-12-19  Andreas Schwab  <sch...@linux-m68k.org>
+
+	* configure: Regenerate.
+
+2011-04-20  Jim Meyering  <meyer...@redhat.com>
+
+	* decNumber.c (decNumberFromString): Remove useless
+	if-before-free test.
+	(decNumberCompareTotalMag, decNumberExp, decNumberFMA): Likewise.
+	(decNumberLn, decNumberLog10, decNumberPower): Likewise.
+	(decNumberReduce, decNumberSquareRoot, decAddOp): Likewise.
+	(decDivideOp, NEEDTWO, decExpOp, LN2): Likewise.
+
+2011-03-28  Mike Frysinger  <vap...@gentoo.org>
+
+	* .gitignore: New file.
+
+2010-11-24  Nathan Froyd  <froy...@codesourcery.com>
+
+	* dconfig.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Delete.
+	(WORDS_BIG_ENDIAN): Define based on value of __FLOAT_WORD_ORDER__.
+
+2010-10-23  Nathan Froyd  <froy...@codesourcery.com>
+
+	* dconfig.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
+	(LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
+
+2010-09-10  Kai Tietz  <kai.ti...@onevision.com>
+
+       * configure: Regenerated.
+
+2010-09-08  Tristan Gingold  <ging...@adacore.com>
+
+	PR 44001
+	* Makefile.in (objext): New variable.
+	(bid_OBJS): Use $(objext) for extension.
+	(libdecnumber_a_OBJS): Ditto.
+	(mostlyclean): Ditto
+	(.c.o): Ditto.
+	Update dependencies.
+
+2010-09-06  H.J. Lu  <hongjiu...@intel.com>
+
+	PR target/45524
+	* configure.ac (enable_decimal_float): Set to
+	$default_decimal_float.
+	* configure: Regenerated.
+
+2010-09-06  Andreas Schwab  <sch...@redhat.com>
+
+	* configure: Regenerate.
+
+2010-09-03  Andreas Krebbel  <andreas.kreb...@de.ibm.com>
+
+	* configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
+	* Makefile.in: Add aclocal.m4 dependency to dfp.m4.
+	* configure: Regenerate.
+	* aclocal.m4: Regenerate.
+
+2010-08-21  Ralf Wildenhues  <ralf.wildenh...@gmx.de>
+
+	* configure: Regenerate.
 
 2010-04-02  Ralf Wildenhues  <ralf.wildenh...@gmx.de>
 

Index: src/external/gpl3/gcc/dist/libdecnumber/Makefile.in
diff -u src/external/gpl3/gcc/dist/libdecnumber/Makefile.in:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/Makefile.in:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/Makefile.in:1.1.1.1	Tue Jun 21 01:19:49 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/Makefile.in	Thu May 22 16:36:14 2014
@@ -1,7 +1,7 @@
 # @configure_input@
 # Makefile for libdecnumber.  Run 'configure' to generate Makefile from Makefile.in
 
-# Copyright (C) 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+# Copyright (C) 2005-2013 Free Software Foundation, Inc.
 
 #This file is part of GCC.
 
@@ -42,6 +42,7 @@ LIBICONV = @LIBICONV@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
 SHELL = @SHELL@
+objext = @OBJEXT@
 
 datarootdir = @datarootdir@
 datadir = @datadir@
@@ -58,10 +59,12 @@ INCLUDES = -I$(srcdir) -I.
 
 ALL_CFLAGS = $(CFLAGS) $(WARN_CFLAGS) $(INCLUDES) $(CPPFLAGS)
 
-bid_OBJS = bid2dpd_dpd2bid.o host-ieee32.o host-ieee64.o host-ieee128.o
+bid_OBJS = bid2dpd_dpd2bid.$(objext) host-ieee32.$(objext) \
+	host-ieee64.$(objext) host-ieee128.$(objext)
 
-libdecnumber_a_OBJS = decNumber.o decContext.o \
-	decimal32.o decimal64.o decimal128.o $(ADDITIONAL_OBJS)
+libdecnumber_a_OBJS = decNumber.$(objext) decContext.$(objext) \
+	decimal32.$(objext) decimal64.$(objext) decimal128.$(objext) \
+	$(ADDITIONAL_OBJS)
 
 libdecnumber_a_SOURCES = decContext.c decContext.h decDPD.h \
 	decNumber.c decNumber.h decNumberLocal.h \
@@ -98,6 +101,7 @@ aclocal_deps = \
 	$(srcdir)/../config/stdint.m4 \
 	$(srcdir)/../config/warnings.m4 \
 	$(srcdir)/../config/override.m4 \
+	$(srcdir)/../config/dfp.m4 \
 	$(srcdir)/configure.ac
 
 $(srcdir)/aclocal.m4: @MAINT@ $(aclocal_deps)
@@ -116,38 +120,38 @@ $(srcdir)/config.in: @MAINT@ $(srcdir)/c
 
 # Dependencies.
 
-decContext.o: decContext.c decContext.h decNumberLocal.h \
+decContext.$(objext): decContext.c decContext.h decNumberLocal.h \
 	decContextSymbols.h
-decNumber.o:  decNumber.c decNumber.h decContext.h decNumberLocal.h \
+decNumber.$(objext):  decNumber.c decNumber.h decContext.h decNumberLocal.h \
 	decNumberSymbols.h
-decimal32.o:  $(srcdir)/$(enable_decimal_float)/decimal32.c \
+decimal32.$(objext):  $(srcdir)/$(enable_decimal_float)/decimal32.c \
    $(srcdir)/$(enable_decimal_float)/decimal32.h \
    $(srcdir)/$(enable_decimal_float)/decimal32Symbols.h \
    decNumber.h decContext.h decNumberLocal.h
 	$(COMPILE) $(srcdir)/$(enable_decimal_float)/decimal32.c
-decimal64.o:  $(srcdir)/$(enable_decimal_float)/decimal64.c \
+decimal64.$(objext):  $(srcdir)/$(enable_decimal_float)/decimal64.c \
    $(srcdir)/$(enable_decimal_float)/decimal64.h \
    $(srcdir)/$(enable_decimal_float)/decimal64Symbols.h \
    decNumber.h decContext.h decNumberLocal.h
 	$(COMPILE) $(srcdir)/$(enable_decimal_float)/decimal64.c
-decimal128.o:  $(srcdir)/$(enable_decimal_float)/decimal128.c \
+decimal128.$(objext):  $(srcdir)/$(enable_decimal_float)/decimal128.c \
    $(srcdir)/$(enable_decimal_float)/decimal128.h \
    $(srcdir)/$(enable_decimal_float)/decimal128Symbols.h\
    $(srcdir)/$(enable_decimal_float)/decimal128Local.h\
    decNumber.h decContext.h decNumberLocal.h 
 	$(COMPILE) $(srcdir)/$(enable_decimal_float)/decimal128.c
-bid2dpd_dpd2bid.o : $(srcdir)/bid/bid2dpd_dpd2bid.c $(srcdir)/bid/bid2dpd_dpd2bid.h
+bid2dpd_dpd2bid.$(objext) : $(srcdir)/bid/bid2dpd_dpd2bid.c $(srcdir)/bid/bid2dpd_dpd2bid.h
 	$(COMPILE) $(srcdir)/bid/bid2dpd_dpd2bid.c
-host-ieee32.o : $(srcdir)/bid/host-ieee32.c $(srcdir)/bid/decimal32.h
+host-ieee32.$(objext) : $(srcdir)/bid/host-ieee32.c $(srcdir)/bid/decimal32.h
 	$(COMPILE) $(srcdir)/bid/host-ieee32.c
-host-ieee64.o : $(srcdir)/bid/host-ieee64.c $(srcdir)/bid/decimal64.h
+host-ieee64.$(objext) : $(srcdir)/bid/host-ieee64.c $(srcdir)/bid/decimal64.h
 	$(COMPILE) $(srcdir)/bid/host-ieee64.c
-host-ieee128.o : $(srcdir)/bid/host-ieee128.c $(srcdir)/bid/decimal128.h
+host-ieee128.$(objext) : $(srcdir)/bid/host-ieee128.c $(srcdir)/bid/decimal128.h
 	$(COMPILE) $(srcdir)/bid/host-ieee128.c
 # Other miscellaneous targets.
 
 mostlyclean:
-	-rm -f *.o
+	-rm -f *.$(objext)
 
 clean: mostlyclean
 	-rm -rf libdecnumber.a $(srcdir)/autom4te.cache
@@ -182,7 +186,7 @@ COMPILE = source='$<' object='$@' libtoo
 
 # Implicit rules
 
-.c.o:
+.c.$(objext):
 	$(COMPILE) $<
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
Index: src/external/gpl3/gcc/dist/libdecnumber/aclocal.m4
diff -u src/external/gpl3/gcc/dist/libdecnumber/aclocal.m4:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/aclocal.m4:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/aclocal.m4:1.1.1.1	Tue Jun 21 01:19:48 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/aclocal.m4	Thu May 22 16:36:14 2014
@@ -11,6 +11,7 @@
 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
 # PARTICULAR PURPOSE.
 
+m4_include([../config/dfp.m4])
 m4_include([../config/override.m4])
 m4_include([../config/stdint.m4])
 m4_include([../config/warnings.m4])
Index: src/external/gpl3/gcc/dist/libdecnumber/configure
diff -u src/external/gpl3/gcc/dist/libdecnumber/configure:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/configure:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/configure:1.1.1.1	Tue Jun 21 01:19:48 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/configure	Thu May 22 16:36:14 2014
@@ -3248,9 +3248,15 @@ test -n "$AUTOHEADER" || AUTOHEADER="$MI
 
 WARN_CFLAGS=
 save_CFLAGS="$CFLAGS"
-for option in -W -Wall -Wwrite-strings -Wstrict-prototypes \
+for real_option in -W -Wall -Wwrite-strings -Wstrict-prototypes \
 			  -Wmissing-prototypes -Wold-style-definition \
 			  -Wmissing-format-attribute -Wcast-qual; do
+  # Do the check with the no- prefix removed since gcc silently
+  # accepts any -Wno-* option on purpose
+  case $real_option in
+    -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
+    *) option=$real_option ;;
+  esac
   as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
@@ -3282,20 +3288,22 @@ eval ac_res=\$$as_acx_Woption
 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 $as_echo "$ac_res" >&6; }
   if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
-  WARN_CFLAGS="$WARN_CFLAGS${WARN_CFLAGS:+ }$option"
+  WARN_CFLAGS="$WARN_CFLAGS${WARN_CFLAGS:+ }$real_option"
 fi
   done
 CFLAGS="$save_CFLAGS"
 
 WARN_PEDANTIC=
+# Do the check with the no- prefix removed from the warning options
+# since gcc silently accepts any -Wno-* option on purpose
 if test "$GCC" = yes; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -pedantic -Wno-long-long" >&5
-$as_echo_n "checking whether $CC supports -pedantic -Wno-long-long... " >&6; }
-if test "${acx_cv_prog_cc_pedantic__Wno_long_long+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -pedantic -Wlong-long" >&5
+$as_echo_n "checking whether $CC supports -pedantic -Wlong-long... " >&6; }
+if test "${acx_cv_prog_cc_pedantic__Wlong_long+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   save_CFLAGS="$CFLAGS"
-CFLAGS="-pedantic -Wno-long-long"
+CFLAGS="-pedantic -Wlong-long"
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
@@ -3308,16 +3316,16 @@ main ()
 }
 _ACEOF
 if ac_fn_c_try_compile "$LINENO"; then :
-  acx_cv_prog_cc_pedantic__Wno_long_long=yes
+  acx_cv_prog_cc_pedantic__Wlong_long=yes
 else
-  acx_cv_prog_cc_pedantic__Wno_long_long=no
+  acx_cv_prog_cc_pedantic__Wlong_long=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 CFLAGS="$save_CFLAGS"
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_prog_cc_pedantic__Wno_long_long" >&5
-$as_echo "$acx_cv_prog_cc_pedantic__Wno_long_long" >&6; }
-if test $acx_cv_prog_cc_pedantic__Wno_long_long = yes; then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_prog_cc_pedantic__Wlong_long" >&5
+$as_echo "$acx_cv_prog_cc_pedantic__Wlong_long" >&6; }
+if test $acx_cv_prog_cc_pedantic__Wlong_long = yes; then :
   WARN_PEDANTIC="$WARN_PEDANTIC${WARN_PEDANTIC:+ }-pedantic -Wno-long-long"
 fi
 
@@ -4101,8 +4109,7 @@ _ACEOF
 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
   case "$ac_cv_sizeof_char" in
     1) acx_cv_type_int8_t=char ;;
-    *) { as_fn_set_status please report a bug
-as_fn_error "no 8-bit type" "$LINENO" 5; }
+    *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
   esac
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
 $as_echo "$acx_cv_type_int8_t" >&6; }
@@ -4112,8 +4119,7 @@ $as_echo_n "checking for type equivalent
   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
     2:*) acx_cv_type_int16_t=int ;;
     *:2) acx_cv_type_int16_t=short ;;
-    *) { as_fn_set_status please report a bug
-as_fn_error "no 16-bit type" "$LINENO" 5; }
+    *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
   esac
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
 $as_echo "$acx_cv_type_int16_t" >&6; }
@@ -4123,8 +4129,7 @@ $as_echo_n "checking for type equivalent
   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
     4:*) acx_cv_type_int32_t=int ;;
     *:4) acx_cv_type_int32_t=long ;;
-    *) { as_fn_set_status please report a bug
-as_fn_error "no 32-bit type" "$LINENO" 5; }
+    *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
   esac
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
 $as_echo "$acx_cv_type_int32_t" >&6; }
@@ -4151,8 +4156,7 @@ $as_echo_n "checking for type equivalent
     2) acx_cv_type_intptr_t=int16_t ;;
     4) acx_cv_type_intptr_t=int32_t ;;
     8) acx_cv_type_intptr_t=int64_t ;;
-    *) { as_fn_set_status please report a bug
-as_fn_error "no equivalent for intptr_t" "$LINENO" 5; }
+    *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
   esac
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
 $as_echo "$acx_cv_type_intptr_t" >&6; }
@@ -4459,7 +4463,7 @@ for ac_dir in "$srcdir" "$srcdir/.." "$s
   for ac_t in install-sh install.sh shtool; do
     if test -f "$ac_dir/$ac_t"; then
       ac_aux_dir=$ac_dir
-      ac_install_sh="$ac_aux_dir/$ac_t -c"
+      ac_install_sh="$SHELL $ac_aux_dir/$ac_t -c"
       break 2
     fi
   done
@@ -4592,11 +4596,13 @@ test -n "$target_alias" &&
 # If you change the defaults here, be sure to change them in the GCC directory also
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for decimal floating point" >&5
 $as_echo_n "checking for decimal floating point... " >&6; }
+
+
 # Check whether --enable-decimal-float was given.
 if test "${enable_decimal_float+set}" = set; then :
   enableval=$enable_decimal_float;
   case $enable_decimal_float in
-    yes | no | bid | dpd) ;;
+    yes | no | bid | dpd) default_decimal_float=$enable_decimal_float ;;
     *) as_fn_error "'$enable_decimal_float' is an invalid value for --enable-decimal-float.
 Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;;
   esac
@@ -4604,10 +4610,15 @@ Valid choices are 'yes', 'bid', 'dpd', a
 else
 
   case $target in
-    powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux*)
+    powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | s390*-*-linux* | \
+    i?86*-*-gnu* | \
+    i?86*-*-mingw* | x86_64*-*-mingw* | \
+    i?86*-*-cygwin*)
       enable_decimal_float=yes
       ;;
     *)
+      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: decimal float is not supported for this target, ignored" >&5
+$as_echo "$as_me: WARNING: decimal float is not supported for this target, ignored" >&2;}
       enable_decimal_float=no
       ;;
   esac
@@ -4616,18 +4627,30 @@ fi
 
 
 # x86's use BID format instead of DPD
-# In theory --enable-decimal-float=no should not compile anything
-# For the sake of simplicity, just use the default format in this directory
-if test x$enable_decimal_float = xyes -o x$enable_decimal_float = xno; then
-  case $target in
-    i?86*-*-linux* | x86_64*-*-linux*)
-      enable_decimal_float=bid
-      ;;
-    *)
-      enable_decimal_float=dpd
-      ;;
-  esac
-fi
+case x$enable_decimal_float in
+  xyes)
+    case $target in
+      i?86*-*-* | x86_64*-*-*)
+	enable_decimal_float=bid
+	;;
+      *)
+	enable_decimal_float=dpd
+	;;
+    esac
+    default_decimal_float=$enable_decimal_float
+    ;;
+  xno)
+    # ENABLE_DECIMAL_FLOAT is set to 0. But we have to have proper
+    # dependency on libdecnumber.
+    default_decimal_float=dpd
+    ;;
+esac
+
+
+
+
+# Use default_decimal_float for dependency.
+enable_decimal_float=$default_decimal_float
 
 # If BID is being used, additional objects should be linked in.
 if test x$enable_decimal_float = xbid; then
Index: src/external/gpl3/gcc/dist/libdecnumber/configure.ac
diff -u src/external/gpl3/gcc/dist/libdecnumber/configure.ac:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/configure.ac:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/configure.ac:1.1.1.1	Tue Jun 21 01:19:48 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/configure.ac	Thu May 22 16:36:14 2014
@@ -1,7 +1,7 @@
 # configure.ac for libdecnumber			-*- Autoconf -*-
 # Process this file with autoconf to generate a configuration script.
 
-# Copyright 2005, 2006, 2009 Free Software Foundation, Inc.
+# Copyright (C) 2005-2013 Free Software Foundation, Inc.
 
 # This file is part of GCC.
 
@@ -75,42 +75,11 @@ AC_CANONICAL_TARGET
 # Default decimal format
 # If you change the defaults here, be sure to change them in the GCC directory also
 AC_MSG_CHECKING([for decimal floating point])
-AC_ARG_ENABLE(decimal-float,
-[  --enable-decimal-float={no,yes,bid,dpd}
-			enable decimal float extension to C.  Selecting 'bid'
-			or 'dpd' choses which decimal floating point format
-			to use],
-[
-  case $enable_decimal_float in
-    yes | no | bid | dpd) ;;
-    *) AC_MSG_ERROR(['$enable_decimal_float' is an invalid value for --enable-decimal-float.
-Valid choices are 'yes', 'bid', 'dpd', and 'no'.]) ;;
-  esac
-],
-[
-  case $target in
-    powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux*)
-      enable_decimal_float=yes
-      ;;
-    *)
-      enable_decimal_float=no
-      ;;
-  esac
-])
-
-# x86's use BID format instead of DPD
-# In theory --enable-decimal-float=no should not compile anything
-# For the sake of simplicity, just use the default format in this directory
-if test x$enable_decimal_float = xyes -o x$enable_decimal_float = xno; then
-  case $target in
-    i?86*-*-linux* | x86_64*-*-linux*)
-      enable_decimal_float=bid
-      ;;
-    *)
-      enable_decimal_float=dpd
-      ;;
-  esac
-fi
+
+GCC_AC_ENABLE_DECIMAL_FLOAT([$target])
+
+# Use default_decimal_float for dependency.
+enable_decimal_float=$default_decimal_float
 
 # If BID is being used, additional objects should be linked in.
 if test x$enable_decimal_float = xbid; then
Index: src/external/gpl3/gcc/dist/libdecnumber/dconfig.h
diff -u src/external/gpl3/gcc/dist/libdecnumber/dconfig.h:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/dconfig.h:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/dconfig.h:1.1.1.1	Tue Jun 21 01:19:49 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/dconfig.h	Thu May 22 16:36:14 2014
@@ -1,5 +1,5 @@
 /* Configure decNumber for either host or target.
-   Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+   Copyright (C) 2008-2013 Free Software Foundation, Inc.
 
    This file is part of GCC.
 
@@ -28,15 +28,7 @@ see the files COPYING3 and COPYING.RUNTI
 #include "coretypes.h"
 #include "tm.h"
 
-#ifndef LIBGCC2_WORDS_BIG_ENDIAN
-#define LIBGCC2_WORDS_BIG_ENDIAN WORDS_BIG_ENDIAN
-#endif
-
-#ifndef LIBGCC2_FLOAT_WORDS_BIG_ENDIAN
-#define LIBGCC2_FLOAT_WORDS_BIG_ENDIAN LIBGCC2_WORDS_BIG_ENDIAN
-#endif
-
-#if LIBGCC2_FLOAT_WORDS_BIG_ENDIAN
+#if __FLOAT_WORD_ORDER__ == __ORDER_BIG_ENDIAN__
 #define WORDS_BIGENDIAN 1
 #endif
 
Index: src/external/gpl3/gcc/dist/libdecnumber/decBasic.c
diff -u src/external/gpl3/gcc/dist/libdecnumber/decBasic.c:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/decBasic.c:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/decBasic.c:1.1.1.1	Tue Jun 21 01:19:49 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/decBasic.c	Thu May 22 16:36:14 2014
@@ -1,5 +1,5 @@
 /* Common base code for the decNumber C Library.
-   Copyright (C) 2007, 2009 Free Software Foundation, Inc.
+   Copyright (C) 2007-2013 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
Index: src/external/gpl3/gcc/dist/libdecnumber/decCommon.c
diff -u src/external/gpl3/gcc/dist/libdecnumber/decCommon.c:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/decCommon.c:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/decCommon.c:1.1.1.1	Tue Jun 21 01:19:48 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/decCommon.c	Thu May 22 16:36:14 2014
@@ -1,5 +1,5 @@
 /* Common code for fixed-size types in the decNumber C Library.
-   Copyright (C) 2007, 2009 Free Software Foundation, Inc.
+   Copyright (C) 2007-2013 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
Index: src/external/gpl3/gcc/dist/libdecnumber/decContext.c
diff -u src/external/gpl3/gcc/dist/libdecnumber/decContext.c:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/decContext.c:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/decContext.c:1.1.1.1	Tue Jun 21 01:19:48 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/decContext.c	Thu May 22 16:36:14 2014
@@ -1,5 +1,5 @@
 /* Decimal context module for the decNumber C Library.
-   Copyright (C) 2005, 2007, 2009 Free Software Foundation, Inc.
+   Copyright (C) 2005-2013 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
Index: src/external/gpl3/gcc/dist/libdecnumber/decContext.h
diff -u src/external/gpl3/gcc/dist/libdecnumber/decContext.h:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/decContext.h:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/decContext.h:1.1.1.1	Tue Jun 21 01:19:49 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/decContext.h	Thu May 22 16:36:14 2014
@@ -1,5 +1,5 @@
 /* Decimal context header module for the decNumber C Library.
-   Copyright (C) 2005, 2007, 2009 Free Software Foundation, Inc.
+   Copyright (C) 2005-2013 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
Index: src/external/gpl3/gcc/dist/libdecnumber/decDPD.h
diff -u src/external/gpl3/gcc/dist/libdecnumber/decDPD.h:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/decDPD.h:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/decDPD.h:1.1.1.1	Tue Jun 21 01:19:49 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/decDPD.h	Thu May 22 16:36:14 2014
@@ -1,5 +1,5 @@
 /* Conversion lookup tables for the decNumber C Library.
-   Copyright (C) 2007, 2009 Free Software Foundation, Inc.
+   Copyright (C) 2007-2013 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
Index: src/external/gpl3/gcc/dist/libdecnumber/decDouble.c
diff -u src/external/gpl3/gcc/dist/libdecnumber/decDouble.c:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/decDouble.c:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/decDouble.c:1.1.1.1	Tue Jun 21 01:19:49 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/decDouble.c	Thu May 22 16:36:14 2014
@@ -1,5 +1,5 @@
 /* decDouble module for the decNumber C Library.
-   Copyright (C) 2007, 2009 Free Software Foundation, Inc.
+   Copyright (C) 2007-2013 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
Index: src/external/gpl3/gcc/dist/libdecnumber/decDouble.h
diff -u src/external/gpl3/gcc/dist/libdecnumber/decDouble.h:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/decDouble.h:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/decDouble.h:1.1.1.1	Tue Jun 21 01:19:49 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/decDouble.h	Thu May 22 16:36:14 2014
@@ -1,5 +1,5 @@
 /* decDouble module header for the decNumber C Library.
-   Copyright (C) 2007, 2009 Free Software Foundation, Inc.
+   Copyright (C) 2007-2013 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
Index: src/external/gpl3/gcc/dist/libdecnumber/decExcept.c
diff -u src/external/gpl3/gcc/dist/libdecnumber/decExcept.c:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/decExcept.c:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/decExcept.c:1.1.1.1	Tue Jun 21 01:19:49 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/decExcept.c	Thu May 22 16:36:14 2014
@@ -1,5 +1,5 @@
 /* Temporary library support for decimal floating point.
-   Copyright (C) 2005, 2006, 2009 Free Software Foundation, Inc.
+   Copyright (C) 2005-2013 Free Software Foundation, Inc.
 
    This file is part of GCC.
 
Index: src/external/gpl3/gcc/dist/libdecnumber/decExcept.h
diff -u src/external/gpl3/gcc/dist/libdecnumber/decExcept.h:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/decExcept.h:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/decExcept.h:1.1.1.1	Tue Jun 21 01:19:48 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/decExcept.h	Thu May 22 16:36:14 2014
@@ -1,5 +1,5 @@
 /* Temporary library support for decimal floating point.
-   Copyright (C) 2006, 2009 Free Software Foundation, Inc.
+   Copyright (C) 2006-2013 Free Software Foundation, Inc.
 
    This file is part of GCC.
 
Index: src/external/gpl3/gcc/dist/libdecnumber/decLibrary.c
diff -u src/external/gpl3/gcc/dist/libdecnumber/decLibrary.c:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/decLibrary.c:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/decLibrary.c:1.1.1.1	Tue Jun 21 01:19:48 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/decLibrary.c	Thu May 22 16:36:14 2014
@@ -1,5 +1,5 @@
 /* Temporary library support for decimal floating point.
-   Copyright (C) 2005, 2006, 2009 Free Software Foundation, Inc.
+   Copyright (C) 2005-2013 Free Software Foundation, Inc.
 
    This file is part of GCC.
 
Index: src/external/gpl3/gcc/dist/libdecnumber/decNumber.c
diff -u src/external/gpl3/gcc/dist/libdecnumber/decNumber.c:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/decNumber.c:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/decNumber.c:1.1.1.1	Tue Jun 21 01:19:48 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/decNumber.c	Thu May 22 16:36:14 2014
@@ -1,5 +1,5 @@
 /* Decimal number arithmetic module for the decNumber C Library.
-   Copyright (C) 2005, 2007, 2009 Free Software Foundation, Inc.
+   Copyright (C) 2005-2013 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
@@ -711,7 +711,7 @@ decNumber * decNumberFromString(decNumbe
     /* decNumberShow(dn); */
     } while(0); 			/* [for break] */
 
-  if (allocres!=NULL) free(allocres);	/* drop any storage used */
+  free(allocres);	/* drop any storage used */
   if (status!=0) decStatus(dn, status, set);
   return dn;
   } /* decNumberFromString */
@@ -970,8 +970,8 @@ decNumber * decNumberCompareTotalMag(dec
     decCompareOp(res, lhs, rhs, set, COMPTOTAL, &status);
     } while(0); 			/* end protected */
 
-  if (allocbufa!=NULL) free(allocbufa); /* drop any storage used */
-  if (allocbufb!=NULL) free(allocbufb); /* .. */
+  free(allocbufa); /* drop any storage used */
+  free(allocbufb); /* .. */
   if (status!=0) decStatus(res, status, set);
   return res;
   } /* decNumberCompareTotalMag */
@@ -1074,7 +1074,7 @@ decNumber * decNumberExp(decNumber *res,
     } while(0); 			/* end protected */
 
   #if DECSUBSET
-  if (allocrhs !=NULL) free(allocrhs);	/* drop any storage used */
+  free(allocrhs);	/* drop any storage used */
   #endif
   /* apply significant status */
   if (status!=0) decStatus(res, status, set);
@@ -1169,7 +1169,7 @@ decNumber * decNumberFMA(decNumber *res,
     decAddOp(res, acc, fhs, set, 0, &status);
     } while(0); 			/* end protected */
 
-  if (allocbufa!=NULL) free(allocbufa); /* drop any storage used */
+  free(allocbufa); /* drop any storage used */
   if (status!=0) decStatus(res, status, set);
   #if DECCHECK
   decCheckInexact(res, set);
@@ -1296,7 +1296,7 @@ decNumber * decNumberLn(decNumber *res, 
     } while(0); 			/* end protected */
 
   #if DECSUBSET
-  if (allocrhs !=NULL) free(allocrhs);	/* drop any storage used */
+  free(allocrhs);	/* drop any storage used */
   #endif
   /* apply significant status */
   if (status!=0) decStatus(res, status, set);
@@ -1509,10 +1509,10 @@ decNumber * decNumberLog10(decNumber *re
     decDivideOp(res, a, b, &aset, DIVIDE, &status); /* into result */
     } while(0); 			/* [for break] */
 
-  if (allocbufa!=NULL) free(allocbufa); /* drop any storage used */
-  if (allocbufb!=NULL) free(allocbufb); /* .. */
+  free(allocbufa); /* drop any storage used */
+  free(allocbufb); /* .. */
   #if DECSUBSET
-  if (allocrhs !=NULL) free(allocrhs);	/* .. */
+  free(allocrhs);	/* .. */
   #endif
   /* apply significant status */
   if (status!=0) decStatus(res, status, set);
@@ -2253,11 +2253,11 @@ decNumber * decNumberPower(decNumber *re
     #endif
     } while(0); 			/* end protected */
 
-  if (allocdac!=NULL) free(allocdac);	/* drop any storage used */
-  if (allocinv!=NULL) free(allocinv);	/* .. */
+  free(allocdac);	/* drop any storage used */
+  free(allocinv);	/* .. */
   #if DECSUBSET
-  if (alloclhs!=NULL) free(alloclhs);	/* .. */
-  if (allocrhs!=NULL) free(allocrhs);	/* .. */
+  free(alloclhs);	/* .. */
+  free(allocrhs);	/* .. */
   #endif
   if (status!=0) decStatus(res, status, set);
   #if DECCHECK
@@ -2349,7 +2349,7 @@ decNumber * decNumberReduce(decNumber *r
     } while(0); 			     /* end protected */
 
   #if DECSUBSET
-  if (allocrhs !=NULL) free(allocrhs);	     /* .. */
+  free(allocrhs);	     /* .. */
   #endif
   if (status!=0) decStatus(res, status, set);/* then report status */
   return res;
@@ -3111,11 +3111,11 @@ decNumber * decNumberSquareRoot(decNumbe
     decNumberCopy(res, a);		     /* a is now the result */
     } while(0); 			     /* end protected */
 
-  if (allocbuff!=NULL) free(allocbuff);      /* drop any storage used */
-  if (allocbufa!=NULL) free(allocbufa);      /* .. */
-  if (allocbufb!=NULL) free(allocbufb);      /* .. */
+  free(allocbuff);      /* drop any storage used */
+  free(allocbufa);      /* .. */
+  free(allocbufb);      /* .. */
   #if DECSUBSET
-  if (allocrhs !=NULL) free(allocrhs);	     /* .. */
+  free(allocrhs);	     /* .. */
   #endif
   if (status!=0) decStatus(res, status, set);/* then report status */
   #if DECCHECK
@@ -4130,10 +4130,10 @@ static decNumber * decAddOp(decNumber *r
       }
     } while(0); 			     /* end protected */
 
-  if (allocacc!=NULL) free(allocacc);	     /* drop any storage used */
+  free(allocacc);	     /* drop any storage used */
   #if DECSUBSET
-  if (allocrhs!=NULL) free(allocrhs);	     /* .. */
-  if (alloclhs!=NULL) free(alloclhs);	     /* .. */
+  free(allocrhs);	     /* .. */
+  free(alloclhs);	     /* .. */
   #endif
   return res;
   } /* decAddOp */
@@ -4782,11 +4782,11 @@ static decNumber * decDivideOp(decNumber
     #endif
     } while(0); 			     /* end protected */
 
-  if (varalloc!=NULL) free(varalloc);	/* drop any storage used */
-  if (allocacc!=NULL) free(allocacc);	/* .. */
+  free(varalloc);	/* drop any storage used */
+  free(allocacc);	/* .. */
   #if DECSUBSET
-  if (allocrhs!=NULL) free(allocrhs);	/* .. */
-  if (alloclhs!=NULL) free(alloclhs);	/* .. */
+  free(allocrhs);	/* .. */
+  free(alloclhs);	/* .. */
   #endif
   return res;
   } /* decDivideOp */
@@ -5127,14 +5127,14 @@ static decNumber * decMultiplyOp(decNumb
     decFinish(res, set, &residue, status);   /* final cleanup */
     } while(0); 			/* end protected */
 
-  if (allocacc!=NULL) free(allocacc);	/* drop any storage used */
+  free(allocacc);	/* drop any storage used */
   #if DECSUBSET
-  if (allocrhs!=NULL) free(allocrhs);	/* .. */
-  if (alloclhs!=NULL) free(alloclhs);	/* .. */
+  free(allocrhs);	/* .. */
+  free(alloclhs);	/* .. */
   #endif
   #if FASTMUL
-  if (allocrhi!=NULL) free(allocrhi);	/* .. */
-  if (alloclhi!=NULL) free(alloclhi);	/* .. */
+  free(allocrhi);	/* .. */
+  free(alloclhi);	/* .. */
   #endif
   return res;
   } /* decMultiplyOp */
@@ -5483,9 +5483,9 @@ decNumber * decExpOp(decNumber *res, con
     decFinish(res, set, &residue, status);	 /* cleanup/set flags */
     } while(0); 			/* end protected */
 
-  if (allocrhs !=NULL) free(allocrhs);	/* drop any storage used */
-  if (allocbufa!=NULL) free(allocbufa); /* .. */
-  if (allocbuft!=NULL) free(allocbuft); /* .. */
+  free(allocrhs);	/* drop any storage used */
+  free(allocbufa); /* .. */
+  free(allocbuft); /* .. */
   /* [status is handled by caller] */
   return res;
   } /* decExpOp */
@@ -5794,8 +5794,8 @@ decNumber * decLnOp(decNumber *res, cons
     decFinish(res, set, &residue, status);	 /* cleanup/set flags */
     } while(0); 			/* end protected */
 
-  if (allocbufa!=NULL) free(allocbufa); /* drop any storage used */
-  if (allocbufb!=NULL) free(allocbufb); /* .. */
+  free(allocbufa); /* drop any storage used */
+  free(allocbufb); /* .. */
   /* [status is handled by caller] */
   return res;
   } /* decLnOp */
@@ -5959,8 +5959,8 @@ static decNumber * decQuantizeOp(decNumb
     } while(0); 			/* end protected */
 
   #if DECSUBSET
-  if (allocrhs!=NULL) free(allocrhs);	/* drop any storage used */
-  if (alloclhs!=NULL) free(alloclhs);	/* .. */
+  free(allocrhs);	/* drop any storage used */
+  free(alloclhs);	/* .. */
   #endif
   return res;
   } /* decQuantizeOp */
@@ -6142,8 +6142,8 @@ decNumber * decCompareOp(decNumber *res,
       }
     }
   #if DECSUBSET
-  if (allocrhs!=NULL) free(allocrhs);	/* free any storage used */
-  if (alloclhs!=NULL) free(alloclhs);	/* .. */
+  free(allocrhs);	/* free any storage used */
+  free(alloclhs);	/* .. */
   #endif
   return res;
   } /* decCompareOp */
@@ -6277,7 +6277,7 @@ static Int decUnitCompare(const Unit *a,
     result=(*u==0 ? 0 : +1);
     }
   /* clean up and return the result */
-  if (allocacc!=NULL) free(allocacc);	/* drop any storage used */
+  free(allocacc);	/* drop any storage used */
   return result;
   } /* decUnitCompare */
 
Index: src/external/gpl3/gcc/dist/libdecnumber/decNumber.h
diff -u src/external/gpl3/gcc/dist/libdecnumber/decNumber.h:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/decNumber.h:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/decNumber.h:1.1.1.1	Tue Jun 21 01:19:49 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/decNumber.h	Thu May 22 16:36:14 2014
@@ -1,5 +1,5 @@
 /* Decimal number arithmetic module header for the decNumber C Library.
-   Copyright (C) 2005, 2007, 2009 Free Software Foundation, Inc.
+   Copyright (C) 2005-2013 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
Index: src/external/gpl3/gcc/dist/libdecnumber/decNumberLocal.h
diff -u src/external/gpl3/gcc/dist/libdecnumber/decNumberLocal.h:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/decNumberLocal.h:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/decNumberLocal.h:1.1.1.1	Tue Jun 21 01:19:49 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/decNumberLocal.h	Thu May 22 16:36:14 2014
@@ -1,5 +1,5 @@
 /* Local definitions for the decNumber C Library.
-   Copyright (C) 2007, 2009 Free Software Foundation, Inc.
+   Copyright (C) 2007-2013 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
Index: src/external/gpl3/gcc/dist/libdecnumber/decPacked.c
diff -u src/external/gpl3/gcc/dist/libdecnumber/decPacked.c:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/decPacked.c:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/decPacked.c:1.1.1.1	Tue Jun 21 01:19:49 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/decPacked.c	Thu May 22 16:36:14 2014
@@ -1,5 +1,5 @@
 /* Packed decimal conversion module for the decNumber C Library.
-   Copyright (C) 2007, 2009 Free Software Foundation, Inc.
+   Copyright (C) 2007-2013 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
Index: src/external/gpl3/gcc/dist/libdecnumber/decPacked.h
diff -u src/external/gpl3/gcc/dist/libdecnumber/decPacked.h:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/decPacked.h:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/decPacked.h:1.1.1.1	Tue Jun 21 01:19:48 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/decPacked.h	Thu May 22 16:36:14 2014
@@ -1,5 +1,5 @@
 /* Packed decimal conversion module header for the decNumber C Library.
-   Copyright (C) 2007, 2009 Free Software Foundation, Inc.
+   Copyright (C) 2007-2013 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
Index: src/external/gpl3/gcc/dist/libdecnumber/decQuad.c
diff -u src/external/gpl3/gcc/dist/libdecnumber/decQuad.c:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/decQuad.c:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/decQuad.c:1.1.1.1	Tue Jun 21 01:19:48 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/decQuad.c	Thu May 22 16:36:14 2014
@@ -1,5 +1,5 @@
 /* decQuad module for the decNumber C Library.
-   Copyright (C) 2007, 2009 Free Software Foundation, Inc.
+   Copyright (C) 2007-2013 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
Index: src/external/gpl3/gcc/dist/libdecnumber/decQuad.h
diff -u src/external/gpl3/gcc/dist/libdecnumber/decQuad.h:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/decQuad.h:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/decQuad.h:1.1.1.1	Tue Jun 21 01:19:48 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/decQuad.h	Thu May 22 16:36:14 2014
@@ -1,5 +1,5 @@
 /* decQuad module header for the decNumber C Library.
-   Copyright (C) 2007, 2009 Free Software Foundation, Inc.
+   Copyright (C) 2007-2013 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
Index: src/external/gpl3/gcc/dist/libdecnumber/decRound.c
diff -u src/external/gpl3/gcc/dist/libdecnumber/decRound.c:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/decRound.c:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/decRound.c:1.1.1.1	Tue Jun 21 01:19:48 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/decRound.c	Thu May 22 16:36:14 2014
@@ -1,6 +1,6 @@
 /* Internal testing support for rounding for decimal float.
 
-   Copyright (C) 2005, 2006, 2009 Free Software Foundation, Inc.
+   Copyright (C) 2005-2013 Free Software Foundation, Inc.
 
    This file is part of GCC.
 
Index: src/external/gpl3/gcc/dist/libdecnumber/decRound.h
diff -u src/external/gpl3/gcc/dist/libdecnumber/decRound.h:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/decRound.h:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/decRound.h:1.1.1.1	Tue Jun 21 01:19:49 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/decRound.h	Thu May 22 16:36:14 2014
@@ -1,6 +1,6 @@
 /* Internal testing support for rounding for decimal float.
 
-   Copyright (C) 2006, 2009 Free Software Foundation, Inc.
+   Copyright (C) 2006-2013 Free Software Foundation, Inc.
 
    This file is part of GCC.
 
Index: src/external/gpl3/gcc/dist/libdecnumber/decSingle.c
diff -u src/external/gpl3/gcc/dist/libdecnumber/decSingle.c:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/decSingle.c:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/decSingle.c:1.1.1.1	Tue Jun 21 01:19:48 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/decSingle.c	Thu May 22 16:36:14 2014
@@ -1,5 +1,5 @@
 /* decSingle module for the decNumber C Library.
-   Copyright (C) 2007, 2009 Free Software Foundation, Inc.
+   Copyright (C) 2007-2013 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
Index: src/external/gpl3/gcc/dist/libdecnumber/decSingle.h
diff -u src/external/gpl3/gcc/dist/libdecnumber/decSingle.h:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/decSingle.h:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/decSingle.h:1.1.1.1	Tue Jun 21 01:19:48 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/decSingle.h	Thu May 22 16:36:14 2014
@@ -1,5 +1,5 @@
 /* decSingle module header for the decNumber C Library.
-   Copyright (C) 2005, 2009 Free Software Foundation, Inc.
+   Copyright (C) 2005-2013 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.

Index: src/external/gpl3/gcc/dist/libdecnumber/bid/bid-dpd.h
diff -u src/external/gpl3/gcc/dist/libdecnumber/bid/bid-dpd.h:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/bid/bid-dpd.h:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/bid/bid-dpd.h:1.1.1.1	Tue Jun 21 01:19:49 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/bid/bid-dpd.h	Thu May 22 16:36:14 2014
@@ -1,5 +1,4 @@
-/* Copyright (C) 2007, 2009
-   Free Software Foundation, Inc.
+/* Copyright (C) 2007-2013 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
Index: src/external/gpl3/gcc/dist/libdecnumber/bid/bid2dpd_dpd2bid.c
diff -u src/external/gpl3/gcc/dist/libdecnumber/bid/bid2dpd_dpd2bid.c:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/bid/bid2dpd_dpd2bid.c:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/bid/bid2dpd_dpd2bid.c:1.1.1.1	Tue Jun 21 01:19:49 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/bid/bid2dpd_dpd2bid.c	Thu May 22 16:36:14 2014
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007, 2009  Free Software Foundation, Inc.
+/* Copyright (C) 2007-2013 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
Index: src/external/gpl3/gcc/dist/libdecnumber/bid/bid2dpd_dpd2bid.h
diff -u src/external/gpl3/gcc/dist/libdecnumber/bid/bid2dpd_dpd2bid.h:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/bid/bid2dpd_dpd2bid.h:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/bid/bid2dpd_dpd2bid.h:1.1.1.1	Tue Jun 21 01:19:49 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/bid/bid2dpd_dpd2bid.h	Thu May 22 16:36:14 2014
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007, 2009  Free Software Foundation, Inc.
+/* Copyright (C) 2007-2013 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
Index: src/external/gpl3/gcc/dist/libdecnumber/bid/decimal128.c
diff -u src/external/gpl3/gcc/dist/libdecnumber/bid/decimal128.c:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/bid/decimal128.c:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/bid/decimal128.c:1.1.1.1	Tue Jun 21 01:19:49 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/bid/decimal128.c	Thu May 22 16:36:14 2014
@@ -1,5 +1,4 @@
-/* Copyright (C) 2007, 2009
-   Free Software Foundation, Inc.
+/* Copyright (C) 2007-2013 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
Index: src/external/gpl3/gcc/dist/libdecnumber/bid/decimal32.c
diff -u src/external/gpl3/gcc/dist/libdecnumber/bid/decimal32.c:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/bid/decimal32.c:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/bid/decimal32.c:1.1.1.1	Tue Jun 21 01:19:49 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/bid/decimal32.c	Thu May 22 16:36:14 2014
@@ -1,5 +1,4 @@
-/* Copyright (C) 2007, 2009
-   Free Software Foundation, Inc.
+/* Copyright (C) 2007-2013 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
Index: src/external/gpl3/gcc/dist/libdecnumber/bid/decimal64.c
diff -u src/external/gpl3/gcc/dist/libdecnumber/bid/decimal64.c:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/bid/decimal64.c:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/bid/decimal64.c:1.1.1.1	Tue Jun 21 01:19:49 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/bid/decimal64.c	Thu May 22 16:36:14 2014
@@ -1,5 +1,4 @@
-/* Copyright (C) 2007, 2009
-   Free Software Foundation, Inc.
+/* Copyright (C) 2007-2013 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
Index: src/external/gpl3/gcc/dist/libdecnumber/bid/host-ieee128.c
diff -u src/external/gpl3/gcc/dist/libdecnumber/bid/host-ieee128.c:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/bid/host-ieee128.c:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/bid/host-ieee128.c:1.1.1.1	Tue Jun 21 01:19:49 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/bid/host-ieee128.c	Thu May 22 16:36:14 2014
@@ -1,5 +1,5 @@
 /* This is a software decimal floating point library.
-   Copyright (C) 2007, 2009  Free Software Foundation, Inc.
+   Copyright (C) 2007-2013 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
Index: src/external/gpl3/gcc/dist/libdecnumber/bid/host-ieee32.c
diff -u src/external/gpl3/gcc/dist/libdecnumber/bid/host-ieee32.c:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/bid/host-ieee32.c:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/bid/host-ieee32.c:1.1.1.1	Tue Jun 21 01:19:49 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/bid/host-ieee32.c	Thu May 22 16:36:14 2014
@@ -1,5 +1,5 @@
 /* This is a software decimal floating point library.
-   Copyright (C) 2007, 2009  Free Software Foundation, Inc.
+   Copyright (C) 2007-2013 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
Index: src/external/gpl3/gcc/dist/libdecnumber/bid/host-ieee64.c
diff -u src/external/gpl3/gcc/dist/libdecnumber/bid/host-ieee64.c:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/bid/host-ieee64.c:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/bid/host-ieee64.c:1.1.1.1	Tue Jun 21 01:19:49 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/bid/host-ieee64.c	Thu May 22 16:36:14 2014
@@ -1,5 +1,5 @@
 /* This is a software decimal floating point library.
-   Copyright (C) 2007, 2009  Free Software Foundation, Inc.
+   Copyright (C) 2007-2013 Free Software Foundation, Inc.
 
 This file is part of GCC.
 

Index: src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal128.c
diff -u src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal128.c:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal128.c:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal128.c:1.1.1.1	Tue Jun 21 01:19:49 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal128.c	Thu May 22 16:36:14 2014
@@ -1,5 +1,5 @@
 /* Decimal 128-bit format module for the decNumber C Library.
-   Copyright (C) 2005, 2007, 2009 Free Software Foundation, Inc.
+   Copyright (C) 2005-2013 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
Index: src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal128.h
diff -u src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal128.h:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal128.h:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal128.h:1.1.1.1	Tue Jun 21 01:19:49 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal128.h	Thu May 22 16:36:14 2014
@@ -1,5 +1,5 @@
 /* Decimal 128-bit format module header for the decNumber C Library.
-   Copyright (C) 2005, 2007, 2009 Free Software Foundation, Inc.
+   Copyright (C) 2005-2013 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
Index: src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal128Local.h
diff -u src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal128Local.h:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal128Local.h:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal128Local.h:1.1.1.1	Tue Jun 21 01:19:49 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal128Local.h	Thu May 22 16:36:14 2014
@@ -1,5 +1,5 @@
 /* Local definitions for use with the decNumber C Library.
-   Copyright (C) 2007, 2009 Free Software Foundation, Inc.
+   Copyright (C) 2007-2013 Free Software Foundation, Inc.
 
    This file is part of GCC.
 
Index: src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal32.c
diff -u src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal32.c:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal32.c:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal32.c:1.1.1.1	Tue Jun 21 01:19:49 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal32.c	Thu May 22 16:36:14 2014
@@ -1,5 +1,5 @@
 /* Decimal 32-bit format module for the decNumber C Library.
-   Copyright (C) 2005, 2007, 2009 Free Software Foundation, Inc.
+   Copyright (C) 2005-2013 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
Index: src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal32.h
diff -u src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal32.h:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal32.h:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal32.h:1.1.1.1	Tue Jun 21 01:19:49 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal32.h	Thu May 22 16:36:14 2014
@@ -1,5 +1,5 @@
 /* Decimal 32-bit format module header for the decNumber C Library.
-   Copyright (C) 2005, 2007, 2009 Free Software Foundation, Inc.
+   Copyright (C) 2005-2013 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
Index: src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal64.c
diff -u src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal64.c:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal64.c:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal64.c:1.1.1.1	Tue Jun 21 01:19:49 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal64.c	Thu May 22 16:36:14 2014
@@ -1,5 +1,5 @@
 /* Decimal 64-bit format module for the decNumber C Library.
-   Copyright (C) 2005, 2007, 2009 Free Software Foundation, Inc.
+   Copyright (C) 2005-2013 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
Index: src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal64.h
diff -u src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal64.h:1.1.1.1 src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal64.h:1.1.1.1.2.1
--- src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal64.h:1.1.1.1	Tue Jun 21 01:19:49 2011
+++ src/external/gpl3/gcc/dist/libdecnumber/dpd/decimal64.h	Thu May 22 16:36:14 2014
@@ -1,5 +1,5 @@
 /* Decimal 64-bit format module header for the decNumber C Library.
-   Copyright (C) 2005, 2007, 2009 Free Software Foundation, Inc.
+   Copyright (C) 2005-2013 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.

Reply via email to