...
 
Commits (16)
.pc
gcc-*.tar.xz
gdc-*.tar.xz
bin
build
build-*
html
locales
src
stamps
bootstrap-*
debian/patches/series
debian/*.debhelper
debian/*.debhelper.log
debian/*.substvars
debian/gcc-XX-6.1
debian/gcc-ar-6.1
debian/gcc-nm-6.1
debian/gcc-ranlib-6.1
debian/g?j*-wrapper-6*
debian/tmp*
debian/files
debian/shlibs.local
debian/shlibs.common*
debian/substvars.local
debian/README.libstdc++-baseline
debian/README.Bugs
debian/README.Debian.*
debian/rules.parameters
debian/soname-cache
debian/arch_binaries*
debian/indep_binaries*
debian/*-6*.preinst
debian/*-6*.postinst
debian/*-6*.prerm
debian/*-6*.postrm
debian/*-6*.doc-base*
debian/*-6*.overrides
debian/lib*1.preinst
debian/lib*2.preinst
debian/lib*6.preinst
debian/lib*1.postinst
debian/lib*6.postinst
debian/lib*1.prerm
debian/lib*6.prerm
debian/cpp-6
debian/cpp-6-doc
debian/fixincludes
debian/g++-6
debian/gcc-6
debian/gcc-6-base
debian/gcc-6-doc
debian/gcc-6-source
debian/gcc-6-hppa64-linux-gnu
debian/gcc-6-locales
debian/gcc-6-nof
debian/gcc-6-offload-nvptx
debian/gcc-6-soft-float
debian/gcc-6-test-results
debian/gcc-snapshot
debian/gccgo-6
debian/gccgo-6-doc
debian/gdc-6
debian/gfortran-6
debian/gfortran-6-doc
debian/gnat-6
debian/gnat-6-sjlj
debian/gnat-6-base
debian/gnat-6-doc
debian/gobjc-6
debian/gobjc++-6
debian/g*-6-multilib
debian/gcc-6-plugin-dev
debian/lib*asan3
debian/lib*asan3-dbg
debian/lib*atomic1.symbols
debian/lib*atomic1
debian/lib*atomic1-dbg
debian/libcc1-0
debian/libgccjit-6-dev
debian/libgccjit-6-doc
debian/libgccjit0
debian/libgccjit0-dbg
debian/lib*gcc1.symbols
debian/lib*gcc[124]
debian/lib*gcc[124]-dbg
debian/lib*gcc-6-dev
debian/lib*gfortran3.symbols
debian/lib*gfortran3
debian/lib*gfortran3-dbg
debian/lib*gfortran-6-dev
debian/lib*go9
debian/lib*go9-dbg
debian/lib*gomp1.symbols
debian/lib*gomp1
debian/lib*gomp1-dbg
debian/lib*itm1.symbols
debian/lib*itm1
debian/lib*itm1-dbg
debian/lib*lsan0
debian/lib*lsan0-dbg
debian/lib*mpx2.symbols
debian/lib*mpx2
debian/lib*mpx2-dbg
debian/lib*objc4
debian/lib*objc4-dbg
debian/lib*objc-6-dev
debian/lib*ssp0
debian/lib*tsan0
debian/lib*tsan0-dbg
debian/lib*ubsan1
debian/lib*ubsan1-dbg
debian/lib*vtv0
debian/lib*vtv0-dbg
debian/libgnat-6
debian/libgnatvsn6
debian/libgnatprj6
debian/libgnat*6-dbg
debian/libgnat*6.overrides
debian/libgnat*6-dev
debian/libgomp1-dev
debian/lib*gphobos68
debian/lib*gphobos68-dbg
debian/lib*gphobos-6-dev
debian/lib*quadmath0.symbols
debian/lib*quadmath0
debian/lib*quadmath0-dbg
debian/libssp0-dev
debian/lib*stdc++6
debian/lib*stdc++6-6-dbg
debian/lib*stdc++-6-dev
debian/libstdc++-6-doc
debian/libstdc++-6-pic
debian/libgcj17*
File mode changed from 100644 to 100755
gcc-6 (6.5.0-3) UNRELEASED; urgency=medium
* libstdc++: Don't use C++11 syntax in file built in C++98 mode.
-- Matthias Klose <doko@debian.org> Mon, 12 Nov 2018 16:05:14 +0100
gcc-6 (6.5.0-2) unstable; urgency=medium
* Fix PR libstdc++/87822, taken from the bug report.
* Fix VCS attribute in the control file. Addresses: #912405.
-- Matthias Klose <doko@debian.org> Sat, 03 Nov 2018 18:04:37 +0100
gcc-6 (6.5.0-1) unstable; urgency=medium
* GCC 6.5.0 release.
* Refresh patches.
-- Matthias Klose <doko@debian.org> Fri, 26 Oct 2018 12:47:48 +0200
gcc-6 (6.4.0-23) unstable; urgency=medium
* GCC 6.5.0 release candidate.
* Update to SVN 20181019 (r265212) from the gcc-6-branch.
- Fix PR middle-end/86542, PR middle-end/86539, PR middle-end/86660,
PR sanitizer/84761, PR libstdc++/87641, PR libstdc++/86751,
PR libstdc++/87061, PR libstdc++/70966, PR libstdc++/70966,
PR libstdc++/77854, PR libstdc++/85098, PR middle-end/87623,
PR middle-end/87024, PR middle-end/86505, PR target/87550 (x86),
PR middle-end/87248, PR rtl-optimization/87065, PR middle-end/86627,
PR middle-end/86542, PR middle-end/86539, PR middle-end/86660,
PR c++/54278, PR tree-optimization/80032, PR tree-optimization/80032,
PR target/87517 (x86), PR target/87522 (x86), PR c++/3698, PR c++/86208.
* Don't configure native builds with --with-sysroot. Apparently this cannot
be completely overridden with the command line option --sysroot.
* Update VCS attributes in the control file.
-- Matthias Klose <doko@debian.org> Fri, 19 Oct 2018 15:00:42 +0200
gcc-6 (6.4.0-22) unstable; urgency=medium
* Update to SVN 20180921 (r264530) from the gcc-6-branch.
......
......@@ -23,8 +23,8 @@ Build-Depends: debhelper (>= 9.20141010), dpkg-dev (>= 1.17.14),
g++-6-alpha-linux-gnu [alpha] <cross>, gobjc-6-alpha-linux-gnu [alpha] <cross>, gfortran-6-alpha-linux-gnu [alpha] <cross>, gcj-6-alpha-linux-gnu [alpha] <cross>, gdc-6-alpha-linux-gnu [alpha] <cross>, gccgo-6-alpha-linux-gnu [alpha] <cross>, gnat-6-alpha-linux-gnu [alpha] <cross>, g++-6-x86-64-linux-gnu [amd64] <cross>, gobjc-6-x86-64-linux-gnu [amd64] <cross>, gfortran-6-x86-64-linux-gnu [amd64] <cross>, gcj-6-x86-64-linux-gnu [amd64] <cross>, gdc-6-x86-64-linux-gnu [amd64] <cross>, gccgo-6-x86-64-linux-gnu [amd64] <cross>, gnat-6-x86-64-linux-gnu [amd64] <cross>, g++-6-arm-linux-gnueabi [armel] <cross>, gobjc-6-arm-linux-gnueabi [armel] <cross>, gfortran-6-arm-linux-gnueabi [armel] <cross>, gcj-6-arm-linux-gnueabi [armel] <cross>, gdc-6-arm-linux-gnueabi [armel] <cross>, gccgo-6-arm-linux-gnueabi [armel] <cross>, gnat-6-arm-linux-gnueabi [armel] <cross>, g++-6-arm-linux-gnueabihf [armhf] <cross>, gobjc-6-arm-linux-gnueabihf [armhf] <cross>, gfortran-6-arm-linux-gnueabihf [armhf] <cross>, gcj-6-arm-linux-gnueabihf [armhf] <cross>, gdc-6-arm-linux-gnueabihf [armhf] <cross>, gccgo-6-arm-linux-gnueabihf [armhf] <cross>, gnat-6-arm-linux-gnueabihf [armhf] <cross>, g++-6-aarch64-linux-gnu [arm64] <cross>, gobjc-6-aarch64-linux-gnu [arm64] <cross>, gfortran-6-aarch64-linux-gnu [arm64] <cross>, gcj-6-aarch64-linux-gnu [arm64] <cross>, gdc-6-aarch64-linux-gnu [arm64] <cross>, gccgo-6-aarch64-linux-gnu [arm64] <cross>, gnat-6-aarch64-linux-gnu [arm64] <cross>, g++-6-i686-linux-gnu [i386] <cross>, gobjc-6-i686-linux-gnu [i386] <cross>, gfortran-6-i686-linux-gnu [i386] <cross>, gcj-6-i686-linux-gnu [i386] <cross>, gdc-6-i686-linux-gnu [i386] <cross>, gccgo-6-i686-linux-gnu [i386] <cross>, gnat-6-i686-linux-gnu [i386] <cross>, g++-6-mips-linux-gnu [mips] <cross>, gobjc-6-mips-linux-gnu [mips] <cross>, gfortran-6-mips-linux-gnu [mips] <cross>, gcj-6-mips-linux-gnu [mips] <cross>, gdc-6-mips-linux-gnu [mips] <cross>, gccgo-6-mips-linux-gnu [mips] <cross>, gnat-6-mips-linux-gnu [mips] <cross>, g++-6-mipsel-linux-gnu [mipsel] <cross>, gobjc-6-mipsel-linux-gnu [mipsel] <cross>, gfortran-6-mipsel-linux-gnu [mipsel] <cross>, gcj-6-mipsel-linux-gnu [mipsel] <cross>, gdc-6-mipsel-linux-gnu [mipsel] <cross>, gccgo-6-mipsel-linux-gnu [mipsel] <cross>, gnat-6-mipsel-linux-gnu [mipsel] <cross>, g++-6-mips64-linux-gnuabi64 [mips64] <cross>, gobjc-6-mips64-linux-gnuabi64 [mips64] <cross>, gfortran-6-mips64-linux-gnuabi64 [mips64] <cross>, gcj-6-mips64-linux-gnuabi64 [mips64] <cross>, gdc-6-mips64-linux-gnuabi64 [mips64] <cross>, gccgo-6-mips64-linux-gnuabi64 [mips64] <cross>, g++-6-mips64el-linux-gnuabi64 [mips64el] <cross>, gobjc-6-mips64el-linux-gnuabi64 [mips64el] <cross>, gfortran-6-mips64el-linux-gnuabi64 [mips64el] <cross>, gcj-6-mips64el-linux-gnuabi64 [mips64el] <cross>, gdc-6-mips64el-linux-gnuabi64 [mips64el] <cross>, gccgo-6-mips64el-linux-gnuabi64 [mips64el] <cross>, gnat-6-mips64el-linux-gnuabi64 [mips64el] <cross>, g++-6-mips64-linux-gnuabin32 [mipsn32] <cross>, gobjc-6-mips64-linux-gnuabin32 [mipsn32] <cross>, gfortran-6-mips64-linux-gnuabin32 [mipsn32] <cross>, gcj-6-mips64-linux-gnuabin32 [mipsn32] <cross>, gdc-6-mips64-linux-gnuabin32 [mipsn32] <cross>, gccgo-6-mips64-linux-gnuabin32 [mipsn32] <cross>, gnat-6-mips64-linux-gnuabin32 [mipsn32] <cross>, g++-6-powerpc-linux-gnu [powerpc] <cross>, gobjc-6-powerpc-linux-gnu [powerpc] <cross>, gfortran-6-powerpc-linux-gnu [powerpc] <cross>, gcj-6-powerpc-linux-gnu [powerpc] <cross>, gdc-6-powerpc-linux-gnu [powerpc] <cross>, gccgo-6-powerpc-linux-gnu [powerpc] <cross>, gnat-6-powerpc-linux-gnu [powerpc] <cross>, g++-6-powerpc64-linux-gnu [ppc64] <cross>, gobjc-6-powerpc64-linux-gnu [ppc64] <cross>, gfortran-6-powerpc64-linux-gnu [ppc64] <cross>, gcj-6-powerpc64-linux-gnu [ppc64] <cross>, gdc-6-powerpc64-linux-gnu [ppc64] <cross>, gccgo-6-powerpc64-linux-gnu [ppc64] <cross>, gnat-6-powerpc64-linux-gnu [ppc64] <cross>, g++-6-powerpc64le-linux-gnu [ppc64el] <cross>, gobjc-6-powerpc64le-linux-gnu [ppc64el] <cross>, gfortran-6-powerpc64le-linux-gnu [ppc64el] <cross>, gcj-6-powerpc64le-linux-gnu [ppc64el] <cross>, gdc-6-powerpc64le-linux-gnu [ppc64el] <cross>, gccgo-6-powerpc64le-linux-gnu [ppc64el] <cross>, gnat-6-powerpc64le-linux-gnu [ppc64el] <cross>, g++-6-m68k-linux-gnu [m68k] <cross>, gobjc-6-m68k-linux-gnu [m68k] <cross>, gfortran-6-m68k-linux-gnu [m68k] <cross>, gcj-6-m68k-linux-gnu [m68k] <cross>, gdc-6-m68k-linux-gnu [m68k] <cross>, g++-6-sh4-linux-gnu [sh4] <cross>, gobjc-6-sh4-linux-gnu [sh4] <cross>, gfortran-6-sh4-linux-gnu [sh4] <cross>, gcj-6-sh4-linux-gnu [sh4] <cross>, g++-6-sparc64-linux-gnu [sparc64] <cross>, gobjc-6-sparc64-linux-gnu [sparc64] <cross>, gfortran-6-sparc64-linux-gnu [sparc64] <cross>, gcj-6-sparc64-linux-gnu [sparc64] <cross>, gdc-6-sparc64-linux-gnu [sparc64] <cross>, gccgo-6-sparc64-linux-gnu [sparc64] <cross>, g++-6-s390x-linux-gnu [s390x] <cross>, gobjc-6-s390x-linux-gnu [s390x] <cross>, gfortran-6-s390x-linux-gnu [s390x] <cross>, gcj-6-s390x-linux-gnu [s390x] <cross>, gdc-6-s390x-linux-gnu [s390x] <cross>, gccgo-6-s390x-linux-gnu [s390x] <cross>, gnat-6-s390x-linux-gnu [s390x] <cross>, g++-6-x86-64-linux-gnux32 [x32] <cross>, gobjc-6-x86-64-linux-gnux32 [x32] <cross>, gfortran-6-x86-64-linux-gnux32 [x32] <cross>, gcj-6-x86-64-linux-gnux32 [x32] <cross>, gdc-6-x86-64-linux-gnux32 [x32] <cross>, gccgo-6-x86-64-linux-gnux32 [x32] <cross>, g++-6-mips64el-linux-gnuabin32 [mipsn32el] <cross>, gobjc-6-mips64el-linux-gnuabin32 [mipsn32el] <cross>, gfortran-6-mips64el-linux-gnuabin32 [mipsn32el] <cross>, gcj-6-mips64el-linux-gnuabin32 [mipsn32el] <cross>, gdc-6-mips64el-linux-gnuabin32 [mipsn32el] <cross>, gccgo-6-mips64el-linux-gnuabin32 [mipsn32el] <cross>, gnat-6-mips64el-linux-gnuabin32 [mipsn32el] <cross>, g++-6-mipsisa32r6-linux-gnu [mipsr6] <cross>, gobjc-6-mipsisa32r6-linux-gnu [mipsr6] <cross>, gfortran-6-mipsisa32r6-linux-gnu [mipsr6] <cross>, gcj-6-mipsisa32r6-linux-gnu [mipsr6] <cross>, gdc-6-mipsisa32r6-linux-gnu [mipsr6] <cross>, gccgo-6-mipsisa32r6-linux-gnu [mipsr6] <cross>, gnat-6-mipsisa32r6-linux-gnu [mipsr6] <cross>, g++-6-mipsisa32r6el-linux-gnu [mipsr6el] <cross>, gobjc-6-mipsisa32r6el-linux-gnu [mipsr6el] <cross>, gfortran-6-mipsisa32r6el-linux-gnu [mipsr6el] <cross>, gcj-6-mipsisa32r6el-linux-gnu [mipsr6el] <cross>, gdc-6-mipsisa32r6el-linux-gnu [mipsr6el] <cross>, gccgo-6-mipsisa32r6el-linux-gnu [mipsr6el] <cross>, gnat-6-mipsisa32r6el-linux-gnu [mipsr6el] <cross>, g++-6-mipsisa64r6-linux-gnuabi64 [mips64r6] <cross>, gobjc-6-mipsisa64r6-linux-gnuabi64 [mips64r6] <cross>, gfortran-6-mipsisa64r6-linux-gnuabi64 [mips64r6] <cross>, gcj-6-mipsisa64r6-linux-gnuabi64 [mips64r6] <cross>, gdc-6-mipsisa64r6-linux-gnuabi64 [mips64r6] <cross>, gccgo-6-mipsisa64r6-linux-gnuabi64 [mips64r6] <cross>, gnat-6-mipsisa64r6-linux-gnuabi64 [mips64r6] <cross>, g++-6-mipsisa64r6el-linux-gnuabi64 [mips64r6el] <cross>, gobjc-6-mipsisa64r6el-linux-gnuabi64 [mips64r6el] <cross>, gfortran-6-mipsisa64r6el-linux-gnuabi64 [mips64r6el] <cross>, gcj-6-mipsisa64r6el-linux-gnuabi64 [mips64r6el] <cross>, gdc-6-mipsisa64r6el-linux-gnuabi64 [mips64r6el] <cross>, gccgo-6-mipsisa64r6el-linux-gnuabi64 [mips64r6el] <cross>, gnat-6-mipsisa64r6el-linux-gnuabi64 [mips64r6el] <cross>, g++-6-mipsisa64r6-linux-gnuabin32 [mipsn32r6] <cross>, gobjc-6-mipsisa64r6-linux-gnuabin32 [mipsn32r6] <cross>, gfortran-6-mipsisa64r6-linux-gnuabin32 [mipsn32r6] <cross>, gcj-6-mipsisa64r6-linux-gnuabin32 [mipsn32r6] <cross>, gdc-6-mipsisa64r6-linux-gnuabin32 [mipsn32r6] <cross>, gccgo-6-mipsisa64r6-linux-gnuabin32 [mipsn32r6] <cross>, gnat-6-mipsisa64r6-linux-gnuabin32 [mipsn32r6] <cross>, g++-6-mipsisa64r6el-linux-gnuabin32 [mipsn32r6el] <cross>, gobjc-6-mipsisa64r6el-linux-gnuabin32 [mipsn32r6el] <cross>, gfortran-6-mipsisa64r6el-linux-gnuabin32 [mipsn32r6el] <cross>, gcj-6-mipsisa64r6el-linux-gnuabin32 [mipsn32r6el] <cross>, gdc-6-mipsisa64r6el-linux-gnuabin32 [mipsn32r6el] <cross>, gccgo-6-mipsisa64r6el-linux-gnuabin32 [mipsn32r6el] <cross>, gnat-6-mipsisa64r6el-linux-gnuabin32 [mipsn32r6el] <cross>,
Build-Depends-Indep: doxygen (>= 1.7.2), graphviz (>= 2.2), ghostscript, texlive-latex-base, xsltproc, libxml2-utils, docbook-xsl-ns,
Homepage: http://gcc.gnu.org/
Vcs-Browser: http://svn.debian.org/viewsvn/gcccvs/branches/sid/gcc-6/
Vcs-Svn: svn://anonscm.debian.org/gcccvs/branches/sid/gcc-6
Vcs-Browser: https://salsa.debian.org/toolchain-team/gcc/tree/gcc-6-debian
Vcs-Git: https://salsa.debian.org/toolchain-team/gcc.git -b gcc-6-debian
XS-Testsuite: autopkgtest
Package: gcc-6-base
......
......@@ -95,8 +95,8 @@ Homepage: http://gdcproject.org/
', `dnl
Homepage: http://gcc.gnu.org/
')dnl SRCNAME
Vcs-Browser: http://svn.debian.org/viewsvn/gcccvs/branches/sid/gcc`'PV/
Vcs-Svn: svn://anonscm.debian.org/gcccvs/branches/sid/gcc`'PV
Vcs-Browser: https://salsa.debian.org/toolchain-team/gcc/tree/gcc-6-debian
Vcs-Git: https://salsa.debian.org/toolchain-team/gcc.git -b gcc-6-debian
XS-Testsuite: autopkgtest
ifelse(regexp(SRCNAME, `gcc-snapshot'),0,`dnl
......
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
misc:Depends=
misc:Pre-Depends=
# pick up the exact version, in case another gcj version is installed
libgcj16-awt binary: binary-or-shlib-defines-rpath
libgcj16-dev binary: library-not-linked-against-libc
# pick up the exact version, in case another gcj version is installed
libgcj16 binary: binary-or-shlib-defines-rpath
# intended
libgcj16 binary: unused-shlib-entry-in-control-file
libgcj16 binary: shlibs-declares-dependency-on-other-package
# keep patched ltdl copy
libgcj16 binary: embedded-library
......@@ -41,6 +41,7 @@ is_IS ISO-8859-1
is_IS.UTF-8 UTF-8
it_IT ISO-8859-1
ja_JP.eucjp EUC-JP
nl_NL ISO-8859-1
se_NO.UTF-8 UTF-8
ta_IN UTF-8
zh_TW BIG5
......
File mode changed from 100644 to 100755
......@@ -13,8 +13,6 @@ Date: Wed Sep 21 23:35:50 2016 -0700
Mozilla Foundation, this tiny optimization was removed, in order
to avoid the possibility of undefined behavior.
diff --git a/inftrees.c b/inftrees.c
index 22fcd66..0d2670d 100644
--- a/src/zlib/inftrees.c
+++ b/src/zlib/inftrees.c
@@ -54,7 +54,7 @@ unsigned short FAR *work;
......
......@@ -12,8 +12,6 @@ Date: Wed Sep 21 22:25:21 2016 -0700
Mozilla Foundation, this "optimization" was removed, in order to
avoid the possibility of undefined behavior.
diff --git a/inffast.c b/inffast.c
index bda59ce..f0d163d 100644
--- a/src/zlib/inffast.c
+++ b/src/zlib/inffast.c
@@ -10,25 +10,6 @@
......@@ -42,7 +40,7 @@ index bda59ce..f0d163d 100644
/*
Decode literal, length, and distance codes and write out the resulting
literal and match bytes until either not enough input or output is
@@ -96,9 +77,9 @@ unsigned start; /* inflate()'s starting value for strm->avail_out */
@@ -96,9 +77,9 @@ unsigned start; /* inflate()'s s
/* copy state to local variables */
state = (struct inflate_state FAR *)strm->state;
......@@ -54,7 +52,7 @@ index bda59ce..f0d163d 100644
beg = out - (start - strm->avail_out);
end = out + (strm->avail_out - 257);
#ifdef INFLATE_STRICT
@@ -119,9 +100,9 @@ unsigned start; /* inflate()'s starting value for strm->avail_out */
@@ -119,9 +100,9 @@ unsigned start; /* inflate()'s s
input data or output space */
do {
if (bits < 15) {
......@@ -66,7 +64,7 @@ index bda59ce..f0d163d 100644
bits += 8;
}
here = lcode[hold & lmask];
@@ -134,14 +115,14 @@ unsigned start; /* inflate()'s starting value for strm->avail_out */
@@ -134,14 +115,14 @@ unsigned start; /* inflate()'s s
Tracevv((stderr, here.val >= 0x20 && here.val < 0x7f ?
"inflate: literal '%c'\n" :
"inflate: literal 0x%02x\n", here.val));
......@@ -83,7 +81,7 @@ index bda59ce..f0d163d 100644
bits += 8;
}
len += (unsigned)hold & ((1U << op) - 1);
@@ -150,9 +131,9 @@ unsigned start; /* inflate()'s starting value for strm->avail_out */
@@ -150,9 +131,9 @@ unsigned start; /* inflate()'s s
}
Tracevv((stderr, "inflate: length %u\n", len));
if (bits < 15) {
......@@ -95,7 +93,7 @@ index bda59ce..f0d163d 100644
bits += 8;
}
here = dcode[hold & dmask];
@@ -165,10 +146,10 @@ unsigned start; /* inflate()'s starting value for strm->avail_out */
@@ -165,10 +146,10 @@ unsigned start; /* inflate()'s s
dist = (unsigned)(here.val);
op &= 15; /* number of extra bits */
if (bits < op) {
......@@ -108,7 +106,7 @@ index bda59ce..f0d163d 100644
bits += 8;
}
}
@@ -196,30 +177,30 @@ unsigned start; /* inflate()'s starting value for strm->avail_out */
@@ -196,30 +177,30 @@ unsigned start; /* inflate()'s s
#ifdef INFLATE_ALLOW_INVALID_DISTANCE_TOOFAR_ARRR
if (len <= op - whave) {
do {
......@@ -144,7 +142,7 @@ index bda59ce..f0d163d 100644
} while (--op);
from = out - dist; /* rest from output */
}
@@ -230,14 +211,14 @@ unsigned start; /* inflate()'s starting value for strm->avail_out */
@@ -230,14 +211,14 @@ unsigned start; /* inflate()'s s
if (op < len) { /* some from end of window */
len -= op;
do {
......@@ -162,7 +160,7 @@ index bda59ce..f0d163d 100644
} while (--op);
from = out - dist; /* rest from output */
}
@@ -248,35 +229,35 @@ unsigned start; /* inflate()'s starting value for strm->avail_out */
@@ -248,35 +229,35 @@ unsigned start; /* inflate()'s s
if (op < len) { /* some from window */
len -= op;
do {
......@@ -209,7 +207,7 @@ index bda59ce..f0d163d 100644
}
}
}
@@ -313,8 +294,8 @@ unsigned start; /* inflate()'s starting value for strm->avail_out */
@@ -313,8 +294,8 @@ unsigned start; /* inflate()'s s
hold &= (1U << bits) - 1;
/* update state and return */
......
......@@ -8,8 +8,6 @@ Date: Sat Sep 5 17:45:55 2015 -0700
undefined. This casts to unsigned values to assure a known
result.
Index: b/src/zlib/inflate.c
===================================================================
--- a/src/zlib/inflate.c
+++ b/src/zlib/inflate.c
@@ -1504,9 +1504,10 @@ z_streamp strm;
......
......@@ -16,11 +16,9 @@ Date: Wed Sep 28 20:20:25 2016 -0700
Mozilla Foundation, this "optimization" was removed, in order to
avoid the possibility of undefined behavior.
diff --git a/crc32.c b/crc32.c
index 979a719..05733f4 100644
--- a/src/zlib/crc32.c
+++ b/src/zlib/crc32.c
@@ -278,7 +278,7 @@ local unsigned long crc32_little(crc, buf, len)
@@ -278,7 +278,7 @@ local unsigned long crc32_little(crc, bu
}
/* ========================================================================= */
......@@ -29,7 +27,7 @@ index 979a719..05733f4 100644
c = crc_table[4][c & 0xff] ^ crc_table[5][(c >> 8) & 0xff] ^ \
crc_table[6][(c >> 16) & 0xff] ^ crc_table[7][c >> 24]
#define DOBIG32 DOBIG4; DOBIG4; DOBIG4; DOBIG4; DOBIG4; DOBIG4; DOBIG4; DOBIG4
@@ -300,7 +300,6 @@ local unsigned long crc32_big(crc, buf, len)
@@ -300,7 +300,6 @@ local unsigned long crc32_big(crc, buf,
}
buf4 = (const z_crc_t FAR *)(const void FAR *)buf;
......@@ -37,7 +35,7 @@ index 979a719..05733f4 100644
while (len >= 32) {
DOBIG32;
len -= 32;
@@ -309,7 +308,6 @@ local unsigned long crc32_big(crc, buf, len)
@@ -309,7 +308,6 @@ local unsigned long crc32_big(crc, buf,
DOBIG4;
len -= 4;
}
......
......@@ -14,8 +14,6 @@ Description: Constraint_Error, range check failed at gnatlink.adb:2195, when cal
investigation is required to determine whether or not to forward this
bug and patch upstream.
Index: b/src/gcc/ada/gnatlink.adb
===================================================================
--- a/src/gcc/ada/gnatlink.adb
+++ b/src/gcc/ada/gnatlink.adb
@@ -267,7 +267,12 @@ procedure Gnatlink is
......
......@@ -2,8 +2,6 @@
# DP: directory (build/gnattools), and for the shared libraries in
# DP: build/gcc/ada/rts, build/libgnatvsn and build/libgnatprj.
Index: b/src/gcc/testsuite/ada/acats/run_acats
===================================================================
--- a/src/gcc/testsuite/ada/acats/run_acats
+++ b/src/gcc/testsuite/ada/acats/run_acats
@@ -20,52 +20,30 @@ which () {
......@@ -75,8 +73,6 @@ Index: b/src/gcc/testsuite/ada/acats/run_acats
# Limit the stack to 16MB for stack checking
ulimit -s 16384
Index: b/src/gcc/testsuite/ada/acats/run_all.sh
===================================================================
--- a/src/gcc/testsuite/ada/acats/run_all.sh
+++ b/src/gcc/testsuite/ada/acats/run_all.sh
@@ -1,4 +1,5 @@
......@@ -135,8 +131,6 @@ Index: b/src/gcc/testsuite/ada/acats/run_all.sh
echo target_bit="$target_bit" >> $dir/acats.log
# Find out a suitable asm statement
Index: b/src/gcc/testsuite/lib/gnat.exp
===================================================================
--- a/src/gcc/testsuite/lib/gnat.exp
+++ b/src/gcc/testsuite/lib/gnat.exp
@@ -88,18 +88,25 @@ proc gnat_init { args } {
......
DP: Improve support for ZCX on arm.
Index: b/src/gcc/ada/gcc-interface/Makefile.in
===================================================================
--- a/src/gcc/ada/gcc-interface/Makefile.in
+++ b/src/gcc/ada/gcc-interface/Makefile.in
@@ -1992,7 +1992,10 @@ ifeq ($(strip $(filter-out arm% linux-gn
......
# DP: - Change the default search path for project files to the one specified
# DP: by the Debian Policy for Ada: /usr/share/ada/adainclude.
Index: b/src/gcc/ada/Make-generated.in
===================================================================
--- a/src/gcc/ada/Make-generated.in
+++ b/src/gcc/ada/Make-generated.in
@@ -76,6 +76,7 @@ $(ADA_GEN_SUBDIR)/stamp-sdefault : $(src
......@@ -24,8 +22,6 @@ Index: b/src/gcc/ada/Make-generated.in
$(ECHO) "end Sdefault;" >> tmp-sdefault.adb
$(MOVE_IF_CHANGE) tmp-sdefault.adb $(ADA_GEN_SUBDIR)/sdefault.adb
touch $(ADA_GEN_SUBDIR)/stamp-sdefault
Index: b/src/gcc/ada/prj-env.adb
===================================================================
--- a/src/gcc/ada/prj-env.adb
+++ b/src/gcc/ada/prj-env.adb
@@ -1877,6 +1877,7 @@ package body Prj.Env is
......@@ -122,8 +118,6 @@ Index: b/src/gcc/ada/prj-env.adb
end if;
Self.Path := new String'(Name_Buffer (1 .. Name_Len));
Index: b/src/gcc/ada/sdefault.ads
===================================================================
--- a/src/gcc/ada/sdefault.ads
+++ b/src/gcc/ada/sdefault.ads
@@ -35,4 +35,5 @@ package Sdefault is
......
# DP: Simplify Ada driver check (we always build using the required
# DP: Ada version. Needed for warnings on alpha.
Index: b/src/config/acx.m4
===================================================================
--- a/src/config/acx.m4
+++ b/src/config/acx.m4
@@ -381,7 +381,7 @@ acx_cv_cc_gcc_supports_ada=no
......@@ -14,8 +12,6 @@ Index: b/src/config/acx.m4
if test x"$errors" = x && test -f conftest.$ac_objext; then
acx_cv_cc_gcc_supports_ada=yes
fi
Index: b/src/configure
===================================================================
--- a/src/configure
+++ b/src/configure
@@ -5358,7 +5358,7 @@ acx_cv_cc_gcc_supports_ada=no
......
......@@ -2,7 +2,7 @@
--- a/src/gcc/ada/gnatlink.adb
+++ b/src/gcc/ada/gnatlink.adb
@@ -136,7 +136,8 @@
@@ -136,7 +136,8 @@ procedure Gnatlink is
-- This table collects the arguments to be passed to compile the binder
-- generated file.
......@@ -12,7 +12,7 @@
Read_Mode : constant String := "r" & ASCII.NUL;
@@ -1412,7 +1413,8 @@
@@ -1412,7 +1413,8 @@ procedure Gnatlink is
end if;
Write_Line (" --GCC=comp Use comp as the compiler");
......@@ -24,7 +24,7 @@
Write_Line (" [linker-options] other options for the linker");
--- a/src/gcc/ada/make.adb
+++ b/src/gcc/ada/make.adb
@@ -667,9 +667,12 @@
@@ -667,9 +667,12 @@ package body Make is
-- Compiler, Binder & Linker Data and Subprograms --
----------------------------------------------------
......@@ -42,7 +42,7 @@
Globalizer : constant String := "codepeer_globalizer";
--- a/src/gcc/ada/gnatchop.adb
+++ b/src/gcc/ada/gnatchop.adb
@@ -36,6 +36,7 @@
@@ -36,6 +36,7 @@ with GNAT.OS_Lib; use GNA
with GNAT.Heap_Sort_G;
with GNAT.Table;
......@@ -50,7 +50,7 @@
with Switch; use Switch;
with Types;
@@ -44,7 +45,7 @@
@@ -44,7 +45,7 @@ procedure Gnatchop is
Config_File_Name : constant String_Access := new String'("gnat.adc");
-- The name of the file holding the GNAT configuration pragmas
......@@ -61,7 +61,7 @@
Gcc_Set : Boolean := False;
--- a/src/gcc/ada/mdll-utl.adb
+++ b/src/gcc/ada/mdll-utl.adb
@@ -29,6 +29,7 @@
@@ -29,6 +29,7 @@ with Ada.Text_IO;
with Ada.Exceptions;
with GNAT.Directory_Operations;
......@@ -69,7 +69,7 @@
with Osint;
package body MDLL.Utl is
@@ -39,7 +40,7 @@
@@ -39,7 +40,7 @@ package body MDLL.Utl is
Dlltool_Name : constant String := "dlltool";
Dlltool_Exec : OS_Lib.String_Access;
......@@ -78,7 +78,7 @@
Gcc_Exec : OS_Lib.String_Access;
Gnatbind_Name : constant String := "gnatbind";
@@ -212,7 +213,7 @@
@@ -212,7 +213,7 @@ package body MDLL.Utl is
end;
end if;
......@@ -97,7 +97,7 @@
with MLib.Fil; use MLib.Fil;
with MLib.Tgt; use MLib.Tgt;
with Opt;
@@ -446,7 +447,8 @@
@@ -446,7 +447,8 @@ package body MLib.Utl is
if Driver_Name = No_Name then
if Gcc_Exec = null then
if Gcc_Name = null then
......@@ -117,7 +117,7 @@
with Makeutl; use Makeutl;
with Opt;
with Output;
@@ -115,7 +116,7 @@
@@ -115,7 +116,7 @@ package body Prj.Makr is
procedure Dup2 (Old_Fd, New_Fd : File_Descriptor);
......
......@@ -5,8 +5,6 @@
# DP: This link will be done by /usr/bin/$(host_alias)-gnat*, thus
# DP: the native gnat with the same major version will be required.
Index: b/src/gcc/ada/gcc-interface/Makefile.in
===================================================================
--- a/src/gcc/ada/gcc-interface/Makefile.in
+++ b/src/gcc/ada/gcc-interface/Makefile.in
@@ -102,7 +102,7 @@ INSTALL_DATA_DATE = cp -p
......@@ -529,8 +527,6 @@ Index: b/src/gcc/ada/gcc-interface/Makefile.in
# In GNU Make, ignore whether `stage*' exists.
.PHONY: stage1 stage2 stage3 stage4 clean realclean TAGS bootstrap
.PHONY: risky-stage1 risky-stage2 risky-stage3 risky-stage4
Index: b/src/gnattools/Makefile.in
===================================================================
--- a/src/gnattools/Makefile.in
+++ b/src/gnattools/Makefile.in
@@ -52,7 +52,7 @@ WARN_CFLAGS = @warn_cflags@
......
# DP: Link gnat tools with the defaults LDFLAGS
Index: b/src/gcc/ada/gcc-interface/Makefile.in
===================================================================
--- a/src/gcc/ada/gcc-interface/Makefile.in
+++ b/src/gcc/ada/gcc-interface/Makefile.in
@@ -111,6 +111,7 @@ NO_SIBLING_ADAFLAGS = -fno-optimize-sibl
......
# DP: add support for GNU/kFreeBSD.
Index: b/src/gcc/ada/terminals.c
===================================================================
--- a/src/gcc/ada/terminals.c
+++ b/src/gcc/ada/terminals.c
@@ -1071,7 +1071,8 @@ __gnat_setup_winsize (void *desc, int ro
......@@ -14,8 +12,6 @@ Index: b/src/gcc/ada/terminals.c
# include <termio.h>
#endif
Index: b/src/gcc/ada/s-osinte-kfreebsd-gnu.adb
===================================================================
--- /dev/null
+++ b/src/gcc/ada/s-osinte-kfreebsd-gnu.adb
@@ -0,0 +1,158 @@
......@@ -177,8 +173,6 @@ Index: b/src/gcc/ada/s-osinte-kfreebsd-gnu.adb
+ end To_Timespec;
+
+end System.OS_Interface;
Index: b/src/gcc/ada/gcc-interface/Makefile.in
===================================================================
--- a/src/gcc/ada/gcc-interface/Makefile.in
+++ b/src/gcc/ada/gcc-interface/Makefile.in
@@ -1397,7 +1397,7 @@ ifeq ($(strip $(filter-out %86 kfreebsd%
......@@ -199,8 +193,6 @@ Index: b/src/gcc/ada/gcc-interface/Makefile.in
s-osinte.ads<s-osinte-kfreebsd-gnu.ads \
s-osprim.adb<s-osprim-posix.adb \
s-taprop.adb<s-taprop-posix.adb \
Index: b/src/gcc/ada/s-osinte-kfreebsd-gnu.ads
===================================================================
--- a/src/gcc/ada/s-osinte-kfreebsd-gnu.ads
+++ b/src/gcc/ada/s-osinte-kfreebsd-gnu.ads
@@ -45,6 +45,7 @@ package System.OS_Interface is
......@@ -279,8 +271,6 @@ Index: b/src/gcc/ada/s-osinte-kfreebsd-gnu.ads
type pthread_attr_t is record
detachstate : int;
schedpolicy : int;
Index: b/src/gcc/ada/gsocket.h
===================================================================
--- a/src/gcc/ada/gsocket.h
+++ b/src/gcc/ada/gsocket.h
@@ -243,6 +243,7 @@
......@@ -291,8 +281,6 @@ Index: b/src/gcc/ada/gsocket.h
|| defined (__DragonFly__) || defined (__NetBSD__) || defined (__OpenBSD__)
# define Has_Sockaddr_Len 1
#else
Index: b/src/gcc/ada/s-oscons-tmplt.c
===================================================================
--- a/src/gcc/ada/s-oscons-tmplt.c
+++ b/src/gcc/ada/s-oscons-tmplt.c
@@ -1436,7 +1436,7 @@ CND(CLOCK_FASTEST, "Fastest clock")
......
......@@ -9,8 +9,6 @@ t
# !!! Must be applied after ada-libgnatvsn.dpatch
Index: b/src/gcc/ada/gcc-interface/config-lang.in
===================================================================
--- a/src/gcc/ada/gcc-interface/config-lang.in
+++ b/src/gcc/ada/gcc-interface/config-lang.in
@@ -34,8 +34,8 @@ gtfiles="\$(srcdir)/ada/gcc-interface/ad
......@@ -24,8 +22,6 @@ Index: b/src/gcc/ada/gcc-interface/config-lang.in
# Ada is not enabled by default for the time being.
build_by_default=no
Index: b/src/libgnatprj/Makefile.in
===================================================================
--- /dev/null
+++ b/src/libgnatprj/Makefile.in
@@ -0,0 +1,180 @@
......@@ -209,8 +205,6 @@ Index: b/src/libgnatprj/Makefile.in
+.PHONY: clean
+clean:
+ rm -rf *.ali obj-static obj-shared libgnatprj* *.adb *.ads stamp*
Index: b/src/libgnatprj/targetm.c
===================================================================
--- /dev/null
+++ b/src/libgnatprj/targetm.c
@@ -0,0 +1,7 @@
......@@ -221,8 +215,6 @@ Index: b/src/libgnatprj/targetm.c
+#include "common/common-target-def.h"
+
+struct gcc_targetm_common targetm_common = TARGETM_COMMON_INITIALIZER;
Index: b/src/Makefile.def
===================================================================
--- a/src/Makefile.def
+++ b/src/Makefile.def
@@ -190,6 +190,13 @@ target_modules = { module= libgnatvsn; n
......@@ -252,8 +244,6 @@ Index: b/src/Makefile.def
// Depending on the specific configuration, the LTO plugin will either use the
// generic libiberty build or the specific build for linker plugins.
Index: b/src/configure.ac
===================================================================
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -178,6 +178,7 @@ target_libraries="target-libgcc \
......@@ -273,8 +263,6 @@ Index: b/src/configure.ac
fi
AC_ARG_ENABLE(libssp,
Index: b/src/libgnatprj/configure.ac
===================================================================
--- /dev/null
+++ b/src/libgnatprj/configure.ac
@@ -0,0 +1,557 @@
......@@ -835,8 +823,6 @@ Index: b/src/libgnatprj/configure.ac
+AC_CONFIG_FILES([Makefile])
+
+AC_OUTPUT
Index: b/src/Makefile.in
===================================================================
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -977,6 +977,7 @@ configure-target: \
......@@ -1392,8 +1378,6 @@ Index: b/src/Makefile.in
configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
Index: b/src/libgnatprj/config.in
===================================================================
--- /dev/null
+++ b/src/libgnatprj/config.in
@@ -0,0 +1,565 @@
......@@ -1962,8 +1946,6 @@ Index: b/src/libgnatprj/config.in
+
+/* Define as `fork' if `vfork' does not work. */
+#undef vfork
Index: b/src/gcc/prefix.c
===================================================================
--- a/src/gcc/prefix.c
+++ b/src/gcc/prefix.c
@@ -70,7 +70,10 @@ License along with GCC; see the file COP
......
......@@ -8,8 +8,6 @@
# !!! Must be applied after ada-link-lib.dpatch
Index: b/src/libgnatvsn/configure
===================================================================
--- /dev/null
+++ b/src/libgnatvsn/configure
@@ -0,0 +1,47 @@
......@@ -60,8 +58,6 @@ Index: b/src/libgnatvsn/configure
+ -e "s,@PKGVERSION@,${pkgversion},g" \
+ -e "s,@REPORT_BUGS_TO@,${bugurl},g" \
+ < ${srcdir}/Makefile.in > Makefile
Index: b/src/libgnatvsn/Makefile.in
===================================================================
--- /dev/null
+++ b/src/libgnatvsn/Makefile.in
@@ -0,0 +1,153 @@
......@@ -218,8 +214,6 @@ Index: b/src/libgnatvsn/Makefile.in
+.PHONY: clean
+clean:
+ rm -rf *.ali obj-static obj-shared libgnatvsn* *.adb *.ads stamp*
Index: b/src/Makefile.def
===================================================================
--- a/src/Makefile.def
+++ b/src/Makefile.def
@@ -183,6 +183,13 @@ target_modules = { module= libada; no_in
......@@ -245,8 +239,6 @@ Index: b/src/Makefile.def
dependencies = { module=all-gnattools; on=all-target-libstdc++-v3; };
// Depending on the specific configuration, the LTO plugin will either use the
Index: b/src/configure.ac
===================================================================
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -177,6 +177,7 @@ target_libraries="target-libgcc \
......@@ -266,8 +258,6 @@ Index: b/src/configure.ac
fi
AC_ARG_ENABLE(libssp,
Index: b/src/gcc/ada/gcc-interface/config-lang.in
===================================================================
--- a/src/gcc/ada/gcc-interface/config-lang.in
+++ b/src/gcc/ada/gcc-interface/config-lang.in
@@ -34,8 +34,8 @@ gtfiles="\$(srcdir)/ada/gcc-interface/ad
......@@ -281,8 +271,6 @@ Index: b/src/gcc/ada/gcc-interface/config-lang.in
# Ada is not enabled by default for the time being.
build_by_default=no
Index: b/src/Makefile.in
===================================================================
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -976,6 +976,7 @@ configure-target: \
......
......@@ -2,8 +2,6 @@
# DP: the soname of libraries; do not strip minor version numbers
# DP: (PR ada/40025).
Index: b/src/gcc/ada/mlib-tgt-specific-linux.adb
===================================================================
--- a/src/gcc/ada/mlib-tgt-specific-linux.adb
+++ b/src/gcc/ada/mlib-tgt-specific-linux.adb
@@ -50,6 +50,8 @@ package body MLib.Tgt.Specific is
......@@ -34,8 +32,6 @@ Index: b/src/gcc/ada/mlib-tgt-specific-linux.adb
+ Library_Major_Minor_Id_Supported_Ptr :=
+ Library_Major_Minor_Id_Supported'Access;
end MLib.Tgt.Specific;
Index: b/src/gcc/ada/mlib.adb
===================================================================
--- a/src/gcc/ada/mlib.adb
+++ b/src/gcc/ada/mlib.adb
@@ -30,6 +30,7 @@ with System;
......
......@@ -11,8 +11,6 @@
# This patch seems large, but the hunks in Makefile.in are actually
# generated from Makefile.def using autogen.
Index: b/src/gcc/ada/gcc-interface/config-lang.in
===================================================================
--- a/src/gcc/ada/gcc-interface/config-lang.in
+++ b/src/gcc/ada/gcc-interface/config-lang.in
@@ -35,7 +35,7 @@ gtfiles="\$(srcdir)/ada/gcc-interface/ad
......@@ -24,8 +22,6 @@ Index: b/src/gcc/ada/gcc-interface/config-lang.in
# Ada is not enabled by default for the time being.
build_by_default=no
Index: b/src/gcc/ada/link.c
===================================================================
--- a/src/gcc/ada/link.c
+++ b/src/gcc/ada/link.c
@@ -106,9 +106,9 @@ const char *__gnat_default_libgcc_subdir
......@@ -54,8 +50,6 @@ Index: b/src/gcc/ada/link.c
int __gnat_link_max = 8192;
unsigned char __gnat_objlist_file_supported = 1;
const char *__gnat_object_library_extension = ".a";
Index: b/src/libada/Makefile.in
===================================================================
--- a/src/libada/Makefile.in
+++ b/src/libada/Makefile.in
@@ -60,7 +60,7 @@ CFLAGS=-g
......@@ -67,8 +61,6 @@ Index: b/src/libada/Makefile.in
-fexceptions -DIN_RTS @have_getipinfo@
host_subdir = @host_subdir@
Index: b/src/Makefile.def
===================================================================
--- a/src/Makefile.def
+++ b/src/Makefile.def
@@ -121,7 +121,13 @@ host_modules= { module= libtermcap; no_c
......@@ -115,8 +107,6 @@ Index: b/src/Makefile.def
dependencies = { module=all-gnattools; on=all-target-libada; };
dependencies = { module=all-gnattools; on=all-target-libstdc++-v3; };
Index: b/src/Makefile.in
===================================================================
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -970,6 +970,7 @@ configure-target: \
......@@ -1139,8 +1129,6 @@ Index: b/src/Makefile.in
configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
configure-target-libjava: maybe-all-target-libstdc++-v3
Index: b/src/configure.ac
===================================================================
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -148,6 +148,11 @@ libgcj="target-libffi \
......@@ -1163,8 +1151,6 @@ Index: b/src/configure.ac
target-libgo"
# these tools are built using the target libraries, and are intended to
Index: b/src/gcc/ada/gcc-interface/Make-lang.in
===================================================================
--- a/src/gcc/ada/gcc-interface/Make-lang.in
+++ b/src/gcc/ada/gcc-interface/Make-lang.in
@@ -58,11 +58,7 @@ WARN_ADAFLAGS= -W -Wall
......
# DP: In gnatlink, pass the options and libraries after objects to the
# DP: linker to avoid link failures with --as-needed. Closes: #680292.
Index: b/src/gcc/ada/mlib-tgt-specific-linux.adb
===================================================================
--- a/src/gcc/ada/mlib-tgt-specific-linux.adb
+++ b/src/gcc/ada/mlib-tgt-specific-linux.adb
@@ -81,19 +81,54 @@ package body MLib.Tgt.Specific is
......
# DP: Improve support for mips.
Index: b/src/gcc/ada/gcc-interface/Makefile.in
===================================================================
--- a/src/gcc/ada/gcc-interface/Makefile.in
+++ b/src/gcc/ada/gcc-interface/Makefile.in
@@ -1906,10 +1906,15 @@ ifeq ($(strip $(filter-out mips linux%,$
......
......@@ -3,8 +3,6 @@
# DP: with earlier uploads of libgnatvsn5. This patch shall be removed in the next
# DP: major version of GNAT.
Index: b/src/gcc/ada/uintp.adb
===================================================================
--- a/src/gcc/ada/uintp.adb
+++ b/src/gcc/ada/uintp.adb
@@ -171,6 +171,22 @@ package body Uintp is
......@@ -30,8 +28,6 @@ Index: b/src/gcc/ada/uintp.adb
------------
-- Direct --
------------
Index: b/src/gcc/ada/uintp.ads
===================================================================
--- a/src/gcc/ada/uintp.ads
+++ b/src/gcc/ada/uintp.ads
@@ -90,18 +90,6 @@ package Uintp is
......
Index: b/src/libada-sjlj/Makefile.in
===================================================================
--- /dev/null
+++ b/src/libada-sjlj/Makefile.in
@@ -0,0 +1,201 @@
......@@ -204,8 +202,6 @@ Index: b/src/libada-sjlj/Makefile.in
+# Don't export variables to the environment, in order to not confuse
+# configure.
+.NOEXPORT:
Index: b/src/libada-sjlj/configure.ac
===================================================================
--- /dev/null
+++ b/src/libada-sjlj/configure.ac
@@ -0,0 +1,140 @@
......@@ -349,8 +345,6 @@ Index: b/src/libada-sjlj/configure.ac
+AC_CONFIG_FILES([Makefile])
+
+AC_OUTPUT
Index: b/src/Makefile.def
===================================================================
--- a/src/Makefile.def
+++ b/src/Makefile.def
@@ -183,6 +183,13 @@ target_modules = { module= libada; no_in
......@@ -375,8 +369,6 @@ Index: b/src/Makefile.def
dependencies = { module=all-gnattools; on=all-target-libada; };
dependencies = { module=all-gnattools; on=all-target-libgnatvsn; };
dependencies = { module=all-gnattools; on=all-target-libgnatprj; };
Index: b/src/Makefile.in
===================================================================
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -976,6 +976,7 @@ configure-target: \
......@@ -917,8 +909,6 @@ Index: b/src/Makefile.in
configure-target-libgnatvsn: maybe-all-target-newlib maybe-all-target-libgloss
configure-target-libgnatprj: maybe-all-target-newlib maybe-all-target-libgloss
Index: b/src/configure.ac
===================================================================
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -176,6 +176,7 @@ target_libraries="target-libgcc \
......@@ -938,8 +928,6 @@ Index: b/src/configure.ac
fi
AC_ARG_ENABLE(libssp,
Index: b/src/gcc/ada/gcc-interface/Makefile.in
===================================================================
--- a/src/gcc/ada/gcc-interface/Makefile.in
+++ b/src/gcc/ada/gcc-interface/Makefile.in
@@ -192,7 +192,7 @@ TOOLSCASE =
......@@ -1005,8 +993,6 @@ Index: b/src/gcc/ada/gcc-interface/Makefile.in
# Special flags
Index: b/src/gcc/ada/gcc-interface/config-lang.in
===================================================================
--- a/src/gcc/ada/gcc-interface/config-lang.in
+++ b/src/gcc/ada/gcc-interface/config-lang.in
@@ -34,8 +34,8 @@ gtfiles="\$(srcdir)/ada/gcc-interface/ad
......@@ -1020,8 +1006,6 @@ Index: b/src/gcc/ada/gcc-interface/config-lang.in
# Ada is not enabled by default for the time being.
build_by_default=no
Index: b/src/gcc/ada/gcc-interface/Make-lang.in
===================================================================
--- a/src/gcc/ada/gcc-interface/Make-lang.in
+++ b/src/gcc/ada/gcc-interface/Make-lang.in
@@ -784,6 +784,7 @@ ada.install-common:
......
......@@ -4,8 +4,6 @@
gcc/config/alpha/alpha.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
Index: b/src/gcc/config/alpha/alpha.c
===================================================================
--- a/src/gcc/config/alpha/alpha.c
+++ b/src/gcc/config/alpha/alpha.c
@@ -9460,7 +9460,7 @@ alpha_file_start (void)
......
# DP: Set MULTILIB_DEFAULTS for ARM multilib builds
Index: b/src/gcc/config.gcc
===================================================================
--- a/src/gcc/config.gcc
+++ b/src/gcc/config.gcc
@@ -3743,10 +3743,18 @@ case "${target}" in
@@ -3747,10 +3747,18 @@ case "${target}" in
fi
case "$with_float" in
......@@ -25,7 +23,7 @@ Index: b/src/gcc/config.gcc
*)
echo "Unknown floating point type used in --with-float=$with_float" 1>&2
exit 1
@@ -3780,6 +3788,9 @@ case "${target}" in
@@ -3784,6 +3792,9 @@ case "${target}" in
"" \
| arm | thumb )
#OK
......@@ -35,8 +33,6 @@ Index: b/src/gcc/config.gcc
;;
*)
echo "Unknown mode used in --with-mode=$with_mode"
Index: b/src/gcc/config/arm/linux-eabi.h
===================================================================
--- a/src/gcc/config/arm/linux-eabi.h
+++ b/src/gcc/config/arm/linux-eabi.h
@@ -43,7 +43,21 @@
......
# DP: ARM hard/soft float multilib support
Index: b/src/gcc/config/arm/t-linux-eabi
===================================================================
--- a/src/gcc/config/arm/t-linux-eabi
+++ b/src/gcc/config/arm/t-linux-eabi
@@ -23,6 +23,20 @@
......
......@@ -14,8 +14,8 @@ Origin: http://llvm.org/svn/llvm-project/compiler-rt/trunk@275792
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1709727
Applied-Upstream: svn://gcc.gnu.org/svn/gcc/trunk@241977
--- a/src/libsanitizer/sanitizer_common/sanitizer_platform.h 2015-11-23 09:07:18.342543000 +0000
+++ b/src/libsanitizer/sanitizer_common/sanitizer_platform.h 2017-08-09 21:13:12.883595484 +0000
--- a/src/libsanitizer/sanitizer_common/sanitizer_platform.h
+++ b/src/libsanitizer/sanitizer_common/sanitizer_platform.h
@@ -107,6 +107,8 @@
// will still work but will consume more memory for TwoLevelByteMap.
#if defined(__mips__)
......
......@@ -4,8 +4,6 @@
boehm-gc/pthread_support.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Index: b/src/boehm-gc/pthread_support.c
===================================================================
--- a/src/boehm-gc/pthread_support.c
+++ b/src/boehm-gc/pthread_support.c
@@ -724,7 +724,8 @@ int GC_get_nprocs()
......
# DP: Don't use any relative path names for the standard include paths.
Index: b/src/gcc/incpath.c
===================================================================
--- a/src/gcc/incpath.c
+++ b/src/gcc/incpath.c
@@ -171,6 +171,14 @@ add_standard_paths (const char *sysroot,
......
......@@ -15,8 +15,6 @@ Change-Id: I1e8a72b5314261973ca903c78834700fb113dde9
src/cmd/go/build.go | 63 ++++++++++++++++++++++++-----------------------------
1 file changed, 29 insertions(+), 34 deletions(-)
Index: b/src/libgo/go/cmd/go/build.go
===================================================================
--- a/src/libgo/go/cmd/go/build.go
+++ b/src/libgo/go/cmd/go/build.go
@@ -2629,7 +2629,7 @@ func (gccgoToolchain) pack(b *builder, p
......
......@@ -12,7 +12,7 @@ gcc/
--- a/src/gcc/configure.ac
+++ b/src/gcc/configure.ac
@@ -4729,12 +4729,21 @@
@@ -4742,12 +4742,21 @@ if test x"$insn" != x; then
fi
gcc_GAS_CHECK_FEATURE([compressed debug sections],
......@@ -35,7 +35,7 @@ gcc/
elif $gcc_cv_as --compress-debug-sections -o conftest.o conftest.s > /dev/null 2>&1
then
gcc_cv_as_compress_debug=1
@@ -4742,8 +4751,6 @@
@@ -4755,8 +4764,6 @@ gcc_GAS_CHECK_FEATURE([compressed debug
gcc_cv_as_no_compress_debug_option="--nocompress-debug-sections"
else
gcc_cv_as_compress_debug=0
......@@ -44,7 +44,7 @@ gcc/
fi])
AC_DEFINE_UNQUOTED(HAVE_AS_COMPRESS_DEBUG, $gcc_cv_as_compress_debug,
[Define to the level of your assembler's compressed debug section support.])
@@ -5118,6 +5125,7 @@
@@ -5131,27 +5138,30 @@ AC_MSG_RESULT($gcc_cv_ld_eh_gc_sections_
AC_MSG_CHECKING(linker for compressed debug sections)
# gold/gld support compressed debug sections since binutils 2.19/2.21
......@@ -52,7 +52,6 @@ gcc/
if test $in_tree_ld = yes ; then
gcc_cv_ld_compress_debug=0
if test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 19 -o "$gcc_cv_gld_major_version" -gt 2 \
@@ -5124,21 +5132,23 @@
&& test $in_tree_ld_is_elf = yes && test $ld_is_gold = yes; then
gcc_cv_ld_compress_debug=2
gcc_cv_ld_compress_debug_option="--compress-debug-sections"
......
# DP: - Disable some biarch libraries for biarch builds.
# DP: - Fix multilib builds on kernels which don't support all multilibs.
Index: b/src/config-ml.in
===================================================================
--- a/src/config-ml.in
+++ b/src/config-ml.in
@@ -475,6 +475,25 @@ powerpc*-*-* | rs6000*-*-*)
......
# DP: Use /usr/include/<multiarch>/c++/4.x as the include directory
# DP: for host dependent c++ header files.
Index: b/src/libstdc++-v3/include/Makefile.am
===================================================================
--- a/src/libstdc++-v3/include/Makefile.am
+++ b/src/libstdc++-v3/include/Makefile.am
@@ -911,7 +911,7 @@ endif
......@@ -14,8 +12,6 @@ Index: b/src/libstdc++-v3/include/Makefile.am
host_headers = \
${host_srcdir}/ctype_base.h \
${host_srcdir}/ctype_inline.h \
Index: b/src/libstdc++-v3/include/Makefile.in
===================================================================
--- a/src/libstdc++-v3/include/Makefile.in
+++ b/src/libstdc++-v3/include/Makefile.in
@@ -1193,7 +1193,7 @@ profile_impl_headers = \
......@@ -27,8 +23,6 @@ Index: b/src/libstdc++-v3/include/Makefile.in
host_headers = \
${host_srcdir}/ctype_base.h \
${host_srcdir}/ctype_inline.h \
Index: b/src/gcc/Makefile.in
===================================================================
--- a/src/gcc/Makefile.in
+++ b/src/gcc/Makefile.in
@@ -1140,6 +1140,7 @@ FLAGS_TO_PASS = \
......@@ -63,8 +57,6 @@ Index: b/src/gcc/Makefile.in
-DGPLUSPLUS_BACKWARD_INCLUDE_DIR=\"$(gcc_gxx_include_dir)/backward\" \
-DLOCAL_INCLUDE_DIR=\"$(local_includedir)\" \
-DCROSS_INCLUDE_DIR=\"$(CROSS_SYSTEM_HEADER_DIR)\" \
Index: b/src/gcc/cppdefault.c
===================================================================
--- a/src/gcc/cppdefault.c
+++ b/src/gcc/cppdefault.c
@@ -49,6 +49,8 @@ const struct default_include cpp_include
......@@ -76,8 +68,6 @@ Index: b/src/gcc/cppdefault.c
#endif
#ifdef GPLUSPLUS_BACKWARD_INCLUDE_DIR
/* Pick up GNU C++ backward and deprecated include files. */
Index: b/src/gcc/incpath.c
===================================================================
--- a/src/gcc/incpath.c
+++ b/src/gcc/incpath.c
@@ -158,6 +158,18 @@ add_standard_paths (const char *sysroot,
......
......@@ -54,11 +54,9 @@ libcpp/ChangeLog:
callback only once, read pfile->source_date_epoch on future passes.
Check that get_source_date_epoch callback is not NULL.
Index: b/src/gcc/c-family/c-common.c
===================================================================
--- a/src/gcc/c-family/c-common.c
+++ b/src/gcc/c-family/c-common.c
@@ -12753,8 +12753,9 @@ valid_array_size_p (location_t loc, tree
@@ -12763,8 +12763,9 @@ valid_array_size_p (location_t loc, tree
/* Read SOURCE_DATE_EPOCH from environment to have a deterministic
timestamp to replace embedded current dates to get reproducible
results. Returns -1 if SOURCE_DATE_EPOCH is not defined. */
......@@ -69,7 +67,7 @@ Index: b/src/gcc/c-family/c-common.c
{
char *source_date_epoch;
long long epoch;
@@ -12766,19 +12767,14 @@ get_source_date_epoch ()
@@ -12776,19 +12777,14 @@ get_source_date_epoch ()
errno = 0;
epoch = strtoll (source_date_epoch, &endptr, 10);
......@@ -97,8 +95,6 @@ Index: b/src/gcc/c-family/c-common.c
return (time_t) epoch;
}
Index: b/src/gcc/c-family/c-common.h
===================================================================
--- a/src/gcc/c-family/c-common.h
+++ b/src/gcc/c-family/c-common.h
@@ -1084,6 +1084,16 @@ extern vec<tree, va_gc> *make_tree_vecto
......@@ -128,8 +124,6 @@ Index: b/src/gcc/c-family/c-common.h
-extern time_t get_source_date_epoch (void);
-
#endif /* ! GCC_C_COMMON_H */
Index: b/src/gcc/c-family/c-lex.c
===================================================================
--- a/src/gcc/c-family/c-lex.c
+++ b/src/gcc/c-family/c-lex.c
@@ -80,6 +80,7 @@ init_c_lex (void)
......@@ -150,8 +144,6 @@ Index: b/src/gcc/c-family/c-lex.c
timevar_push (TV_CPP);
retry:
Index: b/src/gcc/gcc.c
===================================================================
--- a/src/gcc/gcc.c
+++ b/src/gcc/gcc.c
@@ -3542,6 +3542,29 @@ save_switch (const char *opt, size_t n_a
......@@ -184,7 +176,7 @@ Index: b/src/gcc/gcc.c
/* Handle an option DECODED that is unknown to the option-processing
machinery. */
@@ -3841,6 +3864,7 @@ driver_handle_option (struct gcc_options
@@ -3842,6 +3865,7 @@ driver_handle_option (struct gcc_options
else
compare_debug_opt = arg;
save_switch (compare_debug_replacement_opt, 0, NULL, validated, true);
......@@ -192,8 +184,6 @@ Index: b/src/gcc/gcc.c
return true;
case OPT_fdiagnostics_color_:
Index: b/src/gcc/testsuite/gcc.dg/cpp/source_date_epoch-1.c
===================================================================
--- /dev/null
+++ b/src/gcc/testsuite/gcc.dg/cpp/source_date_epoch-1.c
@@ -0,0 +1,11 @@
......@@ -208,8 +198,6 @@ Index: b/src/gcc/testsuite/gcc.dg/cpp/source_date_epoch-1.c
+ __builtin_abort ();
+ return 0;
+}
Index: b/src/gcc/testsuite/gcc.dg/cpp/source_date_epoch-2.c
===================================================================
--- /dev/null
+++ b/src/gcc/testsuite/gcc.dg/cpp/source_date_epoch-2.c
@@ -0,0 +1,12 @@
......@@ -225,8 +213,6 @@ Index: b/src/gcc/testsuite/gcc.dg/cpp/source_date_epoch-2.c
+ __builtin_printf ("%s %s\n", __DATE__, __TIME__);
+ return 0;
+}
Index: b/src/gcc/testsuite/lib/gcc-dg.exp
===================================================================
--- a/src/gcc/testsuite/lib/gcc-dg.exp
+++ b/src/gcc/testsuite/lib/gcc-dg.exp
@@ -450,6 +450,38 @@ proc restore-target-env-var { } {
......@@ -289,8 +275,6 @@ Index: b/src/gcc/testsuite/lib/gcc-dg.exp
unset_timeout_vars
if [info exists compiler_conditional_xfail_data] {
unset compiler_conditional_xfail_data
Index: b/src/libcpp/include/cpplib.h
===================================================================
--- a/src/libcpp/include/cpplib.h
+++ b/src/libcpp/include/cpplib.h
@@ -594,6 +594,9 @@ struct cpp_callbacks
......@@ -313,8 +297,6 @@ Index: b/src/libcpp/include/cpplib.h
/* This is called after options have been parsed, and partially
processed. */
extern void cpp_post_options (cpp_reader *);
Index: b/src/libcpp/init.c
===================================================================
--- a/src/libcpp/init.c
+++ b/src/libcpp/init.c
@@ -257,6 +257,9 @@ cpp_create_reader (enum c_lang lang, cpp
......@@ -341,8 +323,6 @@ Index: b/src/libcpp/init.c
/* Sanity-checks are dependent on command-line options, so it is
called as a subroutine of cpp_read_main_file. */
#if CHECKING_P
Index: b/src/libcpp/internal.h
===================================================================
--- a/src/libcpp/internal.h
+++ b/src/libcpp/internal.h
@@ -503,7 +503,8 @@ struct cpp_reader
......@@ -355,8 +335,6 @@ Index: b/src/libcpp/internal.h
time_t source_date_epoch;
/* EOF token, and a token forcing paste avoidance. */
Index: b/src/libcpp/macro.c
===================================================================
--- a/src/libcpp/macro.c
+++ b/src/libcpp/macro.c
@@ -358,9 +358,13 @@ _cpp_builtin_macro_text (cpp_reader *pfi
......
......@@ -32,11 +32,9 @@ libcpp/ChangeLog:
set, to be used for __DATE__ and __TIME__ macros to help reproducible
builds.
Index: b/src/gcc/c-family/c-common.c
===================================================================
--- a/src/gcc/c-family/c-common.c
+++ b/src/gcc/c-family/c-common.c
@@ -12750,4 +12750,37 @@ valid_array_size_p (location_t loc, tree
@@ -12760,4 +12760,37 @@ valid_array_size_p (location_t loc, tree
return true;
}
......@@ -74,8 +72,6 @@ Index: b/src/gcc/c-family/c-common.c
+}
+
#include "gt-c-family-c-common.h"
Index: b/src/gcc/c-family/c-common.h
===================================================================
--- a/src/gcc/c-family/c-common.h
+++ b/src/gcc/c-family/c-common.h
@@ -1467,4 +1467,9 @@ extern bool reject_gcc_builtin (const_tr
......@@ -88,8 +84,6 @@ Index: b/src/gcc/c-family/c-common.h
+extern time_t get_source_date_epoch (void);
+
#endif /* ! GCC_C_COMMON_H */
Index: b/src/gcc/c-family/c-lex.c
===================================================================
--- a/src/gcc/c-family/c-lex.c
+++ b/src/gcc/c-family/c-lex.c
@@ -385,6 +385,9 @@ c_lex_with_flags (tree *value, location_
......@@ -102,8 +96,6 @@ Index: b/src/gcc/c-family/c-lex.c
timevar_push (TV_CPP);
retry:
Index: b/src/libcpp/include/cpplib.h
===================================================================
--- a/src/libcpp/include/cpplib.h
+++ b/src/libcpp/include/cpplib.h
@@ -784,6 +784,9 @@ extern void cpp_init_special_builtins (c
......@@ -116,8 +108,6 @@ Index: b/src/libcpp/include/cpplib.h
/* This is called after options have been parsed, and partially
processed. */
extern void cpp_post_options (cpp_reader *);
Index: b/src/libcpp/init.c
===================================================================
--- a/src/libcpp/init.c
+++ b/src/libcpp/init.c
@@ -533,8 +533,15 @@ cpp_init_builtins (cpp_reader *pfile, in
......@@ -137,8 +127,6 @@ Index: b/src/libcpp/init.c
#if CHECKING_P
static void sanity_checks (cpp_reader *);
static void sanity_checks (cpp_reader *pfile)
Index: b/src/libcpp/internal.h
===================================================================
--- a/src/libcpp/internal.h
+++ b/src/libcpp/internal.h
@@ -502,6 +502,10 @@ struct cpp_reader
......@@ -152,8 +140,6 @@ Index: b/src/libcpp/internal.h
/* EOF token, and a token forcing paste avoidance. */
cpp_token avoid_paste;
cpp_token eof;
Index: b/src/libcpp/macro.c
===================================================================
--- a/src/libcpp/macro.c
+++ b/src/libcpp/macro.c
@@ -357,13 +357,20 @@ _cpp_builtin_macro_text (cpp_reader *pfi
......
......@@ -15,11 +15,9 @@ If the linker supports --push-state/--pop-state, we should IMHO use it.
--no-as-needed if ld supports it.
* configure: Regenerated.
Index: b/src/gcc/configure.ac
===================================================================
--- a/src/gcc/configure.ac
+++ b/src/gcc/configure.ac
@@ -5371,11 +5371,21 @@ if test $in_tree_ld = yes ; then
@@ -5259,11 +5259,21 @@ if test $in_tree_ld = yes ; then
if test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 16 -o "$gcc_cv_gld_major_version" -gt 2 \
&& test $in_tree_ld_is_elf = yes; then
gcc_cv_ld_as_needed=yes
......
# DP: Fix cross building a native compiler.
Index: b/src/gcc/configure.ac
===================================================================
--- a/src/gcc/configure.ac
+++ b/src/gcc/configure.ac
@@ -1686,7 +1686,7 @@ else
......
# DP: Set base version to 5, introduce full version 5.x.y.
Index: b/src/gcc/BASE-VER
===================================================================
--- a/src/gcc/BASE-VER
+++ b/src/gcc/BASE-VER
@@ -1 +1 @@
-6.4.0
-6.5.0
+6
Index: b/src/gcc/FULL-VER
===================================================================
--- /dev/null
+++ b/src/gcc/FULL-VER
@@ -0,0 +1 @@
+6.4.0
Index: b/src/gcc/Makefile.in
===================================================================
+6.5.0
--- a/src/gcc/Makefile.in
+++ b/src/gcc/Makefile.in
@@ -829,11 +829,13 @@ GTM_H = tm.h $(tm_file_list) in
......@@ -133,8 +127,6 @@ Index: b/src/gcc/Makefile.in
if [ "$(DEVPHASE_c)" = "experimental" ]; \
then echo "@set DEVELOPMENT"; \
else echo "@clear DEVELOPMENT"; \
Index: b/src/libjava/testsuite/lib/libjava.exp
===================================================================
--- a/src/libjava/testsuite/lib/libjava.exp
+++ b/src/libjava/testsuite/lib/libjava.exp
@@ -179,7 +179,8 @@ proc libjava_init { args } {
......@@ -147,8 +139,6 @@ Index: b/src/libjava/testsuite/lib/libjava.exp
verbose "version: $libjava_version"
Index: b/src/gcc/gcc.c
===================================================================
--- a/src/gcc/gcc.c
+++ b/src/gcc/gcc.c
@@ -278,7 +278,8 @@ static const char *compiler_version;
......@@ -161,7 +151,7 @@ Index: b/src/gcc/gcc.c
/* The target machine. */
@@ -4502,7 +4503,7 @@ process_command (unsigned int decoded_op
@@ -4503,7 +4504,7 @@ process_command (unsigned int decoded_op
running, or, if that is not available, the configured prefix. */
tooldir_prefix
= concat (gcc_exec_prefix ? gcc_exec_prefix : standard_exec_prefix,
......@@ -170,7 +160,7 @@ Index: b/src/gcc/gcc.c
accel_dir_suffix, dir_separator_str, tooldir_prefix2, NULL);
free (tooldir_prefix2);
@@ -7377,7 +7378,7 @@ driver::set_up_specs () const
@@ -7378,7 +7379,7 @@ driver::set_up_specs () const
/* Read specs from a file if there is one. */
......@@ -179,7 +169,7 @@ Index: b/src/gcc/gcc.c
accel_dir_suffix, dir_separator_str, NULL);
just_machine_suffix = concat (spec_machine, dir_separator_str, NULL);
@@ -7582,7 +7583,7 @@ driver::set_up_specs () const
@@ -7583,7 +7584,7 @@ driver::set_up_specs () const
/* If we have a GCC_EXEC_PREFIX envvar, modify it for cpp's sake. */
if (gcc_exec_prefix)
gcc_exec_prefix = concat (gcc_exec_prefix, spec_host_machine,
......@@ -188,8 +178,6 @@ Index: b/src/gcc/gcc.c
accel_dir_suffix, dir_separator_str, NULL);
/* Now we have the specs.
Index: b/src/gcc/configure.ac
===================================================================
--- a/src/gcc/configure.ac
+++ b/src/gcc/configure.ac
@@ -207,7 +207,7 @@ if test x${gcc_gxx_include_dir} = x; the
......
# DP: Add D options and specs for the gcc driver.
Index: b/src/gcc/d/lang-specs.h
===================================================================
--- /dev/null
+++ b/src/gcc/d/lang-specs.h
@@ -0,0 +1,31 @@
......@@ -36,8 +34,6 @@ Index: b/src/gcc/d/lang-specs.h
+ "%{!E:cc1d %i %(cc1_options) %(cc1d) %I %{nostdinc*} %{+e*} %{I*} %{J*}\
+ %{M} %{MM} %{!fsyntax-only:%(invoke_as)}}", 0, 1, 0 },
+
Index: b/src/gcc/d/lang.opt
===================================================================
--- /dev/null
+++ b/src/gcc/d/lang.opt
@@ -0,0 +1,208 @@
......
......@@ -5,8 +5,6 @@
gcc/Makefile.in | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: b/src/gcc/Makefile.in
===================================================================
--- a/src/gcc/Makefile.in
+++ b/src/gcc/Makefile.in
@@ -542,8 +542,8 @@ xm_include_list=@xm_include_list@
......
# DP: Add FORCE_CROSS_LAYOUT env var to force a cross directory layout.
Index: b/src/configure.ac
===================================================================
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -3110,7 +3110,7 @@ target_configargs="$target_configargs ${
......@@ -13,8 +11,6 @@ Index: b/src/configure.ac
target_configargs="--with-cross-host=${host_noncanonical} ${target_configargs}"
fi
Index: b/src/gcc/configure.ac
===================================================================
--- a/src/gcc/configure.ac
+++ b/src/gcc/configure.ac
@@ -1987,7 +1987,7 @@ else
......
# DP: Allow to use lld with -fuse-ld=ld.lld
Index: gcc/collect2.c
===================================================================
--- a/src/gcc/collect2.c (revision 246158)
+++ a/src/gcc/collect2.c (working copy)
@@ -831,6 +831,7 @@
--- a/src/gcc/collect2.c
+++ b/src/gcc/collect2.c
@@ -831,6 +831,7 @@ main (int argc, char **argv)
USE_PLUGIN_LD,
USE_GOLD_LD,
USE_BFD_LD,
......@@ -12,7 +10,7 @@ Index: gcc/collect2.c
USE_LD_MAX
} selected_linker = USE_DEFAULT_LD;
static const char *const ld_suffixes[USE_LD_MAX] =
@@ -838,7 +839,8 @@
@@ -838,7 +839,8 @@ main (int argc, char **argv)
"ld",
PLUGIN_LD_SUFFIX,
"ld.gold",
......@@ -22,7 +20,7 @@ Index: gcc/collect2.c
};
static const char *const real_ld_suffix = "real-ld";
static const char *const collect_ld_suffix = "collect-ld";
@@ -1004,6 +1006,8 @@
@@ -1007,6 +1009,8 @@ main (int argc, char **argv)
selected_linker = USE_BFD_LD;
else if (strcmp (argv[i], "-fuse-ld=gold") == 0)
selected_linker = USE_GOLD_LD;
......@@ -31,7 +29,7 @@ Index: gcc/collect2.c
#ifdef COLLECT_EXPORT_LIST
/* These flags are position independent, although their order
@@ -1093,7 +1097,8 @@
@@ -1096,7 +1100,8 @@ main (int argc, char **argv)
/* Maybe we know the right file to use (if not cross). */
ld_file_name = 0;
#ifdef DEFAULT_LINKER
......@@ -41,7 +39,7 @@ Index: gcc/collect2.c
{
char *linker_name;
# ifdef HOST_EXECUTABLE_SUFFIX
@@ -1307,7 +1312,7 @@
@@ -1315,7 +1320,7 @@ main (int argc, char **argv)
else if (!use_collect_ld
&& strncmp (arg, "-fuse-ld=", 9) == 0)
{
......@@ -50,11 +48,9 @@ Index: gcc/collect2.c
ld1--;
ld2--;
}
Index: gcc/common.opt
===================================================================