Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/FSF]: src/external/gpl3/gcc/dist Import gcc 4.8.3 which has 98 bugs fixe...



details:   https://anonhg.NetBSD.org/src/rev/37a229137eec
branches:  FSF
changeset: 746651:37a229137eec
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue May 27 08:29:46 2014 +0000

description:
Import gcc 4.8.3 which has 98 bugs fixed on gcc-4-8-3-pre-r208254

diffstat:

 external/gpl3/gcc/dist/ChangeLog                                        |     22 +
 external/gpl3/gcc/dist/INSTALL/binaries.html                            |     21 +-
 external/gpl3/gcc/dist/INSTALL/build.html                               |     14 +-
 external/gpl3/gcc/dist/INSTALL/configure.html                           |    248 +-
 external/gpl3/gcc/dist/INSTALL/download.html                            |     30 +-
 external/gpl3/gcc/dist/INSTALL/finalinstall.html                        |     12 +-
 external/gpl3/gcc/dist/INSTALL/gfdl.html                                |     84 +-
 external/gpl3/gcc/dist/INSTALL/index.html                               |     18 +-
 external/gpl3/gcc/dist/INSTALL/old.html                                 |     18 +-
 external/gpl3/gcc/dist/INSTALL/prerequisites.html                       |    146 +-
 external/gpl3/gcc/dist/INSTALL/specific.html                            |    658 +-
 external/gpl3/gcc/dist/INSTALL/test.html                                |     51 +-
 external/gpl3/gcc/dist/LAST_UPDATED                                     |      2 +-
 external/gpl3/gcc/dist/MD5SUMS                                          |  60554 ++++++---
 external/gpl3/gcc/dist/NEWS                                             |   2865 +-
 external/gpl3/gcc/dist/config.guess                                     |    149 +-
 external/gpl3/gcc/dist/config.sub                                       |     38 +-
 external/gpl3/gcc/dist/contrib/ChangeLog                                |      4 +
 external/gpl3/gcc/dist/contrib/reghunt/ChangeLog                        |      4 +
 external/gpl3/gcc/dist/contrib/regression/ChangeLog                     |      4 +
 external/gpl3/gcc/dist/fixincludes/ChangeLog                            |      4 +
 external/gpl3/gcc/dist/gnattools/ChangeLog                              |      4 +
 external/gpl3/gcc/dist/include/ChangeLog                                |      4 +
 external/gpl3/gcc/dist/intl/ChangeLog                                   |      4 +
 external/gpl3/gcc/dist/libbacktrace/ChangeLog                           |     11 +
 external/gpl3/gcc/dist/libbacktrace/configure                           |     16 +-
 external/gpl3/gcc/dist/libdecnumber/ChangeLog                           |      4 +
 external/gpl3/gcc/dist/libgomp/ChangeLog                                |     16 +
 external/gpl3/gcc/dist/libobjc/ChangeLog                                |     11 +
 external/gpl3/gcc/dist/libobjc/configure                                |     18 +-
 external/gpl3/gcc/dist/libsanitizer/ChangeLog                           |     18 +
 external/gpl3/gcc/dist/libsanitizer/configure                           |     16 +-
 external/gpl3/gcc/dist/libsanitizer/configure.tgt                       |      3 +
 external/gpl3/gcc/dist/libstdc++-v3/ChangeLog                           |    129 +
 external/gpl3/gcc/dist/libstdc++-v3/configure                           |     32 +-
 external/gpl3/gcc/dist/libstdc++-v3/doc/html/faq.html                   |      2 +-
 external/gpl3/gcc/dist/libstdc++-v3/doc/xml/faq.xml                     |      2 +-
 external/gpl3/gcc/dist/libstdc++-v3/include/bits/atomic_base.h          |      4 +-
 external/gpl3/gcc/dist/libstdc++-v3/include/bits/shared_ptr_base.h      |      2 +-
 external/gpl3/gcc/dist/libstdc++-v3/include/bits/stl_vector.h           |      3 +-
 external/gpl3/gcc/dist/libstdc++-v3/include/debug/safe_unordered_base.h |     12 +-
 external/gpl3/gcc/dist/libstdc++-v3/include/std/functional              |     11 +-
 external/gpl3/gcc/dist/libstdc++-v3/include/std/future                  |     31 +-
 external/gpl3/gcc/dist/libstdc++-v3/include/std/iostream                |      6 +-
 external/gpl3/gcc/dist/libstdc++-v3/include/std/tuple                   |      4 +-
 external/gpl3/gcc/dist/libstdc++-v3/libsupc++/eh_call.cc                |     16 +-
 external/gpl3/gcc/dist/libstdc++-v3/scripts/extract_symvers.in          |      1 +
 external/gpl3/gcc/dist/libstdc++-v3/src/c++11/thread.cc                 |      2 +-
 external/gpl3/gcc/dist/libstdc++-v3/src/c++98/ios_init.cc               |      2 +-
 external/gpl3/gcc/dist/libtool.m4                                       |     12 +-
 external/gpl3/gcc/dist/maintainer-scripts/ChangeLog                     |      4 +
 51 files changed, 41144 insertions(+), 24202 deletions(-)

diffs (truncated from 83572 to 300 lines):

diff -r 3ac7a57b0875 -r 37a229137eec external/gpl3/gcc/dist/ChangeLog
--- a/external/gpl3/gcc/dist/ChangeLog  Mon Mar 03 02:42:38 2014 +0000
+++ b/external/gpl3/gcc/dist/ChangeLog  Tue May 27 08:29:46 2014 +0000
@@ -1,3 +1,25 @@
+2014-05-22  Release Manager
+
+       * GCC 4.8.3 released.
+
+2014-04-04  Bill Schmidt  <wschmidt%linux.vnet.ibm.com@localhost>
+
+       Backport from mainline
+       2013-11-15  Ulrich Weigand  <Ulrich.Weigand%de.ibm.com@localhost>
+
+       * libtool.m4: Update to mainline version.
+       * configure: Regenerate.
+
+2014-04-04  Bill Schmidt  <wschmidt%linux.vnet.ibm.com@localhost>
+
+       Backport from mainline r203071:
+
+       2013-10-01  Joern Rennecke  <joern.rennecke%embecosm.com@localhost>
+
+       Import from savannah.gnu.org:
+       * config.guess: Update to 2013-06-10 version.
+       * config.sub: Update to 2013-10-01 version.
+
 2013-10-16  Release Manager
 
        * GCC 4.8.2 released.
diff -r 3ac7a57b0875 -r 37a229137eec external/gpl3/gcc/dist/INSTALL/binaries.html
--- a/external/gpl3/gcc/dist/INSTALL/binaries.html      Mon Mar 03 02:42:38 2014 +0000
+++ b/external/gpl3/gcc/dist/INSTALL/binaries.html      Tue May 27 08:29:46 2014 +0000
@@ -7,12 +7,10 @@
 <link title="Top" rel="top" href="#Top">
 <link href="http://www.gnu.org/software/texinfo/"; rel="generator-home" title="Texinfo Homepage">
 <!--
-Copyright (C) 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997,
-1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
-2009, 2010, 2011 Free Software Foundation, Inc.
+Copyright (C) 1988-2013 Free Software Foundation, Inc.
 
    Permission is granted to copy, distribute and/or modify this document
-under the terms of the GNU Free Documentation License, Version 1.2 or
+under the terms of the GNU Free Documentation License, Version 1.3 or
 any later version published by the Free Software Foundation; with no
 Invariant Sections, the Front-Cover texts being (a) (see below), and
 with the Back-Cover Texts being (b) (see below).  A copy of the
@@ -68,16 +66,23 @@
 
      <li>HP-UX:
           <ul>
-<li><a href="http://hpux.cs.utah.edu/";>HP-UX Porting Center</a>;
+<li><a href="http://hpux.connect.org.uk/";>HP-UX Porting Center</a>;
 
           <li><a href="ftp://sunsite.informatik.rwth-aachen.de/pub/packages/gcc_hpux/";>Binaries for HP-UX 11.00 at Aachen University of Technology</a>. 
 </ul>
 
      <li><a href="http://www.sco.com/skunkware/devtools/index.html#gcc";>SCO OpenServer/Unixware</a>.
 
-     <li>Solaris 2 (SPARC, Intel)&mdash;<a href="http://www.sunfreeware.com/";>Sunfreeware</a>.
+     <li>Solaris 2 (SPARC, Intel):
+          <ul>
+<li><a href="http://www.sunfreeware.com/";>Sunfreeware</a>
 
-     <li>SGI&mdash;<a href="http://freeware.sgi.com/";>SGI Freeware</a>.
+          <li><a href="http://www.blastwave.org/";>Blastwave</a>
+
+          <li><a href="http://www.opencsw.org/";>OpenCSW</a>
+
+          <li><a href="http://jupiterrise.com/tgcware/";>TGCware</a>
+</ul>
 
      <li>Microsoft Windows:
           <ul>
@@ -87,8 +92,6 @@
 
      <li><a href="ftp://ftp.thewrittenword.com/packages/by-name/";>The Written Word</a> offers binaries for
 AIX 4.3.3, 5.1 and 5.2,
-IRIX 6.5,
-Tru64 UNIX 4.0D and 5.1,
 GNU/Linux (i386),
 HP-UX 10.20, 11.00, and 11.11, and
 Solaris/SPARC 2.5.1, 2.6, 7, 8, 9 and 10.
diff -r 3ac7a57b0875 -r 37a229137eec external/gpl3/gcc/dist/INSTALL/build.html
--- a/external/gpl3/gcc/dist/INSTALL/build.html Mon Mar 03 02:42:38 2014 +0000
+++ b/external/gpl3/gcc/dist/INSTALL/build.html Tue May 27 08:29:46 2014 +0000
@@ -7,12 +7,10 @@
 <link title="Top" rel="top" href="#Top">
 <link href="http://www.gnu.org/software/texinfo/"; rel="generator-home" title="Texinfo Homepage">
 <!--
-Copyright (C) 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997,
-1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
-2009, 2010, 2011 Free Software Foundation, Inc.
+Copyright (C) 1988-2013 Free Software Foundation, Inc.
 
    Permission is granted to copy, distribute and/or modify this document
-under the terms of the GNU Free Documentation License, Version 1.2 or
+under the terms of the GNU Free Documentation License, Version 1.3 or
 any later version published by the Free Software Foundation; with no
 Invariant Sections, the Front-Cover texts being (a) (see below), and
 with the Back-Cover Texts being (b) (see below).  A copy of the
@@ -130,7 +128,7 @@
 the bootstrap and the final installation.  (Libraries will still contain
 debugging information.)
 
-<pre class="smallexample">          make BOOT_CFLAGS='-O' bootstrap
+<pre class="smallexample">     make BOOT_CFLAGS='-O' bootstrap
 </pre>
    <p>You can place non-default optimization flags into <code>BOOT_CFLAGS</code>; they
 are less well tested here than the default of &lsquo;<samp><span class="samp">-g -O2</span></samp>&rsquo;, but should
@@ -186,6 +184,10 @@
 
      <br><dt>&lsquo;<samp><span class="samp">bootstrap-O3</span></samp>&rsquo;<dd>Analogous to <code>bootstrap-O1</code>.
 
+     <br><dt>&lsquo;<samp><span class="samp">bootstrap-lto</span></samp>&rsquo;<dd>Enables Link-Time Optimization for host tools during bootstrapping. 
+&lsquo;<samp><span class="samp">BUILD_CONFIG=bootstrap-lto</span></samp>&rsquo; is equivalent to adding
+<samp><span class="option">-flto</span></samp> to &lsquo;<samp><span class="samp">BOOT_CFLAGS</span></samp>&rsquo;.
+
      <br><dt>&lsquo;<samp><span class="samp">bootstrap-debug</span></samp>&rsquo;<dd>Verifies that the compiler generates the same executable code, whether
 or not it is asked to emit debug information.  To this end, this
 option builds stage2 host programs without debug information, and uses
@@ -323,7 +325,7 @@
 <h3 class="section"><a name="TOC3"></a>Building the Ada compiler</h3>
 
 <p>In order to build GNAT, the Ada compiler, you need a working GNAT
-compiler (GCC version 3.4 or later). 
+compiler (GCC version 4.0 or later). 
 This includes GNAT tools such as <samp><span class="command">gnatmake</span></samp> and
 <samp><span class="command">gnatlink</span></samp>, since the Ada front end is written in Ada and
 uses some GNAT-specific extensions.
diff -r 3ac7a57b0875 -r 37a229137eec external/gpl3/gcc/dist/INSTALL/configure.html
--- a/external/gpl3/gcc/dist/INSTALL/configure.html     Mon Mar 03 02:42:38 2014 +0000
+++ b/external/gpl3/gcc/dist/INSTALL/configure.html     Tue May 27 08:29:46 2014 +0000
@@ -7,12 +7,10 @@
 <link title="Top" rel="top" href="#Top">
 <link href="http://www.gnu.org/software/texinfo/"; rel="generator-home" title="Texinfo Homepage">
 <!--
-Copyright (C) 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997,
-1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
-2009, 2010, 2011 Free Software Foundation, Inc.
+Copyright (C) 1988-2013 Free Software Foundation, Inc.
 
    Permission is granted to copy, distribute and/or modify this document
-under the terms of the GNU Free Documentation License, Version 1.2 or
+under the terms of the GNU Free Documentation License, Version 1.3 or
 any later version published by the Free Software Foundation; with no
 Invariant Sections, the Front-Cover texts being (a) (see below), and
 with the Back-Cover Texts being (b) (see below).  A copy of the
@@ -85,9 +83,9 @@
 
    <p>To configure GCC:
 
-<pre class="smallexample">        % mkdir <var>objdir</var>
-        % cd <var>objdir</var>
-        % <var>srcdir</var>/configure [<var>options</var>] [<var>target</var>]
+<pre class="smallexample">     % mkdir <var>objdir</var>
+     % cd <var>objdir</var>
+     % <var>srcdir</var>/configure [<var>options</var>] [<var>target</var>]
 </pre>
    <h3 class="heading"><a name="TOC0"></a>Distributor options</h3>
 
@@ -197,6 +195,12 @@
 on other configuration options, and differs between cross and native
 configurations.
 
+          <br><dt><code>--with-specs=</code><var>specs</var><dd>Specify additional command line driver SPECS. 
+This can be useful if you need to turn on a non-standard feature by
+default without modifying the compiler's source code, for instance
+<samp><span class="option">--with-specs=%{!fcommon:%{!fno-common:-fno-common}}</span></samp>. 
+See &ldquo;Spec Files&rdquo; in the main manual
+
      </dl>
 
      <br><dt><code>--program-prefix=</code><var>prefix</var><dd>GCC supports some transformations of the names of its programs when
@@ -312,6 +316,13 @@
 install part of GCC.  Perhaps they make this assumption because
 installing GCC creates the directory.
 
+     <br><dt><code>--with-native-system-header-dir=</code><var>dirname</var><dd>Specifies that <var>dirname</var> is the directory that contains native system
+header files, rather than <samp><span class="file">/usr/include</span></samp>.  This option is most useful
+if you are creating a compiler that should be isolated from the system
+as much as possible.  It is most commonly used with the
+<samp><span class="option">--with-sysroot</span></samp> option and will cause GCC to search
+<var>dirname</var> inside the system root specified by that option.
+
      <br><dt><code>--enable-shared[=</code><var>package</var><code>[,...]]</code><dd>Build shared versions of libraries, if shared libraries are supported on
 the target platform.  Unlike GCC 2.95.x and earlier, shared libraries
 are enabled by default on all platforms that support shared libraries.
@@ -321,7 +332,7 @@
 will be built.  Package names currently recognized in the GCC tree are
 &lsquo;<samp><span class="samp">libgcc</span></samp>&rsquo; (also known as &lsquo;<samp><span class="samp">gcc</span></samp>&rsquo;), &lsquo;<samp><span class="samp">libstdc++</span></samp>&rsquo; 
(not
 &lsquo;<samp><span class="samp">libstdc++-v3</span></samp>&rsquo;), &lsquo;<samp><span class="samp">libffi</span></samp>&rsquo;, &lsquo;<samp><span class="samp">zlib</span></samp>&rsquo;, 
&lsquo;<samp><span class="samp">boehm-gc</span></samp>&rsquo;,
-&lsquo;<samp><span class="samp">ada</span></samp>&rsquo;, &lsquo;<samp><span class="samp">libada</span></samp>&rsquo;, &lsquo;<samp><span class="samp">libjava</span></samp>&rsquo; and 
&lsquo;<samp><span class="samp">libobjc</span></samp>&rsquo;. 
+&lsquo;<samp><span class="samp">ada</span></samp>&rsquo;, &lsquo;<samp><span class="samp">libada</span></samp>&rsquo;, &lsquo;<samp><span class="samp">libjava</span></samp>&rsquo;, 
&lsquo;<samp><span class="samp">libgo</span></samp>&rsquo;, and &lsquo;<samp><span class="samp">libobjc</span></samp>&rsquo;. 
 Note &lsquo;<samp><span class="samp">libiberty</span></samp>&rsquo; does not support shared libraries at all.
 
      <p>Use <samp><span class="option">--disable-shared</span></samp> to build only static libraries.  Note that
@@ -415,6 +426,19 @@
 workable alternative.  This requires gas and gdb, as the normal SVR4
 tools can not generate or interpret stabs.
 
+     <br><dt><code>--with-tls=</code><var>dialect</var><dd>Specify the default TLS dialect, for systems were there is a choice. 
+For ARM targets, possible values for <var>dialect</var> are <code>gnu</code> or
+<code>gnu2</code>, which select between the original GNU dialect and the GNU TLS
+descriptor-based dialect.
+
+     <br><dt><code>--enable-multiarch</code><dd>Specify whether to enable or disable multiarch support.  The default is
+to check for glibc start files in a multiarch location, and enable it
+if the files are found.  The auto detection is enabled for native builds,
+and for cross builds configured with <samp><span class="option">--with-sysroot</span></samp>, and without
+<samp><span class="option">--with-native-system-header-dir</span></samp>. 
+More documentation about multiarch can be found at
+<a href="http://wiki.debian.org/Multiarch";>http://wiki.debian.org/Multiarch</a>.
+
      <br><dt><code>--disable-multilib</code><dd>Specify that multiple target
 libraries to support different target variants, calling
 conventions, etc. should not be built.  The default is to build a
@@ -423,9 +447,7 @@
      <p>Some targets provide finer-grained control over which multilibs are built
 (e.g., <samp><span class="option">--disable-softfloat</span></samp>):
           <dl>
-<dt><code>arc-*-elf*</code><dd>biendian.
-
-          <br><dt><code>arm-*-*</code><dd>fpu, 26bit, underscore, interwork, biendian, nofmult.
+<dt><code>arm-*-*</code><dd>fpu, 26bit, underscore, interwork, biendian, nofmult.
 
           <br><dt><code>m68*-*-*</code><dd>softfloat, m68881, m68000, m68020.
 
@@ -437,34 +459,45 @@
      </dl>
 
      <br><dt><code>--with-multilib-list=</code><var>list</var><dt><code>--without-multilib-list</code><dd>Specify what multilibs to build. 
-Currently only implemented for sh*-*-*.
+Currently only implemented for sh*-*-* and x86-64-*-linux*.
 
-     <p><var>list</var> is a comma separated list of CPU names.  These must be of the
+          <dl>
+<dt><code>sh*-*-*</code><dd><var>list</var> is a comma separated list of CPU names.  These must be of the
 form <code>sh*</code> or <code>m*</code> (in which case they match the compiler option
 for that processor).  The list should not contain any endian options -
 these are handled by <samp><span class="option">--with-endian</span></samp>.
 
