From 46f0f77e2d02a75753f081d5382b7e9be28fd22f Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Oct 29 2020 09:38:08 +0000 Subject: 11.0.0-0.3 --- diff --git a/.gitignore b/.gitignore index 9546f48..d1ef25a 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ /gcc-10.2.1-20201005.tar.xz /gcc-10.2.1-20201016.tar.xz /gcc-11.0.0-20201019.tar.xz +/gcc-11.0.0-20201029.tar.xz diff --git a/gcc.spec b/gcc.spec index 9dec718..a8a9f84 100644 --- a/gcc.spec +++ b/gcc.spec @@ -1,5 +1,5 @@ -%global DATE 20201019 -%global gitrev 6e9eb3e01f683e4b1b40018476c72bed7a9a35f7 +%global DATE 20201029 +%global gitrev eb27c0bb1399d89f3abc91a4cafd0e9c7158ed03 %global gcc_version 11.0.0 %global gcc_major 11 # Note, gcc_release must be integer, if you want to add suffixes to @@ -119,7 +119,7 @@ Summary: Various compilers (C, C++, Objective-C, ...) Name: gcc Version: %{gcc_version} -Release: %{gcc_release}.2%{?dist} +Release: %{gcc_release}.3%{?dist} # libgcc, libgfortran, libgomp, libstdc++ and crtstuff have # GCC Runtime Exception. License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD @@ -268,9 +268,7 @@ Patch8: gcc11-foffload-default.patch Patch9: gcc11-Wno-format-security.patch Patch10: gcc11-rh1574936.patch Patch11: gcc11-d-shared-libphobos.patch -Patch12: gcc11-plugins.patch -Patch13: gcc11-sys-timeb.patch -Patch14: gcc11-pr97502-workaround.patch +Patch12: gcc11-sys-timeb.patch # On ARM EABI systems, we do want -gnueabi to be part of the # target triple. @@ -782,9 +780,7 @@ to NVidia PTX capable devices if available. %patch10 -p0 -b .rh1574936~ %endif %patch11 -p0 -b .d-shared-libphobos~ -%patch12 -p0 -b .plugins~ -%patch13 -p0 -b .sys-timeb~ -%patch14 -p0 -b .pr97502-workaround~ +%patch12 -p0 -b .sys-timeb~ echo 'Red Hat %{version}-%{gcc_release}' > gcc/DEV-PHASE @@ -2198,6 +2194,7 @@ end %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/x86gprintrin.h %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/uintrintrin.h %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/hresetintrin.h +%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/keylockerintrin.h %endif %ifarch ia64 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/ia64intrin.h @@ -3066,6 +3063,32 @@ end %endif %changelog +* Thu Oct 29 2020 Jakub Jelinek 11.0.0-0.3 +- update from trunk + - PRs ada/97504, analyzer/96608, analyzer/97489, analyzer/97514, + analyzer/97568, analyzer/97608, bootstrap/97451, c++/82239, c++/86773, + c++/91741, c++/94799, c++/95132, c++/96241, c++/96575, c++/96675, + c++/96742, c++/97328, c++/97438, c++/97511, c++/97573, c/94722, + c/97463, fortran/45516, fortran/97454, gcov-profile/97461, ipa/97445, + ipa/97576, ipa/97586, libstdc++/94268, libstdc++/95592, + libstdc++/95609, libstdc++/95917, libstdc++/96713, libstdc++/97512, + libstdc++/97570, lto/96680, lto/97524, middle-end/92942, + middle-end/97521, middle-end/97552, rtl-optimization/97249, + rtl-optimization/97439, rtl-optimization/97497, sanitizer/97414, + target/87767, target/95151, target/95458, target/97360, target/97502, + target/97506, target/97535, testsuite/81690, testsuite/97590, + tree-optimization/66552, tree-optimization/97164, + tree-optimization/97360, tree-optimization/97456, + tree-optimization/97457, tree-optimization/97466, + tree-optimization/97467, tree-optimization/97486, + tree-optimization/97488, tree-optimization/97496, + tree-optimization/97500, tree-optimization/97501, + tree-optimization/97503, tree-optimization/97505, + tree-optimization/97515, tree-optimization/97520, + tree-optimization/97538, tree-optimization/97539, + tree-optimization/97546, tree-optimization/97555, + tree-optimization/97560, tree-optimization/97567, + tree-optimization/97615 - for ELN default to -march=x86-64-v2 for x86 64-bit compilation and for s390x to -march=z13 -mtune=arch13 diff --git a/gcc11-plugins.patch b/gcc11-plugins.patch deleted file mode 100644 index e756438..0000000 --- a/gcc11-plugins.patch +++ /dev/null @@ -1,55 +0,0 @@ -2020-10-14 Jakub Jelinek - - * Makefile.in (PLUGIN_HEADERS): Add gomp-constants.h and $(EXPR_H). - (s-header-vars): Accept not just spaces but also tabs between *_H name - and =. Handle common/config/ headers similarly to config. Don't - throw away everything from first ... to last / on the remaining - string, instead skip just ... to corresponding last / without - intervening spaces and tabs. - (install-plugin): Treat common/config headers like config headers. - * config/i386/t-i386 (TM_H): Add - $(srcdir)/common/config/i386/i386-cpuinfo.h. - ---- gcc/Makefile.in.jj 2020-10-06 23:35:52.616444535 +0200 -+++ gcc/Makefile.in 2020-10-14 14:15:43.179074337 +0200 -@@ -3594,7 +3594,8 @@ PLUGIN_HEADERS = $(TREE_H) $(CONFIG_H) $ - tree-ssa-threadupdate.h inchash.h wide-int.h signop.h hash-map.h \ - hash-set.h dominance.h cfg.h cfgrtl.h cfganal.h cfgbuild.h cfgcleanup.h \ - lcm.h cfgloopmanip.h file-prefix-map.h builtins.def $(INSN_ATTR_H) \ -- pass-instances.def params.list -+ pass-instances.def params.list $(srcdir)/../include/gomp-constants.h \ -+ $(EXPR_H) - - # generate the 'build fragment' b-header-vars - s-header-vars: Makefile -@@ -3604,7 +3605,7 @@ s-header-vars: Makefile - # more portable than a trailing "-e d" to filter out the uninteresting lines, - # in particular on ia64-hpux where "s/.../p" only prints if -n was requested - # as well. -- $(foreach header_var,$(shell sed < Makefile -n -e 's/^\([A-Z0-9_]*_H\)[ ]*=.*/\1/p'),echo $(header_var)=$(shell echo $($(header_var):$(srcdir)/%=.../%) | sed -e 's~\.\.\./config/~config/~' -e 's~\.\.\..*/~~') >> tmp-header-vars;) \ -+ $(foreach header_var,$(shell sed < Makefile -n -e 's/^\([A-Z0-9_]*_H\)[ ]*=.*/\1/p'),echo $(header_var)=$(shell echo $($(header_var):$(srcdir)/%=.../%) | sed -e 's~\.\.\./config/~config/~' -e 's~\.\.\./common/config/~common/config/~' -e 's~\.\.\.[^ ]*/~~g') >> tmp-header-vars;) - $(SHELL) $(srcdir)/../move-if-change tmp-header-vars b-header-vars - $(STAMP) s-header-vars - -@@ -3630,7 +3631,8 @@ install-plugin: installdirs lang.install - else continue; \ - fi; \ - case $$path in \ -- "$(srcdir)"/config/* | "$(srcdir)"/c-family/* | "$(srcdir)"/*.def ) \ -+ "$(srcdir)"/config/* | "$(srcdir)"/common/config/* \ -+ | "$(srcdir)"/c-family/* | "$(srcdir)"/*.def ) \ - base=`echo "$$path" | sed -e "s|$$srcdirstrip/||"`;; \ - *) base=`basename $$path` ;; \ - esac; \ ---- gcc/config/i386/t-i386.jj 2020-01-14 20:02:45.861623645 +0100 -+++ gcc/config/i386/t-i386 2020-10-14 13:41:38.503905771 +0200 -@@ -17,7 +17,8 @@ - # . - - OPTIONS_H_EXTRA += $(srcdir)/config/i386/stringop.def --TM_H += $(srcdir)/config/i386/x86-tune.def -+TM_H += $(srcdir)/config/i386/x86-tune.def \ -+ $(srcdir)/common/config/i386/i386-cpuinfo.h - PASSES_EXTRA += $(srcdir)/config/i386/i386-passes.def - - i386-c.o: $(srcdir)/config/i386/i386-c.c diff --git a/gcc11-pr97502-workaround.patch b/gcc11-pr97502-workaround.patch deleted file mode 100644 index 7c51e4d..0000000 --- a/gcc11-pr97502-workaround.patch +++ /dev/null @@ -1,16 +0,0 @@ -Add workaround for PR bootstrap/97502. - ---- gcc/config/s390/s390.c.jj 2020-10-20 09:11:31.903877892 +0200 -+++ gcc/config/s390/s390.c 2020-10-20 15:38:10.860835675 +0200 -@@ -9778,7 +9778,10 @@ s390_register_info () - clobbered_regs[i] = df_regs_ever_live_p (i); - - for (i = 0; i < 32; i++) -- clobbered_regs[i] = clobbered_regs[i] && !global_regs[i]; -+ { -+ volatile char gr = global_regs[i]; -+ clobbered_regs[i] = clobbered_regs[i] && !gr; -+ } - - /* Mark the call-saved FPRs which need to be saved. - This needs to be done before checking the special GPRs since the diff --git a/sources b/sources index c8a7eed..0ef6c22 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -SHA512 (gcc-11.0.0-20201019.tar.xz) = 65c3c234aca3dbfc034871c16259a49c41ce4cb411dd866fdc3338724fd7ff6fd77d62b33ff873125386738516888ea165c6022568e73d508e06141ef7b4f53b +SHA512 (gcc-11.0.0-20201029.tar.xz) = f3ba09197388857b502da212ea5a5c82660f7faec9b61a78c4d0fd3aa5587c2bd83a2423236c0b2ed841a4cc4d58cea0153387a0efa70c0d16773a955cf5ddc1 SHA512 (newlib-cygwin-50e2a63b04bdd018484605fbb954fd1bd5147fa0.tar.xz) = 002a48a7b689a81abbf16161bcaec001a842e67dfbe372e9e109092703bfc666675f16198f60ca429370e8850d564547dc505df81bc3aaca4ce6defbc014ad6c SHA512 (nvptx-tools-5f6f343a302d620b0868edab376c00b15741e39e.tar.xz) = f6d10db94fa1570ae0f94df073fa3c73c8e5ee16d59070b53d94f7db0de8a031bc44d7f3f1852533da04b625ce758e022263855ed43cfc6867e0708d001e53c7