merge from gcc
authorDJ Delorie <dj@redhat.com>
Thu, 7 Feb 2013 04:43:49 +0000 (04:43 +0000)
committerDJ Delorie <dj@redhat.com>
Thu, 7 Feb 2013 04:43:49 +0000 (04:43 +0000)
43 files changed:
libdecnumber/ChangeLog
libdecnumber/Makefile.in
libdecnumber/bid/bid-dpd.h
libdecnumber/bid/bid2dpd_dpd2bid.c
libdecnumber/bid/bid2dpd_dpd2bid.h
libdecnumber/bid/decimal128.c
libdecnumber/bid/decimal32.c
libdecnumber/bid/decimal64.c
libdecnumber/bid/host-ieee128.c
libdecnumber/bid/host-ieee32.c
libdecnumber/bid/host-ieee64.c
libdecnumber/configure.ac
libdecnumber/dconfig.h
libdecnumber/decBasic.c
libdecnumber/decCommon.c
libdecnumber/decContext.c
libdecnumber/decContext.h
libdecnumber/decDPD.h
libdecnumber/decDouble.c
libdecnumber/decDouble.h
libdecnumber/decExcept.c
libdecnumber/decExcept.h
libdecnumber/decLibrary.c
libdecnumber/decNumber.c
libdecnumber/decNumber.h
libdecnumber/decNumberLocal.h
libdecnumber/decPacked.c
libdecnumber/decPacked.h
libdecnumber/decQuad.c
libdecnumber/decQuad.h
libdecnumber/decRound.c
libdecnumber/decRound.h
libdecnumber/decSingle.c
libdecnumber/decSingle.h
libdecnumber/dpd/decimal128.c
libdecnumber/dpd/decimal128.h
libdecnumber/dpd/decimal128Local.h
libdecnumber/dpd/decimal32.c
libdecnumber/dpd/decimal32.h
libdecnumber/dpd/decimal64.c
libdecnumber/dpd/decimal64.h
libiberty/ChangeLog
libiberty/sha1.c

index 138aa6edc8fd6cdbe4d9566ac798fade01d14a9d..87e7e11bd5b0d84f6923a32e83344df42d8e2615 100644 (file)
@@ -1,3 +1,7 @@
+2013-02-06  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       Update copyright years.
+
 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
 
        * configure: Regenerate.
index c64f22c984e5138d5f86702f4b7ad0ad8bdeb3af..e67ff272f72aa4e286c8d7d1ad66c74e879ea083 100644 (file)
@@ -1,8 +1,7 @@
 # @configure_input@
 # Makefile for libdecnumber.  Run 'configure' to generate Makefile from Makefile.in
 
-# Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010
-# Free Software Foundation, Inc.
+# Copyright (C) 2005-2013 Free Software Foundation, Inc.
 
 #This file is part of GCC.
 
index e100cc916ac406cbb88c00a82e4b9381cb149130..3889bcafa15dbbdc337f62efe09ff97b9c408615 100644 (file)
@@ -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 7e55eb01514ee7f61d0b83d83e52a9072a36fc73..661de88937227ea818d76d572df71d1e00a458dd 100644 (file)
@@ -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 b501bdcc0c334c2f884adff3b2f0fffca2f28335..af6c541c518031c7881e06c812afde30afc38a61 100644 (file)
@@ -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 db30bd39d6dae375bdd1bea1845480a12cf5f1cc..f958a534b105371038d138bc10b039a8eab0505d 100644 (file)
@@ -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 1cd760759c2c82b7ea577d4e0b050be9da82c5f0..51bd49b6310327049f8e4d530515b760b245251e 100644 (file)
@@ -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 fd637388a25ccaa14c78237fb9249d473e0c8525..56f96a8c7c5b545e7cc0958320c03bdbb2e83a7e 100644 (file)
@@ -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 9e2d005cdc776bf5558338f40da11d39de5896e0..ba5092c3e63f7af54983e1f622bf81e3ae9fd604 100644 (file)
@@ -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 1de6dc2eccdd052d99526992afaf546cf71ccf24..650051eb117bdd520e7e70f239fef8a76c38b2c0 100644 (file)
@@ -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 825eb0ab13c01c59cf2472d6405f28011880d9bb..ede5cd840691e2db3652e7ba89b905c145a64f88 100644 (file)
@@ -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 87820bf22055a0c11bd6cab03664ceeff8245529..a6f7f07118cb6a84a448d51fcf7ab02de8cfacb4 100644 (file)
@@ -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.
 
