Commit dcd55651 authored by Matthias Klose's avatar Matthias Klose

* Update to SVN 20190704 (r273081) from the gcc-9-branch.

    - Fix PR libstdc++/91067, PR tree-optimization/90892, PR middle-end/90899.
    - Fix gnat build failure on kfreebsd-* (James Clarke). Closes: #922496.
  * Add ppc64el as architecture for the nvptx offload packages.
  * Increase the timeouts for the LTO link builds.
  * Fix PR rtl-optimization/90756, taken from the trunk. Addresses: #930012.
parent 6065b584
gcc-9 (9.1.0-7) experimental; urgency=medium
* Update to SVN 20190704 (r273081) from the gcc-9-branch.
- Fix PR libstdc++/91067, PR tree-optimization/90892, PR middle-end/90899.
- Fix gnat build failure on kfreebsd-* (James Clarke). Closes: #922496.
* Add ppc64el as architecture for the nvptx offload packages.
* Increase the timeouts for the LTO link builds.
* Fix PR rtl-optimization/90756, taken from the trunk. Addresses: #930012.
-- Matthias Klose <doko@debian.org> Thu, 04 Jul 2019 22:44:41 +0200
gcc-9 (9.1.0-6) experimental; urgency=medium
* Update to SVN 20190703 (r273015) from the gcc-9-branch.
......
......@@ -2480,7 +2480,7 @@ Description: HSAIL runtime library (debug symbols)
# with the -msoft-float option, for CPUs without a floating-point unit.
Package: gcc-9-offload-nvptx
Architecture: amd64
Architecture: amd64 ppc64el
Priority: optional
Depends: gcc-9-base (= ${gcc:Version}), gcc-9 (= ${gcc:Version}), ${dep:libcdev},
nvptx-tools, libgomp-plugin-nvptx1 (>= ${gcc:Version}),
......@@ -2491,7 +2491,7 @@ Description: GCC offloading compiler to NVPTX
which can be offloaded to NVidia PTX capable devices if available.
Package: libgomp-plugin-nvptx1
Architecture: amd64
Architecture: amd64 ppc64el
Multi-Arch: same
Section: libs
Depends: gcc-9-base (= ${gcc:Version}), libgomp1, ${shlibs:Depends}, ${misc:Depends}
......
......@@ -5468,7 +5468,7 @@ Description: Documentation for the GNU compilers (gcc, gobjc, g++)
ifenabled(`olnvptx',`
Package: gcc`'PV-offload-nvptx
Architecture: amd64
Architecture: amd64 ppc64el
ifdef(`TARGET',`Multi-Arch: foreign
')dnl
Priority: optional
......@@ -5483,7 +5483,7 @@ Description: GCC offloading compiler to NVPTX
ifenabled(`libgompnvptx',`
Package: libgomp-plugin-nvptx`'GOMP_SO
Architecture: amd64
Architecture: amd64 ppc64el
Multi-Arch: same
Section: libs
Depends: BASEDEP, libgomp`'GOMP_SO`'LS, ${shlibs:Depends}, ${misc:Depends}
......
# DP: Fix PR rtl-optimization/90756, taken from the trunk
gcc/
2019-07-04 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/90756
* explow.c (promote_ssa_mode): Always use TYPE_MODE, don't bypass it
for VECTOR_TYPE_P.
gcc/testsuite/
2019-07-04 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/90756
* gcc.dg/pr90756.c: New test.
--- a/src/gcc/testsuite/gcc.dg/pr90756.c
+++ b/src/gcc/testsuite/gcc.dg/pr90756.c
@@ -0,0 +1,26 @@
+/* PR rtl-optimization/90756 */
+/* { dg-do compile } */
+/* { dg-options "-O2 -Wno-psabi" } */
+/* { dg-additional-options "-mno-sse" { target ia32 } } */
+
+typedef float B __attribute__((vector_size(4 * sizeof (float))));
+typedef unsigned long long C __attribute__((vector_size(4 * sizeof (long long))));
+typedef short D __attribute__((vector_size(4 * sizeof (short))));
+B z;
+void foo (C);
+C bar (D);
+B baz ();
+D qux (B);
+
+void
+quux (int x)
+{
+ B n = z, b = z;
+ while (1)
+ switch (x)
+ {
+ case 0: n = baz (); /* FALLTHRU */
+ case 1: { B o = n; n = b; b = o; } /* FALLTHRU */
+ case 2: { D u = qux (b); C v = bar (u); foo (v); }
+ }
+}
--- a/src/gcc/explow.c
+++ b/src/gcc/explow.c
@@ -892,16 +892,7 @@
tree type = TREE_TYPE (name);
int unsignedp = TYPE_UNSIGNED (type);
- machine_mode mode = TYPE_MODE (type);
-
- /* Bypass TYPE_MODE when it maps vector modes to BLKmode. */
- if (mode == BLKmode)
- {
- gcc_assert (VECTOR_TYPE_P (type));
- mode = type->type_common.mode;
- }
-
- machine_mode pmode = promote_mode (type, mode, &unsignedp);
+ machine_mode pmode = promote_mode (type, TYPE_MODE (type), &unsignedp);
if (punsignedp)
*punsignedp = unsignedp;
This diff is collapsed.
......@@ -12,11 +12,21 @@
# Remember when we started trying to acquire the lock.
count=0
@@ -18,10 +19,10 @@ until mkdir "$lockdir" 2>/dev/null; do
@@ -11,24 +12,64 @@ trap 'rm -r "$lockdir" lock-stamp.$$' 0
until mkdir "$lockdir" 2>/dev/null; do
# Say something periodically so the user knows what's up.
- if [ `expr $count % 30` = 0 ]; then
+ if [ `expr $count % 60` = 0 ]; then
# Reset if the lock has been renewed.
if [ -n "`find \"$lockdir\" -newer lock-stamp.$$`" ]; then
touch lock-stamp.$$
count=1
# Steal the lock after 5 minutes.
elif [ $count = 300 ]; then
- # Steal the lock after 5 minutes.
- elif [ $count = 300 ]; then
- echo removing stale $lockdir >&2
+ # Steal the lock after 30 minutes.
+ elif [ $count = 1800 ]; then
+ echo "removing stale $lockdir ($cmd)" >&2
rm -r "$lockdir"
else
......@@ -24,8 +34,10 @@
+ echo "waiting to acquire $lockdir ($cmd)" >&2
fi
fi
sleep 1
@@ -29,6 +30,44 @@ until mkdir "$lockdir" 2>/dev/null; do
- sleep 1
- count=`expr $count + 1`
+ sleep 6
+ count=`expr $count + 6`
done
echo $prog "$@"
......@@ -34,7 +46,9 @@
+pid=$!
+
+count=0
+max_count=$((3 * 60 * 60))
+# once the "stale" locks are released, everything runs in
+# parallel, so be gentle with the timeout
+max_count=$((10 * 60 * 60))
+
+while true; do
+ status=$(jobs -l | sed -n "/ $pid /s/^.* $pid //p")
......
......@@ -328,15 +328,17 @@ ifneq ($(trunk_build),yes)
# Enable LTO only for 64bit builds
ifeq ($(DEB_BUILD_ARCH_BITS)-$(DEB_HOST_ARCH_BITS),64-64)
with_lto_build := yes
# times out on the buildds ...
ifneq (,$(filter $(DEB_HOST_ARCH), arm64))
with_lto_build :=
endif
endif
with_lto_build := yes
# FIXME: hppa has issues with parsing the jobs output.
# # FIXME: m68k and sh4 running on simulators, don't care ...
ifneq (,$(filter $(DEB_HOST_ARCH), hppa m68k sh4))
with_lto_build :=
endif
# FIXME: newer binutils needed?
ifneq (,$(filter $(distrelease),precise trusty xenial))
ifneq (,$(filter $(distrelease),stretch precise trusty xenial bionic))
with_bootstrap :=
with_lto_build :=
endif
......
......@@ -77,6 +77,7 @@ debian_patches += \
libgomp-no-werror \
gdc-cross-build \
verbose-lto-linker \
pr90756 \
# TODO:
# pr81829 \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment