From 4ec33619dffa4c124a4bf4f36cffb4f20fb6fcac Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Wed, 18 Jun 2014 17:55:48 -0400 Subject: [PATCH] Import fix for target/pr61545 from the 4.9 branch. --- gcc.spec | 7 ++++++- gcc49-pr61545.patch | 10 ++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 gcc49-pr61545.patch diff --git a/gcc.spec b/gcc.spec index ae9e68f..f2be102 100644 --- a/gcc.spec +++ b/gcc.spec @@ -3,7 +3,7 @@ %global gcc_version 4.9.0 # 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 10 +%global gcc_release 11 %global _unpackaged_files_terminate_build 0 %global _performance_build 1 %global multilib_64_archs sparc64 ppc64 ppc64p7 s390x x86_64 @@ -196,6 +196,7 @@ Patch12: gcc49-no-add-needed.patch Patch14: gcc49-pr56493.patch Patch15: gcc49-color-auto.patch Patch16: gcc49-libgo-p224.patch +Patch17: gcc49-pr61545.patch Patch1100: cloog-%{cloog_version}-ppc64le-config.patch @@ -721,6 +722,7 @@ package or when debugging this package. %patch15 -p0 -b .color-auto~ %endif %patch16 -p0 -b .libgo-p224~ +%patch16 -p1 -b .pr61545~ rm -f libgo/go/crypto/elliptic/p224{,_test}.go %if 0%{?_enable_debug_packages} @@ -2782,6 +2784,9 @@ fi %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/plugin %changelog +* Wed Jun 18 2014 Richard Henderson 4.9.0-11 +- Import fix for target/pr61545 from the 4.9 branch. + * Tue Jun 17 2014 Jakub Jelinek 4.9.0-10 - update from the 4.9 branch - PRs fortran/45187, ipa/61186, libstdc++/60326, libstdc++/61269, diff --git a/gcc49-pr61545.patch b/gcc49-pr61545.patch new file mode 100644 index 0000000..41f51ff --- /dev/null +++ b/gcc49-pr61545.patch @@ -0,0 +1,10 @@ +--- gcc-4.9.0-20140617/gcc/config/aarch64/aarch64.md.orig 2014-03-28 12:50:00.000000000 -0700 ++++ gcc-4.9.0-20140617/gcc/config/aarch64/aarch64.md 2014-06-18 10:07:37.715495580 -0700 +@@ -3608,6 +3608,7 @@ + (unspec:DI [(match_operand:DI 0 "aarch64_valid_symref" "S")] + UNSPEC_TLSDESC)) + (clobber (reg:DI LR_REGNUM)) ++ (clobber (reg:CC CC_REGNUM)) + (clobber (match_scratch:DI 1 "=r"))] + "TARGET_TLS_DESC" + "adrp\\tx0, %A0\;ldr\\t%1, [x0, #%L0]\;add\\tx0, x0, %L0\;.tlsdesccall\\t%0\;blr\\t%1"