-     <p>If <var>list</var> is empty, then there will be no multilibs for extra
+          <p>If <var>list</var> is empty, then there will be no multilibs for extra
 processors.  The multilib for the secondary endian remains enabled.
 
-     <p>As a special case, if an entry in the list starts with a <code>!</code>
+          <p>As a special case, if an entry in the list starts with a <code>!</code>
 (exclamation point), then it is added to the list of excluded multilibs. 
 Entries of this sort should be compatible with &lsquo;<samp><span class="samp">MULTILIB_EXCLUDES</span></samp>&rsquo;
 (once the leading <code>!</code> has been stripped).
 
-     <p>If <samp><span class="option">--with-multilib-list</span></samp> is not given, then a default set of
+          <p>If <samp><span class="option">--with-multilib-list</span></samp> is not given, then a default set of
 multilibs is selected based on the value of <samp><span class="option">--target</span></samp>.  This is
 usually the complete set of libraries, but some targets imply a more
 specialized subset.
 
-     <p>Example 1: to configure a compiler for SH4A only, but supporting both
+          <p>Example 1: to configure a compiler for SH4A only, but supporting both
 endians, with little endian being the default:
-     <pre class="smallexample">          --with-cpu=sh4a --with-endian=little,big --with-multilib-list=
+          <pre class="smallexample">               --with-cpu=sh4a --with-endian=little,big --with-multilib-list=
+</pre>
+          <p>Example 2: to configure a compiler for both SH4A and SH4AL-DSP, but with
+only little endian SH4AL:
+          <pre class="smallexample">               --with-cpu=sh4a --with-endian=little,big \
+               --with-multilib-list=sh4al,!mb/m4al
 </pre>
-     <p>Example 2: to configure a compiler for both SH4A and SH4AL-DSP, but with
-only little endian SH4AL:
-     <pre class="smallexample">          --with-cpu=sh4a --with-endian=little,big --with-multilib-list=sh4al,!mb/m4al
-</pre>
+          <br><dt><code>x86-64-*-linux*</code><dd><var>list</var> is a comma separated list of <code>m32</code>, <code>m64</code> and
+<code>mx32</code> to enable 32-bit, 64-bit and x32 run-time libraries,
+respectively.  If <var>list</var> is empty, then there will be no multilibs
+and only the default run-time library will be enabled.
+
+          <p>If <samp><span class="option">--with-multilib-list</span></samp> is not given, then only 32-bit and
+64-bit run-time libraries will be enabled. 
+</dl>
+
      <br><dt><code>--with-endian=</code><var>endians</var><dd>Specify what endians to use. 
 Currently only implemented for sh*-*-*.
 
@@ -498,24 +531,15 @@
           <dl>
 <dt><code>aix</code><dd>AIX thread support. 
 <br><dt><code>dce</code><dd>DCE thread support. 
-<br><dt><code>gnat</code><dd>Ada tasking support.  For non-Ada programs, this setting is equivalent
-to &lsquo;<samp><span class="samp">single</span></samp>&rsquo;.  When used in conjunction with the Ada run time, it
-causes GCC to use the same thread primitives as Ada uses.  This option
-is necessary when using both Ada and the back end exception handling,
-which is the default for most Ada targets. 
-<br><dt><code>mach</code><dd>Generic MACH thread support, known to work on NeXTSTEP.  (Please note
-that the file needed to support this configuration, <samp><span class="file">gthr-mach.h</span></samp>, is
-missing and thus this setting will cause a known bootstrap failure.) 
+<br><dt><code>lynx</code><dd>LynxOS thread support. 
+<br><dt><code>mipssde</code><dd>MIPS SDE thread support. 
 <br><dt><code>no</code><dd>This is an alias for &lsquo;<samp><span class="samp">single</span></samp>&rsquo;. 



Home | Main Index | Thread Index | Old Index