public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gcc] rhel-f41-base: 7.3.1-1
@ 2026-06-29 12:27 Jakub Jelinek
  0 siblings, 0 replies; 2+ messages in thread
From: Jakub Jelinek @ 2026-06-29 12:27 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/gcc
Branch : rhel-f41-base
Commit : b147991d7c0c250e60fea4e4809d89a3b8cbe32a
Author : Jakub Jelinek <jakub@redhat.com>
Date   : 2018-01-25T11:46:33+01:00
Stats  : +128/-16 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/gcc/c/b147991d7c0c250e60fea4e4809d89a3b8cbe32a?branch=rhel-f41-base

Log:
7.3.1-1

---
diff --git a/gcc.spec b/gcc.spec
index 3530452..2def678 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -237,6 +237,7 @@ Patch10: gcc7-foffload-default.patch
 Patch11: gcc7-Wno-format-security.patch
 Patch12: gcc7-aarch64-sanitizer-fix.patch
 Patch13: gcc7-rh1512529-aarch64.patch
+Patch14: gcc7-rh1536555.patch
 
 Patch1000: nvptx-tools-no-ptxas.patch
 Patch1001: nvptx-tools-build.patch
@@ -832,6 +833,7 @@ package or when debugging this package.
 %patch12 -p0 -b .aarch64-sanitizer-fix~
 %endif
 %patch13 -p0 -b .rh1512529-aarch64~
+%patch14 -p0 -b .rh1537979~
 
 cd nvptx-tools-%{nvptx_tools_gitrev}
 %patch1000 -p1 -b .nvptx-tools-no-ptxas~
@@ -3267,6 +3269,9 @@ fi
 	middle-end/81782, rtl-optimization/81443, target/80870, target/83687,
 	target/83946, tree-optimization/81877, tree-optimization/83552
 
