public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jakub Jelinek <jakub@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/gcc] rhel-f41-base: 10.2.1-4
Date: Mon, 29 Jun 2026 12:28:54 GMT	[thread overview]
Message-ID: <178273613460.1.16860019938845519433.rpms-gcc-888bd7b767b0@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/gcc
Branch : rhel-f41-base
Commit : 888bd7b767b0d415235d5146af74fd87d9074dde
Author : Jakub Jelinek <jakub@redhat.com>
Date   : 2020-09-16T13:35:23+02:00
Stats  : +0/-57 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/gcc/c/888bd7b767b0d415235d5146af74fd87d9074dde?branch=rhel-f41-base

Log:
10.2.1-4

---
diff --git a/gcc.spec b/gcc.spec
index 491b205..ef371b2 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -273,7 +273,6 @@ Patch13: gcc10-pr96939.patch
 Patch14: gcc10-pr96939-2.patch
 Patch15: gcc10-pr96939-3.patch
 Patch16: gcc10-pr97032.patch
-Patch17: gcc10-pr97060.patch
 
 # On ARM EABI systems, we do want -gnueabi to be part of the
 # target triple.
@@ -790,7 +789,6 @@ to NVidia PTX capable devices if available.
 %patch14 -p0 -b .pr96939-2~
 %patch15 -p0 -b .pr96939-3~
 %patch16 -p0 -b .pr97032~
-%patch17 -p0 -b .pr97060~
 find gcc/testsuite -name \*.pr96939~ | xargs rm -f
 
 echo 'Red Hat %{version}-%{gcc_release}' > gcc/DEV-PHASE
@@ -3074,8 +3072,6 @@ end
 - fix up ARM target attribute/pragma handling (#1875814, PR target/96939)
 - don't ICE on sp clobbers with -mincoming-stack-boundary=2 on ia32
   (#1862029, PR target/97032)
-- emit DW_AT_declaration on DIEs for external FUNCTION_DECLs without body
-  (PR debug/97060)
 
 * Wed Aug 26 2020 Jakub Jelinek <jakub@redhat.com> 10.2.1-3
 - update from releases/gcc-10 branch

diff --git a/gcc10-pr97060.patch b/gcc10-pr97060.patch
deleted file mode 100644
index a38da60..0000000
--- a/gcc10-pr97060.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-2020-09-16  Jakub Jelinek  <jakub@redhat.com>
-
-	PR debug/97060
-	* dwarf2out.c (dwarf2out_early_global_decl): For FUNCTION_DECLs
-	and their abstract origins, if they don't have gimple body,
-	set current_function_decl to NULL rather than the decl or origin.
-
-	* gcc.dg/debug/dwarf2/pr97060.c: New test.
-
---- gcc/dwarf2out.c.jj	2020-09-07 13:17:58.383594248 +0200
-+++ gcc/dwarf2out.c	2020-09-16 11:14:57.763550862 +0200
-@@ -26547,7 +26547,11 @@ dwarf2out_early_global_decl (tree decl)
- 	      && ((origin_die = lookup_decl_die (origin)) == NULL
- 		  || is_declaration_die (origin_die)))
- 	    {
--	      current_function_decl = origin;
-+	      cgraph_node *cnode = cgraph_node::get (origin);
-+	      if (cnode && cnode->has_gimple_body_p ())
-+		current_function_decl = origin;
-+	      else
-+		current_function_decl = NULL_TREE;
- 	      dwarf2out_decl (origin);
- 	    }
- 
-@@ -26556,7 +26560,11 @@ dwarf2out_early_global_decl (tree decl)
- 	  if ((old_die = lookup_decl_die (decl)) == NULL
- 	      || is_declaration_die (old_die))
- 	    {
--	      current_function_decl = decl;
-+	      cgraph_node *cnode = cgraph_node::get (decl);
-+	      if (cnode && cnode->has_gimple_body_p ())
-+		current_function_decl = decl;
-+	      else
-+		current_function_decl = NULL_TREE;
- 	      dwarf2out_decl (decl);
- 	    }
- 
---- gcc/testsuite/gcc.dg/debug/dwarf2/pr97060.c.jj	2020-09-16 11:03:22.358420449 +0200
-+++ gcc/testsuite/gcc.dg/debug/dwarf2/pr97060.c	2020-09-16 11:03:17.717486318 +0200
-@@ -0,0 +1,13 @@
-+/* PR debug/97060 */
-+/* { dg-do compile } */
-+/* { dg-options "-g -dA" } */
-+/* { dg-final { scan-assembler-times "DW_AT_declaration" 2 } } */
-+
-+extern int foo (unsigned int, unsigned int);
-+
-+int
-+bar (void)
-+{
-+  foo (1, 2);
-+  return 0;
-+}

             reply	other threads:[~2026-06-29 12:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-29 12:28 Jakub Jelinek [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-06-29 12:28 [rpms/gcc] rhel-f41-base: 10.2.1-4 Jakub Jelinek
2026-06-29 12:28 Jakub Jelinek
2026-06-29 12:28 Jakub Jelinek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178273613460.1.16860019938845519433.rpms-gcc-888bd7b767b0@fedoraproject.org \
    --to=jakub@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox