public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gcc] rhel-f41-base: 10.2.1-3
@ 2026-06-29 12:28 Jakub Jelinek
0 siblings, 0 replies; 2+ messages in thread
From: Jakub Jelinek @ 2026-06-29 12:28 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/gcc
Branch : rhel-f41-base
Commit : e0d96135635a45bd0bfe31ebb8cc1acf6f6060b5
Author : Jakub Jelinek <jakub@redhat.com>
Date : 2020-08-26T11:39:03+02:00
Stats : +92/-4 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/gcc/c/e0d96135635a45bd0bfe31ebb8cc1acf6f6060b5?branch=rhel-f41-base
Log:
10.2.1-3
---
diff --git a/.gitignore b/.gitignore
index 1442363..55534ee 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,3 +15,4 @@
/gcc-10.1.1-20200618.tar.xz
/gcc-10.2.1-20200723.tar.xz
/gcc-10.2.1-20200804.tar.xz
+/gcc-10.2.1-20200826.tar.xz
diff --git a/gcc.spec b/gcc.spec
index 610464e..530067d 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1,10 +1,10 @@
-%global DATE 20200804
-%global gitrev 08d83635c2ab388f6139db6965e600b296ad85e6
+%global DATE 20200826
+%global gitrev c59c8927f43fb78d6a72a0ff93a47b36e43282d5
%global gcc_version 10.2.1
%global gcc_major 10
# 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 3
%global nvptx_tools_gitrev 5f6f343a302d620b0868edab376c00b15741e39e
%global newlib_cygwin_gitrev 50e2a63b04bdd018484605fbb954fd1bd5147fa0
%global _unpackaged_files_terminate_build 0
@@ -266,6 +266,7 @@ Patch10: gcc10-rh1574936.patch
Patch11: gcc10-d-shared-libphobos.patch
Patch12: gcc10-pr96383.patch
Patch13: gcc10-pr96385.patch
+Patch14: gcc10-pr96690.patch
# On ARM EABI systems, we do want -gnueabi to be part of the
# target triple.
@@ -779,6 +780,7 @@ to NVidia PTX capable devices if available.
%patch11 -p0 -b .d-shared-libphobos~
%patch12 -p0 -b .pr96383~
%patch13 -p0 -b .pr96385~
+%patch14 -p0 -b .pr96690~
echo 'Red Hat %{version}-%{gcc_release}' > gcc/DEV-PHASE
@@ -3045,6 +3047,21 @@ end
%endif
%changelog
+* Wed Aug 26 2020 Jakub Jelinek <jakub@redhat.com> 10.2.1-3
+- update from releases/gcc-10 branch
+ - PRs c++/95428, c++/96082, c++/96106, c++/96164, c++/96199, c++/96497,
+ c/96545, c/96549, c/96571, d/96250, d/96254, d/96301, debug/96354,
+ fortran/93553, fortran/96312, fortran/96486, ipa/95320, ipa/96291,
+ ipa/96482, libstdc++/89760, libstdc++/95749, libstdc++/96303,
+ libstdc++/96484, libstdc++/96718, lto/95362, lto/95548,
+ middle-end/96426, middle-end/96459, target/93897, target/95450,
+ target/96191, target/96243, target/96446, target/96493, target/96506,
+ target/96525, target/96530, target/96536, target/96562, target/96682,
+ tree-optimization/96483, tree-optimization/96535,
+ tree-optimization/96722, tree-optimization/96730,
+ tree-optimization/96758
+- mangle some further symbols needed for debug info during early dwarf
+ (#1862029, PR debug/96690)
- during %%check perform tests whether annobin is usable with the newly built
compiler or whether it might need to be rebuilt
diff --git a/gcc10-pr96690.patch b/gcc10-pr96690.patch
new file mode 100644
index 0000000..bab66d4
--- /dev/null
+++ b/gcc10-pr96690.patch
@@ -0,0 +1,70 @@
+2020-08-25 Richard Biener <rguenther@suse.de>
+
+ PR debug/96690
+ * dwarf2out.c (reference_to_unused): Make FUNCTION_DECL
+ processing more consistent with respect to
+ symtab->global_info_ready.
+ (tree_add_const_value_attribute): Unconditionally call
+ rtl_for_decl_init to do all mangling early but throw
+ away the result if early_dwarf.
+
+ * g++.dg/lto/pr96690_0.C: New testcase.
+
+--- gcc/dwarf2out.c
++++ gcc/dwarf2out.c
+@@ -19756,7 +19756,7 @@ reference_to_unused (tree * tp, int * walk_subtrees,
+ /* ??? The C++ FE emits debug information for using decls, so
+ putting gcc_unreachable here falls over. See PR31899. For now
+ be conservative. */
+- else if (!symtab->global_info_ready && VAR_OR_FUNCTION_DECL_P (*tp))
++ else if (!symtab->global_info_ready && VAR_P (*tp))
+ return *tp;
+ else if (VAR_P (*tp))
+ {
+@@ -19771,7 +19771,7 @@ reference_to_unused (tree * tp, int * walk_subtrees,
+ optimizing and gimplifying the CU by now.
+ So if *TP has no call graph node associated
+ to it, it means *TP will not be emitted. */
+- if (!cgraph_node::get (*tp))
++ if (!symtab->global_info_ready || !cgraph_node::get (*tp))
+ return *tp;
+ }
+ else if (TREE_CODE (*tp) == STRING_CST && !TREE_ASM_WRITTEN (*tp))
+@@ -20295,12 +20295,11 @@ tree_add_const_value_attribute (dw_die_ref die, tree t)
+ return true;
+ }
+ }
+- if (! early_dwarf)
+- {
+- rtl = rtl_for_decl_init (init, type);
+- if (rtl)
+- return add_const_value_attribute (die, rtl);
+- }
++ /* Generate the RTL even if early_dwarf to force mangling of all refered to
++ symbols. */
++ rtl = rtl_for_decl_init (init, type);
++ if (rtl && !early_dwarf)
++ return add_const_value_attribute (die, rtl);
+ /* If the host and target are sane, try harder. */
+ if (CHAR_BIT == 8 && BITS_PER_UNIT == 8
+ && initializer_constant_valid_p (init, type))
+--- gcc/testsuite/g++.dg/lto/pr96690_0.C
++++ gcc/testsuite/g++.dg/lto/pr96690_0.C
+@@ -0,0 +1,17 @@
++// { dg-lto-do assemble }
++// { dg-lto-options { { -flto -ffat-lto-objects -g } } }
++struct A { A (int); };
++template <class T> class B { T f; };
++unsigned char *foo (int *, bool *, const int &);
++template <typename, unsigned char *F (int *, bool *, const int &)> struct C {};
++struct D { B<C<unsigned char, foo> > d; };
++struct E { D e; };
++struct F {};
++struct G { static int bar (A, F, E, int); };
++
++void
++baz ()
++{
++ F f;
++ G::bar (0, f, E (), 0);
++}
diff --git a/sources b/sources
index 44ce687..5f420de 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-SHA512 (gcc-10.2.1-20200804.tar.xz) = be849af9a5a8924c0ad957805a80859243f08d908f652b1290080ac6fd474d874be9745ecd209c9a069a65c44a3923841bec84f348f7352999cb3eac95b1c1cc
+SHA512 (gcc-10.2.1-20200826.tar.xz) = b6949ea780618400dec06b8fc7b2728414d46e5972970ed70949ce16100547e4a9a6a5ce84ae1f47309a0610607b5454b0acc5fe5ecbb2889c84346bcdbdc8ab
SHA512 (newlib-cygwin-50e2a63b04bdd018484605fbb954fd1bd5147fa0.tar.xz) = 002a48a7b689a81abbf16161bcaec001a842e67dfbe372e9e109092703bfc666675f16198f60ca429370e8850d564547dc505df81bc3aaca4ce6defbc014ad6c
SHA512 (nvptx-tools-5f6f343a302d620b0868edab376c00b15741e39e.tar.xz) = f6d10db94fa1570ae0f94df073fa3c73c8e5ee16d59070b53d94f7db0de8a031bc44d7f3f1852533da04b625ce758e022263855ed43cfc6867e0708d001e53c7
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [rpms/gcc] rhel-f41-base: 10.2.1-3
@ 2026-06-29 12:28 Jakub Jelinek
0 siblings, 0 replies; 2+ messages in thread
From: Jakub Jelinek @ 2026-06-29 12:28 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/gcc
Branch : rhel-f41-base
Commit : 9dd34982d8ae09339039d42eb27d90d7a187dd3b
Author : Jakub Jelinek <jakub@redhat.com>
Date : 2020-08-26T12:16:47+02:00
Stats : +5/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/gcc/c/9dd34982d8ae09339039d42eb27d90d7a187dd3b?branch=rhel-f41-base
Log:
10.2.1-3
---
diff --git a/gcc.spec b/gcc.spec
index 530067d..00598ca 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -86,7 +86,11 @@
%else
%global build_libitm 0
%endif
+%if 0%{?rhel} > 8
+%global build_isl 0
+%else
%global build_isl 1
+%endif
%global build_libstdcxx_docs 1
%ifarch %{ix86} x86_64 ppc ppc64 ppc64le ppc64p7 s390 s390x %{arm} aarch64 %{mips}
%global attr_ifunc 1
@@ -3064,6 +3068,7 @@ end
(#1862029, PR debug/96690)
- during %%check perform tests whether annobin is usable with the newly built
compiler or whether it might need to be rebuilt
+- disable graphite for ELN
* Tue Aug 4 2020 Jakub Jelinek <jakub@redhat.com> 10.2.1-2
- update from releases/gcc-10 branch
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-06-29 12:28 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:28 [rpms/gcc] rhel-f41-base: 10.2.1-3 Jakub Jelinek
2026-06-29 12:28 Jakub Jelinek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox