Commit 97f7a009 authored by Matthias Klose's avatar Matthias Klose

* Update to SVN 20190108 (r267721) from the gcc-8-branch.

  * Bump standards version.
parent 04b36d15
gcc-8 (8.2.0-13) UNRELEASED; urgency=medium
gcc-8 (8.2.0-14) unstable; urgency=medium
* Update to SVN 20190108 (r267721) from the gcc-8-branch.
- Fix PR fortran/88463, PR libstdc++/64883, PR c++/88215,
PR sanitizer/88426, PR inline-asm/55681, PR middle-end/82564,
PR target/88620, PR target/88594 (x86), PR debug/88644,
PR middle-end/85594, PR middle-end/88553, PR target/88522 (x86),
PR rtl-optimization/88563, PR target/88541 (x86), PR c++/82294,
PR c++/87436, PR rtl-optimization/88470, PR rtl-optimization/88416,
PR target/85593, PR target/87598 (AArch64), PR tree-optimization/87360,
PR target/88234 (PPC), PR c++/86900, PR target/85644 (x86),
PR target/86832 (x86), PR tree-optimization/87895,
PR tree-optimization/88071, PR debug/87039, PR rtl-optimization/87475,
PR rtl-optimization/88018, PR tree-optimization/87898, PR lto/88130,
PR lto/86517, PR lto/88185, PR inline-asm/55681, PR ipa/88561,
PR c++/87380, PR target/88418 (x86), PR target/88213 (PPC),
PR c++/88180, PR c++/87934, PR c++/88410, PR c++/82294, PR c++/87436,
PR c++/86669, PR c++/87506, PR c++/88103, PR c++/88181, PR c++/88122,
PR inline-asm/55681, PR fortran/88463, PR fortran/88377,
PR fortran/77703, PR fortran/77325, PR fortran/85798, PR fortran/85544,
PR fortran/88169, PR fortran/87359.
* Bump standards version.
-- Matthias Klose <doko@debian.org> Tue, 08 Jan 2019 12:43:13 +0100
gcc-8 (8.2.0-13) unstable; urgency=medium
* Update to SVN 20181218 (r267225) from the gcc-8-branch.
- Fix PR target/87853, PR target/87496 (PPC), PR c++/87531,
......@@ -18,7 +43,7 @@ gcc-8 (8.2.0-13) UNRELEASED; urgency=medium
* Don't provide <frontend>-compiler names for cross compiler packages.
Addresses: #916376. Not a final solution.
-- Matthias Klose <doko@debian.org> Tue, 18 Dec 2018 04:21:11 +0100
-- Matthias Klose <doko@debian.org> Tue, 18 Dec 2018 07:25:34 +0100
gcc-8 (8.2.0-12) unstable; urgency=medium
......
......@@ -3,7 +3,7 @@ Section: devel
Priority: optional
Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org>
Uploaders: Matthias Klose <doko@debian.org>
Standards-Version: 4.2.1
Standards-Version: 4.3.0
Build-Depends: debhelper (>= 9.20141010), dpkg-dev (>= 1.17.14), g++-multilib [amd64 i386 kfreebsd-amd64 mips mips64 mips64el mips64r6 mips64r6el mipsel mipsn32 mipsn32el mipsn32r6 mipsn32r6el mipsr6 mipsr6el powerpc ppc64 s390 s390x sparc sparc64 x32] <!cross>,
libc6.1-dev (>= 2.13-5) [alpha ia64] | libc0.3-dev (>= 2.13-5) [hurd-i386] | libc0.1-dev (>= 2.13-5) [kfreebsd-i386 kfreebsd-amd64] | libc6-dev (>= 2.13-5), libc6-dev (>= 2.13-31) [armel armhf], libc6-dev-amd64 [i386 x32], libc6-dev-sparc64 [sparc], libc6-dev-sparc [sparc64], libc6-dev-s390 [s390x], libc6-dev-s390x [s390], libc6-dev-i386 [amd64 x32], libc6-dev-powerpc [ppc64], libc6-dev-ppc64 [powerpc], libc0.1-dev-i386 [kfreebsd-amd64], lib32gcc1 [amd64 ppc64 kfreebsd-amd64 mipsn32 mipsn32el mips64 mips64el mipsn32r6 mipsn32r6el mips64r6 mips64r6el s390x sparc64 x32], libn32gcc1 [mips mipsel mips64 mips64el mipsr6 mipsr6el mips64r6 mips64r6el], lib64gcc1 [i386 mips mipsel mipsn32 mipsn32el mipsr6 mipsr6el mipsn32r6 mipsn32r6el powerpc sparc s390 x32], libc6-dev-mips64 [mips mipsel mipsn32 mipsn32el mipsr6 mipsr6el mipsn32r6 mipsn32r6el], libc6-dev-mipsn32 [mips mipsel mips64 mips64el mipsr6 mipsr6el mips64r6 mips64r6el], libc6-dev-mips32 [mipsn32 mipsn32el mips64 mips64el mipsn32r6 mipsn32r6el mips64r6 mips64r6el], libc6-dev-x32 [amd64 i386], libx32gcc1 [amd64 i386], libc6.1-dbg [alpha ia64] | libc0.3-dbg [hurd-i386] | libc0.1-dbg [kfreebsd-i386 kfreebsd-amd64] | libc6-dbg,
kfreebsd-kernel-headers (>= 0.84) [kfreebsd-any], linux-libc-dev [m68k],
......
......@@ -58,7 +58,7 @@ Uploaders: Iain Buclaw <ibuclaw@ubuntu.com>, Matthias Klose <doko@debian.org>
', `dnl
Uploaders: Matthias Klose <doko@debian.org>
')dnl SRCNAME
Standards-Version: 4.2.1
Standards-Version: 4.3.0
ifdef(`TARGET',`dnl cross
Build-Depends: DEBHELPER_BUILD_DEP DPKG_BUILD_DEP
LIBC_BUILD_DEP, LIBC_BIARCH_BUILD_DEP
......
# DP: Fix PR sanitizer/88426, taken from the trunk.
gcc/c/
2018-12-11 Jakub Jelinek <jakub@redhat.com>
PR sanitizer/88426
* c-convert.c (convert): Call c_fully_fold before calling
ubsan_instrument_float_cast.
gcc/testsuite/
2018-12-11 Jakub Jelinek <jakub@redhat.com>
PR sanitizer/88426
* c-c++-common/ubsan/float-cast-overflow-11.c: New test.
--- a/src/gcc/c/c-convert.c
+++ a/src/gcc/c/c-convert.c
@@ -115,6 +115,7 @@
&& COMPLETE_TYPE_P (type))
{
expr = save_expr (expr);
+ expr = c_fully_fold (expr, false, NULL);
tree check = ubsan_instrument_float_cast (loc, type, expr);
expr = fold_build1 (FIX_TRUNC_EXPR, type, expr);
if (check == NULL_TREE)
--- a/src/gcc/testsuite/c-c++-common/ubsan/float-cast-overflow-11.c
+++ b/src/gcc/testsuite/c-c++-common/ubsan/float-cast-overflow-11.c
@@ -0,0 +1,10 @@
+/* PR sanitizer/88426 */
+/* { dg-do compile } */
+/* { dg-options "-fsanitize=float-cast-overflow" } */
+
+int
+foo (void)
+{
+ const float v = 0.0f;
+ return (int) (v < 0.0f ? v : 0.0f);
+}
This diff is collapsed.
......@@ -76,7 +76,6 @@ debian_patches += \
kfreebsd-decimal-float \
powerpcspe_remove_many \
ia64-disable-selective-scheduling \
pr88426 \
# FIXME: see #915194
# gcc-search-prefixed-as-ld \
......
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