public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gcc] rhel-f41-base: 7.0.1-0.14
@ 2026-06-29 12:27 Jakub Jelinek
  0 siblings, 0 replies; 3+ 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 : 3e19e07261dc53b3f3ccde296ebb997dcee9aa35
Author : Jakub Jelinek <jakub@redhat.com>
Date   : 2017-04-10T15:57:36+02:00
Stats  : +1/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/gcc/c/3e19e07261dc53b3f3ccde296ebb997dcee9aa35?branch=rhel-f41-base

Log:
7.0.1-0.14

---
diff --git a/gcc.spec b/gcc.spec
index 71af131..7ef5cf9 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1,4 +1,4 @@
-%global DATE 20170327
+%global DATE 20170410
 %global SVNREV 246806
 %global gcc_version 7.0.1
 %global gcc_major 7

^ permalink raw reply related	[flat|nested] 3+ messages in thread
* [rpms/gcc] rhel-f41-base: 7.0.1-0.14
@ 2026-06-29 12:27 Jakub Jelinek
  0 siblings, 0 replies; 3+ 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 : ecfa641ec404cc01676696b0a1595b90e1b2dcd5
Author : Jakub Jelinek <jakub@redhat.com>
Date   : 2017-04-10T18:17:43+02:00
Stats  : +273/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/gcc/c/ecfa641ec404cc01676696b0a1595b90e1b2dcd5?branch=rhel-f41-base

Log:
7.0.1-0.14

---
diff --git a/gcc.spec b/gcc.spec
index 7ef5cf9..fd5d23b 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -232,6 +232,7 @@ 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-pr80321.patch
 
 Patch1000: nvptx-tools-no-ptxas.patch
 Patch1001: nvptx-tools-build.patch
@@ -820,6 +821,7 @@ package or when debugging this package.
 %patch9 -p0 -b .aarch64-async-unw-tables~
 %patch10 -p0 -b .foffload-default~
 %patch11 -p0 -b .Wno-format-security~
+%patch12 -p0 -b .pr80321~
 
 cd nvptx-tools-%{nvptx_tools_gitrev}
 %patch1000 -p1 -b .nvptx-tools-no-ptxas~
@@ -3262,6 +3264,7 @@ fi
 	tree-optimization/80216, tree-optimization/80218,
 	tree-optimization/80262, tree-optimization/80275,
 	tree-optimization/80304, tree-optimization/80334
+- fix dwarf ICE with nested function self-inlining (PR debug/80321)
 
 * Mon Mar 27 2017 Jakub Jelinek <jakub@redhat.com> 7.0.1-0.13
 - update from the trunk

diff --git a/gcc7-pr80321.patch b/gcc7-pr80321.patch
new file mode 100644
index 0000000..fd08b77
--- /dev/null
+++ b/gcc7-pr80321.patch
@@ -0,0 +1,270 @@
+2017-04-07  Jakub Jelinek  <jakub@redhat.com>
+
+	PR debug/80321
+	* dwarf2out.c (decls_for_scope): Ignore declarations of
+	current_function_decl in BLOCK_NONLOCALIZED_VARS.
+
+	* gcc.dg/debug/pr80321.c: New test.
+
+2017-04-07  Eric Botcazou  <ebotcazou@adacore.com>
+
+	* gnat.dg/debug10.adb: New test.
+	* gnat.dg/debug10_pkg.ads: New helper.
+
+--- gcc/dwarf2out.c.jj	2017-04-07 11:46:48.000000000 +0200
++++ gcc/dwarf2out.c	2017-04-07 20:00:43.503772542 +0200
+@@ -24889,7 +24889,12 @@ decls_for_scope (tree stmt, dw_die_ref c
+ 	for (i = 0; i < BLOCK_NUM_NONLOCALIZED_VARS (stmt); i++)
+ 	  {
+ 	    decl = BLOCK_NONLOCALIZED_VAR (stmt, i);
+-	    if (TREE_CODE (decl) == FUNCTION_DECL)
++	    if (decl == current_function_decl)
++	      /* Ignore declarations of the current function, while they
++		 are declarations, gen_subprogram_die would treat them
++		 as definitions again, because they are equal to
++		 current_function_decl and endlessly recurse.  */;
++	    else if (TREE_CODE (decl) == FUNCTION_DECL)
+ 	      process_scope_var (stmt, decl, NULL_TREE, context_die);
+ 	    else
+ 	      process_scope_var (stmt, NULL_TREE, decl, context_die);
+--- gcc/testsuite/gcc.dg/debug/pr80321.c.jj	2017-04-07 21:39:01.930615179 +0200
++++ gcc/testsuite/gcc.dg/debug/pr80321.c	2017-04-07 21:39:49.722982635 +0200
+@@ -0,0 +1,26 @@
++/* PR debug/80321 */
++/* { dg-do compile } */
++/* { dg-options "-fkeep-inline-functions" } */
++
++void bar (void);
++
++static inline void
++test (int x)
++{
++  inline void
++  foo (int x)
++  {
++    test (0);
++    asm volatile ("" : : : "memory");
++  }
++  if (x != 0)
++    foo (x);
++  else
++    bar ();
++}
++
++void
++baz (int x)
++{
++  test (x);
++}
+--- gcc/testsuite/gnat.dg/debug10.adb.jj	2017-04-07 20:24:44.232473780 +0200
++++ gcc/testsuite/gnat.dg/debug10.adb	2017-04-07 20:26:40.493980722 +0200
+@@ -0,0 +1,68 @@
++-- PR debug/80321
++
++-- { dg-do compile }
++-- { dg-options "-O2 -g" }
++
++with Debug10_Pkg; use Debug10_Pkg;
++
++procedure Debug10 (T : Entity_Id) is
++
++   procedure Inner (E : Entity_Id);
++   pragma Inline (Inner);
++
++   procedure Inner (E : Entity_Id) is
++   begin
++      if E /= Empty
++         and then not Nodes (E + 3).Flag16
++      then
++         Debug10 (E);
++      end if;
++   end Inner;
++
++   function Ekind (E : Entity_Id) return Entity_Kind is
++   begin
++      return N_To_E (Nodes (E + 1).Nkind);
++   end Ekind;
++
++begin
++
++   if T = Empty then
++      return;
++   end if;
++
++   Nodes (T + 3).Flag16 := True;
++
++   if Ekind (T) in Object_Kind then
++      Inner (T);
++
++   elsif Ekind (T) in Type_Kind then
++      Inner (T);
++
++      if Ekind (T) in Record_Kind then
++
++         if Ekind (T) = E_Class_Wide_Subtype then
++            Inner (T);
++         end if;
++
++      elsif Ekind (T) in Array_Kind then
++         Inner (T);
++
++      elsif Ekind (T) in Access_Kind then
++         Inner (T);
++
++      elsif Ekind (T) in Scalar_Kind then
++
++         if My_Scalar_Range (T) /= Empty
++           and then My_Test (My_Scalar_Range (T))
++         then
++            if My_Is_Entity_Name (T) then
++               Inner (T);
++            end if;
++
++            if My_Is_Entity_Name (T) then
++               Inner (T);
++            end if;
++         end if;
++      end if;
++   end if;
++end;
+--- gcc/testsuite/gnat.dg/debug10_pkg.ads.jj	2017-04-07 20:24:47.384433302 +0200
++++ gcc/testsuite/gnat.dg/debug10_pkg.ads	2017-04-07 20:24:22.000000000 +0200
+@@ -0,0 +1,138 @@
++with Unchecked_Conversion;
++
++package Debug10_Pkg is
++
++   type Node_Id is range 0 .. 99_999_999;
++
++   Empty : constant Node_Id := 0;
++
++   subtype Entity_Id is Node_Id;
++
++   type Union_Id is new Integer;
++
++   function My_Is_Entity_Name (N : Node_Id) return Boolean;
++
++   function My_Scalar_Range (Id : Entity_Id) return Node_Id;
++
++   function My_Test (N : Node_Id) return Boolean;
++
++   type Node_Kind is (N_Unused_At_Start, N_Unused_At_End);
++
++   type Entity_Kind is (
++
++      E_Void,
++      E_Component,
++      E_Constant,
++      E_Discriminant,
++      E_Loop_Parameter,
++      E_Variable,
++      E_Out_Parameter,
++      E_In_Out_Parameter,
++      E_In_Parameter,
++      E_Generic_In_Out_Parameter,
++      E_Generic_In_Parameter,
++      E_Named_Integer,
++      E_Named_Real,
++      E_Enumeration_Type,
++      E_Enumeration_Subtype,
++      E_Signed_Integer_Type,
++      E_Signed_Integer_Subtype,
++      E_Modular_Integer_Type,
++      E_Modular_Integer_Subtype,
++      E_Ordinary_Fixed_Point_Type,
++      E_Ordinary_Fixed_Point_Subtype,
++      E_Decimal_Fixed_Point_Type,
++      E_Decimal_Fixed_Point_Subtype,
++      E_Floating_Point_Type,
++      E_Floating_Point_Subtype,
++      E_Access_Type,
++      E_Access_Subtype,
++      E_Access_Attribute_Type,
++      E_Allocator_Type,
++      E_General_Access_Type,
++      E_Access_Subprogram_Type,
++      E_Anonymous_Access_Subprogram_Type,
++      E_Access_Protected_Subprogram_Type,
++      E_Anonymous_Access_Protected_Subprogram_Type,
++      E_Anonymous_Access_Type,
++      E_Array_Type,
++      E_Array_Subtype,
++      E_String_Literal_Subtype,
++      E_Class_Wide_Type,
++      E_Class_Wide_Subtype,
++      E_Record_Type,
++      E_Record_Subtype,
++      E_Record_Type_With_Private,
++      E_Record_Subtype_With_Private,
++      E_Private_Type,
++      E_Private_Subtype,
++      E_Limited_Private_Type,
++      E_Limited_Private_Subtype,
++      E_Incomplete_Type,
++      E_Incomplete_Subtype,
++      E_Task_Type,
++      E_Task_Subtype,
++      E_Protected_Type,
++      E_Protected_Subtype,
++      E_Exception_Type,
++      E_Subprogram_Type,
++      E_Enumeration_Literal,
++      E_Function,
++      E_Operator,
++      E_Procedure,
++      E_Abstract_State,
++      E_Entry,
++      E_Entry_Family,
++      E_Block,
++      E_Entry_Index_Parameter,
++      E_Exception,
++      E_Generic_Function,
++      E_Generic_Procedure,
++      E_Generic_Package,
++      E_Label,
++      E_Loop,
++      E_Return_Statement,
++      E_Package,
++      E_Package_Body,
++      E_Protected_Object,
++      E_Protected_Body,
++      E_Task_Body,
++      E_Subprogram_Body
++   );
++
++   subtype Access_Kind                 is Entity_Kind range
++       E_Access_Type ..
++       E_Anonymous_Access_Type;
++
++   subtype Array_Kind                  is Entity_Kind range
++       E_Array_Type ..
++       E_String_Literal_Subtype;
++
++   subtype Object_Kind                 is Entity_Kind range
++       E_Component ..
++       E_Generic_In_Parameter;
++
++   subtype Record_Kind                 is Entity_Kind range
++       E_Class_Wide_Type ..
++       E_Record_Subtype_With_Private;
++
++   subtype Scalar_Kind                 is Entity_Kind range
++       E_Enumeration_Type ..
++       E_Floating_Point_Subtype;
++
++   subtype Type_Kind                   is Entity_Kind range
++       E_Enumeration_Type ..
++       E_Subprogram_Type;
++
++   type Node_Record (Is_Extension : Boolean := False) is record
++      Flag16 : Boolean;
++      Nkind : Node_Kind;
++   end record;
++
++   function N_To_E is new Unchecked_Conversion (Node_Kind, Entity_Kind);
++
++   type Arr is array (Node_Id) of Node_Record;
++
++   Nodes : Arr;
++
++end Debug10_Pkg;

^ permalink raw reply related	[flat|nested] 3+ messages in thread
* [rpms/gcc] rhel-f41-base: 7.0.1-0.14
@ 2026-06-29 12:27 Jakub Jelinek
  0 siblings, 0 replies; 3+ 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 : 61f26fa336019cafbf77c501a7b4c9c7d4f66174
Author : Jakub Jelinek <jakub@redhat.com>
Date   : 2017-04-10T15:49:09+02:00
Stats  : +31/-3 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/gcc/c/61f26fa336019cafbf77c501a7b4c9c7d4f66174?branch=rhel-f41-base

Log:
7.0.1-0.14

---
diff --git a/.gitignore b/.gitignore
index acea644..ef6163e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,3 +12,4 @@
 /gcc-7.0.1-20170308.tar.bz2
 /gcc-7.0.1-20170309.tar.bz2
 /gcc-7.0.1-20170327.tar.bz2
+/gcc-7.0.1-20170410.tar.bz2

diff --git a/gcc.spec b/gcc.spec
index 3d3f185..71af131 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1,10 +1,10 @@
 %global DATE 20170327
-%global SVNREV 246493
+%global SVNREV 246806
 %global gcc_version 7.0.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 0.13
+%global gcc_release 0.14
 %global nvptx_tools_gitrev c28050f60193b3b95a18866a96f03334e874e78f
 %global nvptx_newlib_gitrev aadc8eb0ec43b7cd0dd2dfb484bae63c8b05ef24
 %global _unpackaged_files_terminate_build 0
@@ -3236,6 +3236,33 @@ fi
 %endif
 
 %changelog
+* Mon Apr 10 2017 Jakub Jelinek <jakub@redhat.com> 7.0.1-0.14
+- update from the trunk
+  - PRs ada/80117, ada/80146, c++/60992, c++/69487, c++/79572, c++/80095,
+	c++/80267, c++/80296, c++/80297, c++/80309, c++/80356, c/79730,
+	debug/79255, debug/80025, debug/80234, documentation/78732,
+	fortran/78661, fortran/80254, gcov-profile/80224, go/80226, ipa/77333,
+	ipa/79776, ipa/80104, ipa/80205, ipa/80212, libgfortran/78670,
+	libgomp/79876, libstdc++/79141, libstdc++/80137, libstdc++/80229,
+	libstdc++/80251, middle-end/80162, middle-end/80163, middle-end/80173,
+	middle-end/80222, middle-end/80281, middle-end/80341,
+	middle-end/80344, middle-end/80362, rtl-optimization/60818,
+	rtl-optimization/70478, rtl-optimization/70703,
+	rtl-optimization/79405, rtl-optimization/80193,
+	rtl-optimization/80233, sanitizer/79993, sanitizer/80067,
+	sanitizer/80166, sanitizer/80308, sanitizer/80348, sanitizer/80350,
+	target/45053, target/53383, target/78002, target/78543, target/79733,
+	target/79889, target/79890, target/79905, target/80102, target/80103,
+	target/80107, target/80206, target/80246, target/80250, target/80286,
+	target/80298, target/80307, target/80310, target/80322, target/80323,
+	target/80324, target/80325, target/80326, target/80358,
+	testsuite/43496, translation/80189, tree-optimization/49498,
+	tree-optimization/77498, tree-optimization/78644,
+	tree-optimization/79390, tree-optimization/80181,
+	tree-optimization/80216, tree-optimization/80218,
+	tree-optimization/80262, tree-optimization/80275,
+	tree-optimization/80304, tree-optimization/80334
+
 * Mon Mar 27 2017 Jakub Jelinek <jakub@redhat.com> 7.0.1-0.13
 - update from the trunk
   - PRs bootstrap/79771, bootstrap/79952, c++/35878, c++/52477, c++/77339,

diff --git a/sources b/sources
index c454cd6..5f6bdd3 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-SHA512 (gcc-7.0.1-20170327.tar.bz2) = 803138f7097da80a68c2c0d543d50bcd9c13771b6cf88c5208bd4c6722587ce8b2d569add09cddc6a410658d60c97e6516edae9dcec26ae658de8c9cdecb6d07
+SHA512 (gcc-7.0.1-20170410.tar.bz2) = 62a8043b150c7b8612fc82681c9913d933d324e08e97abbe3925c621a646e097dd41ae3702a44d5eb8054dd01152ac051ac28c323fa9fc091114c402d164ebf0
 SHA512 (nvptx-newlib-aadc8eb0ec43b7cd0dd2dfb484bae63c8b05ef24.tar.bz2) = 38f97c9297ad108568352a4d28277455a3c01fd8b7864e798037e5006b6f757022e874bbf3f165775fe3b873781bc108137bbeb42dd5ed3c7d3e6747746fa918
 SHA512 (nvptx-tools-c28050f60193b3b95a18866a96f03334e874e78f.tar.bz2) = 95b577a06a93bb044dbc8033e550cb36bcf2ab2687da030a7318cdc90e7467ed49665e247dcafb5ff4a7e92cdc264291d19728bd17fab902fb64b22491269330

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

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

Thread overview: 3+ 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.0.1-0.14 Jakub Jelinek
  -- strict thread matches above, loose matches on Subject: below --
2026-06-29 12:27 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