From bba05ed92011b2cbfd71abd1fede0f7737af83b0 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Apr 10 2018 05:39:36 +0000 Subject: import gcc-libraries-7.2.1-1.1.1.el7 --- diff --git a/.gcc-libraries.metadata b/.gcc-libraries.metadata index 08f9791..1fdf288 100644 --- a/.gcc-libraries.metadata +++ b/.gcc-libraries.metadata @@ -1,2 +1,2 @@ -99ab9243aee36144e72561c6cbf28c8e04678c9a SOURCES/gcc-7.1.1-20170526.tar.bz2 +df3ff377895cf96b3439e107e62142bcbed8d046 SOURCES/gcc-7.2.1-20170829.tar.bz2 5ef03ca7aee134fe7dfecb6c9d048799f0810278 SOURCES/mpc-0.8.1.tar.gz diff --git a/.gitignore b/.gitignore index 805437c..7bb4b4c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -SOURCES/gcc-7.1.1-20170526.tar.bz2 +SOURCES/gcc-7.2.1-20170829.tar.bz2 SOURCES/mpc-0.8.1.tar.gz diff --git a/SOURCES/gcc7-libstdc++-docs.patch b/SOURCES/gcc7-libstdc++-docs.patch index b9f63a3..125091b 100644 --- a/SOURCES/gcc7-libstdc++-docs.patch +++ b/SOURCES/gcc7-libstdc++-docs.patch @@ -4,7 +4,7 @@ FSF

-+ Release 7.1.1 ++ Release 7.2.1 +

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation @@ -17,7 +17,7 @@

- The API documentation, rendered into HTML, can be viewed online + The API documentation, rendered into HTML, can be viewed locally -+ for the 7.1.1 release, ++ for the 7.2.1 release, + online for each GCC release and diff --git a/SOURCES/gcc7-pr80725.patch b/SOURCES/gcc7-pr80725.patch deleted file mode 100644 index 47f992d..0000000 --- a/SOURCES/gcc7-pr80725.patch +++ /dev/null @@ -1,73 +0,0 @@ -2017-05-24 Andreas Krebbel - - PR target/80725 - * config/s390/s390.c (s390_check_qrst_address): Check incoming - address against address_operand predicate. - * config/s390/s390.md ("*indirect_jump"): Swap alternatives. - - * gcc.target/s390/pr80725.c: New test. - ---- gcc/config/s390/s390.c (revision 248406) -+++ gcc/config/s390/s390.c (revision 248407) -@@ -3102,6 +3102,9 @@ s390_check_qrst_address (char c, rtx op, - struct s390_address addr; - bool decomposed = false; - -+ if (!address_operand (op, GET_MODE (op))) -+ return 0; -+ - /* This check makes sure that no symbolic address (except literal - pool references) are accepted by the R or T constraints. */ - if (s390_loadrelative_operand_p (op, NULL, NULL)) ---- gcc/config/s390/s390.md (revision 248406) -+++ gcc/config/s390/s390.md (revision 248407) -@@ -9660,14 +9660,16 @@ (define_expand "indirect_jump" - operands[0] = force_reg (Pmode, operands[0]); - }) - -+; The first constraint must be an "extra address constraint" in order -+; to trigger address reloading in LRA/reload - (define_insn "*indirect_jump" - [(set (pc) -- (match_operand 0 "address_operand" "a,ZR"))] -+ (match_operand 0 "address_operand" "ZR,a"))] - "" - "@ -- br\t%0 -- b\t%a0" -- [(set_attr "op_type" "RR,RX") -+ b\t%a0 -+ br\t%0" -+ [(set_attr "op_type" "RX,RR") - (set_attr "type" "branch") - (set_attr "atype" "agen") - (set_attr "cpu_facility" "*")]) ---- gcc/testsuite/gcc.target/s390/pr80725.c (nonexistent) -+++ gcc/testsuite/gcc.target/s390/pr80725.c (revision 248407) -@@ -0,0 +1,26 @@ -+/* Regression test for PR/80725. */ -+ -+/* { dg-do compile } */ -+/* { dg-options "-O2 -march=zEC12" } */ -+ -+int a, e; -+const char b; -+char c; -+const int d; -+void bar (short); -+ -+void -+foo (int x, int y) -+{ -+ long f = d; -+ short g = 0; -+ while (e) -+ while (a < x) -+ { -+ if (y) -+ goto *d; -+ g = b | b + g; -+ bar (g); -+ c = (char) (long) foo; -+ } -+} diff --git a/SPECS/gcc-libraries.spec b/SPECS/gcc-libraries.spec index 7836b0c..e42e6cf 100644 --- a/SPECS/gcc-libraries.spec +++ b/SPECS/gcc-libraries.spec @@ -1,10 +1,10 @@ -%global DATE 20170526 -%global SVNREV 248505 -%global gcc_version 7.1.1 +%global DATE 20170829 +%global SVNREV 251415 +%global gcc_version 7.2.1 %global gcc_major 7 # Note, gcc_release must be integer, if you want to add suffixes to # %{release}, append them after %{gcc_release} on Release: line. -%global gcc_release 2 +%global gcc_release 1 %global mpc_version 0.8.1 %global _unpackaged_files_terminate_build 0 %global multilib_64_archs sparc64 ppc64 s390x x86_64 @@ -60,14 +60,14 @@ Provides: libatomic libitm libcilkrts libgfortran4 Obsoletes: libitm Version: %{gcc_version} -Release: %{gcc_release}.2.1%{?dist} +Release: %{gcc_release}.1.1%{?dist} # libgcc, libgfortran, libmudflap, libgomp, libstdc++ and crtstuff have # GCC Runtime Exception. License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD Group: System Environment/Libraries # The source for this package was pulled from upstream's vcs. Use the # following commands to generate the tarball: -# svn export svn://gcc.gnu.org/svn/gcc/branches/redhat/gcc-5-branch@%{SVNREV} gcc-%{version}-%{DATE} +# svn export svn://gcc.gnu.org/svn/gcc/branches/redhat/gcc-7-branch@%{SVNREV} gcc-%{version}-%{DATE} # tar cf - gcc-%{version}-%{DATE} | bzip2 -9 > gcc-%{version}-%{DATE}.tar.bz2 Source0: gcc-%{version}-%{DATE}.tar.bz2 Source1: http://www.multiprecision.org/mpc/download/mpc-%{mpc_version}.tar.gz @@ -188,7 +188,6 @@ Patch8: gcc7-no-add-needed.patch Patch9: gcc7-aarch64-async-unw-tables.patch Patch10: gcc7-foffload-default.patch Patch11: gcc7-Wno-format-security.patch -Patch12: gcc7-pr80725.patch Patch1002: gcc7-alt-compat-test.patch Patch1005: gcc7-rh1118870.patch @@ -286,7 +285,6 @@ Fortran dynamically linked programs. %patch9 -p0 -b .aarch64-async-unw-tables~ %patch10 -p0 -b .foffload-default~ %patch11 -p0 -b .Wno-format-security~ -%patch12 -p0 -b .pr80725~ sed -i -e 's/ -Wl,-z,nodlopen//g' gcc/ada/gcc-interface/Makefile.in @@ -681,6 +679,9 @@ fi %doc gcc/COPYING3 COPYING.RUNTIME rpm.doc/gfortran/* %changelog +* Thu Oct 19 2017 Marek Polacek 7.2.1-1.1.1 +- update from gcc-7.2.1-1 (#1477224) + * Tue Jun 20 2017 Marek Polacek 7.1.1-2.2.1 - don't run make check with -fstack-protector on ppc64le