1 |
commit: bf27cf0934d866b0b9d3d2f78dc25db8aa829e78 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 30 15:49:47 2019 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 30 15:49:47 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=bf27cf09 |
7 |
|
8 |
8.3.0: fix ia64 bootstrap |
9 |
|
10 |
On ia64 stage2/3 comparison fails due to label wibble. |
11 |
|
12 |
Bug: https://gcc.gnu.org/87338 |
13 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
14 |
|
15 |
8.3.0/gentoo/29_all_ia64-bootstrap.patch | 41 ++++++++++++++++++++++++++++++++ |
16 |
8.3.0/gentoo/README.history | 3 +++ |
17 |
2 files changed, 44 insertions(+) |
18 |
|
19 |
diff --git a/8.3.0/gentoo/29_all_ia64-bootstrap.patch b/8.3.0/gentoo/29_all_ia64-bootstrap.patch |
20 |
new file mode 100644 |
21 |
index 0000000..0a0a25b |
22 |
--- /dev/null |
23 |
+++ b/8.3.0/gentoo/29_all_ia64-bootstrap.patch |
24 |
@@ -0,0 +1,41 @@ |
25 |
+https://gcc.gnu.org/PR87338 |
26 |
+ |
27 |
+From 1cc1dc32fcf6b47db4e6d28f55de343713f824a4 Mon Sep 17 00:00:00 2001 |
28 |
+From: James Clarke <jrtc27@××××××.com> |
29 |
+Date: Thu, 25 Apr 2019 15:58:55 +0200 |
30 |
+Subject: [PATCH] PR bootstrap/87338: Fix ia64 bootstrap comparison regression |
31 |
+ in r257511 |
32 |
+To: gcc-patches@×××××××.org |
33 |
+ |
34 |
+By using ASM_OUTPUT_LABEL, r257511 forced the assembler to start a new |
35 |
+bundle when emitting an inline entry label on. Instead, use |
36 |
+ASM_OUTPUT_DEBUG_LABEL like for the block begin and end labels so tags are |
37 |
+emitted rather than labels. |
38 |
+ |
39 |
+gcc/ |
40 |
+ PR bootstrap/87338 |
41 |
+ * dwarf2out.c (dwarf2out_inline_entry): Use ASM_OUTPUT_DEBUG_LABEL |
42 |
+ instead of ASM_GENERATE_INTERNAL_LABEL and ASM_OUTPUT_LABEL. |
43 |
+--- |
44 |
+ gcc/dwarf2out.c | 7 ++----- |
45 |
+ 1 file changed, 2 insertions(+), 5 deletions(-) |
46 |
+ |
47 |
+--- a/gcc/dwarf2out.c |
48 |
++++ b/gcc/dwarf2out.c |
49 |
+@@ -27670,11 +27670,8 @@ dwarf2out_inline_entry (tree block) |
50 |
+ if (cur_line_info_table) |
51 |
+ ied->view = cur_line_info_table->view; |
52 |
+ |
53 |
+- char label[MAX_ARTIFICIAL_LABEL_BYTES]; |
54 |
+- |
55 |
+- ASM_GENERATE_INTERNAL_LABEL (label, BLOCK_INLINE_ENTRY_LABEL, |
56 |
+- BLOCK_NUMBER (block)); |
57 |
+- ASM_OUTPUT_LABEL (asm_out_file, label); |
58 |
++ ASM_OUTPUT_DEBUG_LABEL (asm_out_file, BLOCK_INLINE_ENTRY_LABEL, |
59 |
++ BLOCK_NUMBER (block)); |
60 |
+ } |
61 |
+ |
62 |
+ /* Called from finalize_size_functions for size functions so that their body |
63 |
+-- |
64 |
+1.8.5.3 |
65 |
+ |
66 |
|
67 |
diff --git a/8.3.0/gentoo/README.history b/8.3.0/gentoo/README.history |
68 |
index d1f0c0d..fc32cd2 100644 |
69 |
--- a/8.3.0/gentoo/README.history |
70 |
+++ b/8.3.0/gentoo/README.history |
71 |
@@ -1,3 +1,6 @@ |
72 |
+1.2 TODO |
73 |
+ + 29_all_ia64-bootstrap.patch |
74 |
+ |
75 |
1.1 06 Apr 2019 |
76 |
+ 26_all_overridable_native.patch |
77 |
+ 27_all_flto-make-all.patch |