index 975f9a1c891d229c8b8dae576094d80783f2edb5..de634b6ae2b3496a9c27e33e4ec2538d4c58a0ff 100644 (file)
@@ -1,5 +1,5 @@
 /* Configure decNumber for either host or target.
-   Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc.
+   Copyright (C) 2008-2013 Free Software Foundation, Inc.
 
    This file is part of GCC.
 
index 75ce17bce170c170ef6ca92582d01085b3894aa1..6fbf48eb4166e9f31eee942f2cee0b2be271fffc 100644 (file)
@@ -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 add1f2ed71690011475b63fe9770d61cbbd30b3c..42b05b235edee18cb5abd6397ad783d15613aa55 100644 (file)
@@ -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 aa8195928e4355d2ebf485e7066bc6233c8b519b..d0e2e2876d60c1c1c0430d5f0f24600ff48514ac 100644 (file)
@@ -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 ae0ca07b859f4f7ab7dc3bd08ee9b39a6559207f..fed7a0e379c72b5d8e76e80c882b2398d0994cb4 100644 (file)
@@ -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 db4d3434d031102a5dac6f85f38c423d576f4fb8..83359df7aef3d4aed56b023dc9bec3eec39eb920 100644 (file)
@@ -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 9af8e15c6c55b8f1ff6e251a32751d1e3c157ee6..b88786974c9317049c8286609aeda673e4834530 100644 (file)
@@ -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 0aaf66ec62cf0ca6a1bbb6d660dd259d1d94c7b8..fa6648074083f761b8a0d297560aeefc7ab787e7 100644 (file)
@@ -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 99c20db43137e957eef62932bc1b2ab7a1d8dc7b..945a7f244eafae18aeeca8f9b7f482db06b16838 100644 (file)
@@ -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 73eb9af14ef114c355b7496907f038293eef6d3b..83a70c96070aa2f4451f5feb7e83c12ac75a01b6 100644 (file)
@@ -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 323a0d6acf44f417baf88ae347ed939e0f733d74..3b860de5811162cc1f355f7fadba94745f218313 100644 (file)
@@ -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 cf2d32e40d4d7135672d11870a937ab365ebf089..72cdbf2ac1f68ef929f3086184c7bb3f9022c005 100644 (file)
@@ -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.
index 05ccb9fdf56f1fde3364df146636c7f08fff2d67..90087df437c614e77ae6c05bc69d12da8c462537 100644 (file)
@@ -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 dca79e51db70fef6ea7615437c99f41b8e1afe71..c8dbafc3f4b6e766a3d93ae32645ac209fc43aab 100644 (file)
@@ -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 3e77bad13e8e6aa1ef67ddee2daf53c1d656be41..193af834023ae970801961caa613a06d8ffeb0e6 100644 (file)
@@ -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 539653b10885c9e22086c08c5bad34a9d8066831..94b60fae114814366ecc978fe410a7b648c39270 100644 (file)
@@ -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 dcd670b53fcb7205d71f2e361b5342a028338089..e18e9dfcce6e1e79e8e8bbb7faee20f82433d327 100644 (file)
@@ -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 60cc632cbe5c1caf1ec12c0edb175727ab919b7a..d05c945f3738343267608fee4652ba78058475a6 100644 (file)
@@ -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 811bea81d02a62c0ed62a15162b93ea29a587e81..1f4054187b4bef713f1cbee314d7e88ac92573c9 100644 (file)
@@ -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 c17b6d120261b602997a56938484f7632b03369e..44097ec49bc4ae08dad9660f978abde860908dfc 100644 (file)
@@ -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 c79b7f1a9ada8f1d0e7522bf3176ab0bbbecb0aa..cd6f12b3df6f506a308bdd15b6a6db7c2cc7a1bc 100644 (file)
@@ -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 3904d945a55629708bb07a54c4949b1e5a534d69..05b54ae673274f499852d6e26e0eab0302ba1a2a 100644 (file)
@@ -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 cd2db938d957ba1507dba2bab86db6c051b40730..92af60f2bd5fb61a9253b893ce0274ccae75e5c2 100644 (file)
@@ -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 3c83c81fcaa69ac3c1fefa729a471409a419b775..42da6fccb543837760c0935442fd9623b9736453 100644 (file)
@@ -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 1963678cddb22a58aa18f521ed23ec42a627e50c..e27bcc531abc1e611f758ee0f68468ac17f4beb6 100644 (file)
@@ -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 9084ac868b811c41cdaa0985526f04cebf953316..6f034d0e6739e6bfbcbc18497e576705a435b546 100644 (file)
@@ -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 94ddeb80f3f0a41eb5ed6980dc56fb11d038d6a5..79f95eae20e88bd12f024d61941c4af8dc5231e8 100644 (file)
@@ -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 d5153a2b114e160072c2a479602bdb808cc1280a..0815ba214184f1890e0d79164297eabe4a585662 100644 (file)
@@ -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 c501415381e0ccc57937391a269a3b9411a64565..8a0b617ac630fa735631f3ed5d620030b37a45bf 100644 (file)
@@ -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.
index 2a91c419dde76d713f32976a2ec20e0448613564..cbcd1e259488bdbbbd91a3f7c475e70ee5ba318d 100644 (file)
@@ -1,6 +1,10 @@
 2013-01-31  Kai Tietz  <ktietz@redhat.com>
 
-       PR other/543413
+       PR other/54620
+       * sha1.c (sha1_process_block):  Handle case that size_t is
+       a wider-integer-scalar as a 32-bit unsigned integer.
+
+       PR other/53413
        * md5.c (md5_process_block):  Handle case that size_t is
        a wider-integer-scalar a 32-bit unsigned integer.
 
index 6a25ab239925aa21ebbbd29708b00120b4b77849..617e743a15e8dfea47e4fc325044e0309153150c 100644 (file)
@@ -300,8 +300,7 @@ sha1_process_block (const void *buffer, size_t len, struct sha1_ctx *ctx)
      length of the file up to 2^64 bits.  Here we only compute the
      number of bytes.  Do a double word increment.  */
   ctx->total[0] += len;
-  if (ctx->total[0] < len)
-    ++ctx->total[1];
+  ctx->total[1] += ((len >> 31) >> 1) + (ctx->total[0] < len);
 
 #define rol(x, n) (((x) << (n)) | ((sha1_uint32) (x) >> (32 - (n))))
 
This page took 0.040306 seconds and 4 git commands to generate.