+* Wed Jan 24 2018 Jeff Law <law@redhat.com> 7.2.1-8
+- fix -fstack-clash-protection codegen issue on 32 bit x86 (#1536555)
+
 * Wed Jan 17 2018 Jakub Jelinek <jakub@redhat.com> 7.2.1-7
 - update from the 7 branch
   - PRs fortran/78814, fortran/82367, fortran/82841, fortran/83093,
@@ -3344,12 +3349,12 @@ fi
   - fix power6 ICE in store_data_bypass_p (#1522675, PR target/80101)
 - fix replace_placeholders (PR c++/83556)
 
-* Wed Nov 29 2017 Jeff Law  <law@redhat.com> 7.2.1-4
-- Fix problem with large outgoing args and -fstack-clash-protection
+* Wed Nov 29 2017 Jeff Law <law@redhat.com> 7.2.1-4
+- fix problem with large outgoing args and -fstack-clash-protection
   on aarch64 (#1518823)
 
-* Tue Nov 28 2017 Jeff Law  <law@redhat.com> 7.2.1-3
-- Backport -fstack-clash-protection from development trunk (#1512529)
+* Tue Nov 28 2017 Jeff Law <law@redhat.com> 7.2.1-3
+- backport -fstack-clash-protection from development trunk (#1512529)
 
 * Fri Sep 15 2017 Jakub Jelinek <jakub@redhat.com> 7.2.1-2
 - update from the 7 branch

diff --git a/gcc7-rh1536555.patch b/gcc7-rh1536555.patch
new file mode 100644
index 0000000..65714ee
--- /dev/null
+++ b/gcc7-rh1536555.patch
@@ -0,0 +1,98 @@
+diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
+index 346fb4f..f0b8346 100644
+--- gcc/config/i386/i386.c
++++ gcc/config/i386/i386.c
+@@ -12763,6 +12763,18 @@ ix86_builtin_setjmp_frame_value (void)
+   return stack_realign_fp ? hard_frame_pointer_rtx : virtual_stack_vars_rtx;
+ }
+ 
++/* Return the probing interval for -fstack-clash-protection.  */
++
++static HOST_WIDE_INT
++get_probe_interval (void)
++{
++  if (flag_stack_clash_protection)
++    return (HOST_WIDE_INT_1U
++	    << PARAM_VALUE (PARAM_STACK_CLASH_PROTECTION_PROBE_INTERVAL));
++  else
++    return (HOST_WIDE_INT_1U << STACK_CHECK_PROBE_INTERVAL_EXP);
++}
++
+ /* When using -fsplit-stack, the allocation routines set a field in
+    the TCB to the bottom of the stack plus this much space, measured
+    in bytes.  */
+@@ -12948,7 +12960,14 @@ ix86_compute_frame_layout (void)
+   to_allocate = offset - frame->sse_reg_save_offset;
+ 
+   if ((!to_allocate && frame->nregs <= 1)
+-      || (TARGET_64BIT && to_allocate >= HOST_WIDE_INT_C (0x80000000)))
++      || (TARGET_64BIT && to_allocate >= HOST_WIDE_INT_C (0x80000000))
++      /* If stack clash probing needs a loop, then it needs a
++	 scratch register.  But the returned register is only guaranteed
++	 to be safe to use after register saves are complete.  So if
++	 stack clash protections are enabled and the allocated frame is
++	 larger than the probe interval, then use pushes to save
++	 callee saved registers.  */
++      || (flag_stack_clash_protection && to_allocate > get_probe_interval ()))
+     frame->save_regs_using_mov = false;
+ 
+   if (ix86_using_red_zone ()
+@@ -13619,18 +13638,6 @@ release_scratch_register_on_entry (struct scratch_reg *sr)
+     }
+ }
+ 
+-/* Return the probing interval for -fstack-clash-protection.  */
+-
+-static HOST_WIDE_INT
+-get_probe_interval (void)
+-{
+-  if (flag_stack_clash_protection)
+-    return (HOST_WIDE_INT_1U
+-	    << PARAM_VALUE (PARAM_STACK_CLASH_PROTECTION_PROBE_INTERVAL));
+-  else
+-    return (HOST_WIDE_INT_1U << STACK_CHECK_PROBE_INTERVAL_EXP);
+-}
+-
+ /* Emit code to adjust the stack pointer by SIZE bytes while probing it.
+ 
+    This differs from the next routine in that it tries hard to prevent
+@@ -14558,12 +14565,11 @@ ix86_expand_prologue (void)
+       && (flag_stack_check == STATIC_BUILTIN_STACK_CHECK
+ 	  || flag_stack_clash_protection))
+     {
+-      /* This assert wants to verify that integer registers were saved
+-	 prior to probing.  This is necessary when probing may be implemented
+-	 as a function call (Windows).  It is not necessary for stack clash
+-	 protection probing.  */
+-      if (!flag_stack_clash_protection)
+-	gcc_assert (int_registers_saved);
++      /* We expect the GP registers to be saved when probes are used
++	 as the probing sequences might need a scratch register and
++	 the routine to allocate one assumes the integer registers
++	 have already been saved.  */
++      gcc_assert (int_registers_saved);
+ 
+       if (flag_stack_clash_protection)
+ 	{
+diff --git a/gcc/testsuite/gcc.target/i386/pr83994.c b/gcc/testsuite/gcc.target/i386/pr83994.c
+new file mode 100644
+index 0000000..dc0b7cb
+--- /dev/null
++++ gcc/testsuite/gcc.target/i386/pr83994.c
+@@ -0,0 +1,16 @@
++/* { dg-do compile } */
++/* { dg-options "-O2 -march=i686 -fpic -fstack-clash-protection" } */
++/* { dg-require-effective-target ia32 } */
++
++void f1 (char *);
++
++__attribute__ ((regparm (3)))
++int
++f2 (int arg1, int arg2, int arg3)
++{
++  char buf[16384];
++  f1 (buf);
++  f1 (buf);
++  return 0;
++}
++

diff --git a/.gitignore b/.gitignore
index 4dd7818..5818ee7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -27,3 +27,4 @@
 /gcc-7.2.1-20180101.tar.bz2
 /gcc-7.2.1-20180104.tar.bz2
 /gcc-7.2.1-20180117.tar.bz2
+/gcc-7.3.1-20180125.tar.bz2

diff --git a/gcc.spec b/gcc.spec
index 8a570d2..2def678 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1,10 +1,10 @@
-%global DATE 20180117
-%global SVNREV 256767
-%global gcc_version 7.2.1
+%global DATE 20180125
+%global SVNREV 257047
+%global gcc_version 7.3.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 8
+%global gcc_release 1
 %global nvptx_tools_gitrev c28050f60193b3b95a18866a96f03334e874e78f
 %global nvptx_newlib_gitrev aadc8eb0ec43b7cd0dd2dfb484bae63c8b05ef24
 %global _unpackaged_files_terminate_build 0
@@ -3261,8 +3261,16 @@ fi
 %endif
 
 %changelog
+* Thu Jan 25 2018 Jakub Jelinek <jakub@redhat.com> 7.3.1-1
+- update from the 7 branch
+  - 7.3 release
+  - PRs c++/81843, c++/82331, c++/82760, fortran/80768, fortran/83864,
+	fortran/83874, fortran/83900, ipa/82352, ipa/83549, libstdc++/83834,
+	middle-end/81782, rtl-optimization/81443, target/80870, target/83687,
+	target/83946, tree-optimization/81877, tree-optimization/83552
+
 * Wed Jan 24 2018 Jeff Law <law@redhat.com> 7.2.1-8
-- Fix -fstack-clash-protection codegen issue on 32 bit x86 (#1536555)
+- fix -fstack-clash-protection codegen issue on 32 bit x86 (#1536555)
 
 * Wed Jan 17 2018 Jakub Jelinek <jakub@redhat.com> 7.2.1-7
 - update from the 7 branch
@@ -3341,12 +3349,12 @@ fi
   - fix power6 ICE in store_data_bypass_p (#1522675, PR target/80101)
 - fix replace_placeholders (PR c++/83556)
 
-* Wed Nov 29 2017 Jeff Law  <law@redhat.com> 7.2.1-4
-- Fix problem with large outgoing args and -fstack-clash-protection
+* Wed Nov 29 2017 Jeff Law <law@redhat.com> 7.2.1-4
+- fix problem with large outgoing args and -fstack-clash-protection
   on aarch64 (#1518823)
 
-* Tue Nov 28 2017 Jeff Law  <law@redhat.com> 7.2.1-3
-- Backport -fstack-clash-protection from development trunk (#1512529)
+* Tue Nov 28 2017 Jeff Law <law@redhat.com> 7.2.1-3
+- backport -fstack-clash-protection from development trunk (#1512529)
 
 * Fri Sep 15 2017 Jakub Jelinek <jakub@redhat.com> 7.2.1-2
 - update from the 7 branch

diff --git a/gcc7-libstdc++-docs.patch b/gcc7-libstdc++-docs.patch
index 125091b..c534408 100644
--- a/gcc7-libstdc++-docs.patch
+++ b/gcc7-libstdc++-docs.patch
@@ -4,7 +4,7 @@
        <a class="link" href="http://www.fsf.org/" target="_top">FSF
        </a>
      </p><p>
-+      Release 7.2.1
++      Release 7.3.1
 +    </p><p>
        Permission is granted to copy, distribute and/or modify this
        document under the terms of the GNU Free Documentation
@@ -17,7 +17,7 @@
  </p><p>
 -  The API documentation, rendered into HTML, can be viewed online
 +  The API documentation, rendered into HTML, can be viewed locally
-+  <a class="link" href="api/index.html" target="_top">for the 7.2.1 release</a>,
++  <a class="link" href="api/index.html" target="_top">for the 7.3.1 release</a>,
 +  online
    <a class="link" href="http://gcc.gnu.org/onlinedocs/" target="_top">for each GCC release</a>
    and

diff --git a/sources b/sources
index 9427619..29893ce 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-SHA512 (gcc-7.2.1-20180117.tar.bz2) = 18f71bb2b1d11444c5b0a6ef91660004b5bd0fe7e44f2c653dff22aa8706e5c02bd97b5dc3810e33a0c7b9657457fbcfcee4324755a798e15ebfed8a5d99ffa9
+SHA512 (gcc-7.3.1-20180125.tar.bz2) = fd3d407f767d01f63e6e564755c82baf25a9a9665c2dbdc0ae9796e4e522cb58b0f8ed369ed1ac31ea88ff1dddc15dc8f2e6d7461085bd54a03bbb2db6c7f102
 SHA512 (nvptx-newlib-aadc8eb0ec43b7cd0dd2dfb484bae63c8b05ef24.tar.bz2) = 38f97c9297ad108568352a4d28277455a3c01fd8b7864e798037e5006b6f757022e874bbf3f165775fe3b873781bc108137bbeb42dd5ed3c7d3e6747746fa918
 SHA512 (nvptx-tools-c28050f60193b3b95a18866a96f03334e874e78f.tar.bz2) = 95b577a06a93bb044dbc8033e550cb36bcf2ab2687da030a7318cdc90e7467ed49665e247dcafb5ff4a7e92cdc264291d19728bd17fab902fb64b22491269330

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [rpms/gcc] rhel-f41-base: 7.3.1-1
@ 2026-06-29 12:27 Jakub Jelinek
  0 siblings, 0 replies; 2+ messages in thread
From: Jakub Jelinek @ 2026-06-29 12:27 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/gcc
Branch : rhel-f41-base
Commit : e4007289360896f64f134830a2f025f702ff1ce8
Author : Jakub Jelinek <jakub@redhat.com>
Date   : 2018-01-25T11:44:48+01:00
Stats  : +16/-7 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/gcc/c/e4007289360896f64f134830a2f025f702ff1ce8?branch=rhel-f41-base

Log:
7.3.1-1

---
diff --git a/.gitignore b/.gitignore
index 4dd7818..5818ee7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -27,3 +27,4 @@
 /gcc-7.2.1-20180101.tar.bz2
 /gcc-7.2.1-20180104.tar.bz2
 /gcc-7.2.1-20180117.tar.bz2
+/gcc-7.3.1-20180125.tar.bz2

diff --git a/gcc.spec b/gcc.spec
index ea11ab8..3530452 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1,10 +1,10 @@
-%global DATE 20180117
-%global SVNREV 256767
-%global gcc_version 7.2.1
+%global DATE 20180125
+%global SVNREV 257047
+%global gcc_version 7.3.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 7
+%global gcc_release 1
 %global nvptx_tools_gitrev c28050f60193b3b95a18866a96f03334e874e78f
 %global nvptx_newlib_gitrev aadc8eb0ec43b7cd0dd2dfb484bae63c8b05ef24
 %global _unpackaged_files_terminate_build 0
@@ -3259,6 +3259,14 @@ fi
 %endif
 
 %changelog
+* Thu Jan 25 2018 Jakub Jelinek <jakub@redhat.com> 7.3.1-1
+- update from the 7 branch
+  - 7.3 release
+  - PRs c++/81843, c++/82331, c++/82760, fortran/80768, fortran/83864,
+	fortran/83874, fortran/83900, ipa/82352, ipa/83549, libstdc++/83834,
+	middle-end/81782, rtl-optimization/81443, target/80870, target/83687,
+	target/83946, tree-optimization/81877, tree-optimization/83552
+
 * Wed Jan 17 2018 Jakub Jelinek <jakub@redhat.com> 7.2.1-7
 - update from the 7 branch
   - PRs fortran/78814, fortran/82367, fortran/82841, fortran/83093,

diff --git a/gcc7-libstdc++-docs.patch b/gcc7-libstdc++-docs.patch
index 125091b..c534408 100644
--- a/gcc7-libstdc++-docs.patch
+++ b/gcc7-libstdc++-docs.patch
@@ -4,7 +4,7 @@
        <a class="link" href="http://www.fsf.org/" target="_top">FSF
        </a>
      </p><p>
-+      Release 7.2.1
++      Release 7.3.1
 +    </p><p>
        Permission is granted to copy, distribute and/or modify this
        document under the terms of the GNU Free Documentation
@@ -17,7 +17,7 @@
  </p><p>
 -  The API documentation, rendered into HTML, can be viewed online
 +  The API documentation, rendered into HTML, can be viewed locally
-+  <a class="link" href="api/index.html" target="_top">for the 7.2.1 release</a>,
++  <a class="link" href="api/index.html" target="_top">for the 7.3.1 release</a>,
 +  online
    <a class="link" href="http://gcc.gnu.org/onlinedocs/" target="_top">for each GCC release</a>
    and

diff --git a/sources b/sources
index 9427619..29893ce 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-SHA512 (gcc-7.2.1-20180117.tar.bz2) = 18f71bb2b1d11444c5b0a6ef91660004b5bd0fe7e44f2c653dff22aa8706e5c02bd97b5dc3810e33a0c7b9657457fbcfcee4324755a798e15ebfed8a5d99ffa9
+SHA512 (gcc-7.3.1-20180125.tar.bz2) = fd3d407f767d01f63e6e564755c82baf25a9a9665c2dbdc0ae9796e4e522cb58b0f8ed369ed1ac31ea88ff1dddc15dc8f2e6d7461085bd54a03bbb2db6c7f102
 SHA512 (nvptx-newlib-aadc8eb0ec43b7cd0dd2dfb484bae63c8b05ef24.tar.bz2) = 38f97c9297ad108568352a4d28277455a3c01fd8b7864e798037e5006b6f757022e874bbf3f165775fe3b873781bc108137bbeb42dd5ed3c7d3e6747746fa918
 SHA512 (nvptx-tools-c28050f60193b3b95a18866a96f03334e874e78f.tar.bz2) = 95b577a06a93bb044dbc8033e550cb36bcf2ab2687da030a7318cdc90e7467ed49665e247dcafb5ff4a7e92cdc264291d19728bd17fab902fb64b22491269330

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-06-29 12:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-29 12:27 [rpms/gcc] rhel-f41-base: 7.3.1-1 Jakub Jelinek
2026-06-29 12:27 Jakub Jelinek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox