]> git.ipfire.org Git - thirdparty/gcc.git/blame - contrib/gcc-changelog/test_patches.txt
Allow ChangeLog entries for ignored location.
[thirdparty/gcc.git] / contrib / gcc-changelog / test_patches.txt
CommitLineData
941c9474
ML
1=== 0342-ARC-Propagate-uncached-type-attribute-to-each-member.patch ===
2From 62a715c706d8482560dadfa9ead0766f3c20e434 Mon Sep 17 00:00:00 2001
3From: Claudiu Zissulescu <claziss@gmail.com>
4Date: Mon, 27 Jan 2020 14:51:03 +0200
5Subject: [PATCH 0342/2034] [ARC] Propagate uncached type attribute to each
6 member of a struct.
7
8Like `packed` type attribute, the ARC's `uncached` type attribute
9needs to be propagated to each member of the struct where it is used,
10triggering the .di flag for any access of the struct members. However,
11any complex CFG manipulation may drop memory pointer type attributes,
12leading to the impossibility to discriminate the direct accesses from
13normal ones. To solve this issue, we will treat the direct memory
14accessed specially via unspecs.
15
16gcc/
17xxxx-xx-xx Claudiu Zissulescu <claziss@synopsys.com>
18 Petro Karashchenko <petro.karashchenko@ring.com>
19
20 * config/arc/arc.c (arc_is_uncached_mem_p): Check struct
21 attributes if needed.
22 (prepare_move_operands): Generate special
23 unspec instruction for direct access.
24 (arc_isuncached_mem_p): Propagate uncached attribute to each
25 structure member.
26 * config/arc/arc.md (VUNSPEC_ARC_LDDI): Define.
27 (VUNSPEC_ARC_STDI): Likewise.
28 (ALLI): New mode iterator.
29 (mALLI): New mode attribute.
30 (lddi): New instruction pattern.
31 (stdi): Likewise.
32 (stdidi_split): Split instruction for architectures which are not
33 supporting ll64 option.
34 (lddidi_split): Likewise.
35
36testsuite/
37xxxx-xx-xx Claudiu Zissulescu <claziss@synopsys.com>
38 Petro Karashchenko <petro.karashchenko@ring.com>
39
40 * gcc.target/arc/uncached-1.c: Update test.
41 * gcc.target/arc/uncached-2.c: Likewise.
42 * gcc.target/arc/uncached-3.c: New test.
43 * gcc.target/arc/uncached-4.c: Likewise.
44 * gcc.target/arc/uncached-5.c: Likewise.
45 * gcc.target/arc/uncached-6.c: Likewise.
46 * gcc.target/arc/uncached-7.c: Likewise.
47 * gcc.target/arc/uncached-8.c: Likewise.
48 * gcc.target/arc/arc.exp (ll64): New predicate.
49---
50 gcc/ChangeLog | 19 ++++
51 gcc/config/arc/arc.c | 118 ++++++++++++++--------
52 gcc/config/arc/arc.md | 60 +++++++++++
53 gcc/testsuite/ChangeLog | 11 ++
54 gcc/testsuite/gcc.target/arc/arc.exp | 9 ++
55 gcc/testsuite/gcc.target/arc/uncached-1.c | 2 +-
56 gcc/testsuite/gcc.target/arc/uncached-2.c | 2 +-
57 gcc/testsuite/gcc.target/arc/uncached-3.c | 22 ++++
58 gcc/testsuite/gcc.target/arc/uncached-4.c | 42 ++++++++
59 gcc/testsuite/gcc.target/arc/uncached-5.c | 29 ++++++
60 gcc/testsuite/gcc.target/arc/uncached-6.c | 35 +++++++
61 gcc/testsuite/gcc.target/arc/uncached-7.c | 11 ++
62 gcc/testsuite/gcc.target/arc/uncached-8.c | 33 ++++++
63 13 files changed, 351 insertions(+), 42 deletions(-)
64 create mode 100644 gcc/testsuite/gcc.target/arc/uncached-3.c
65 create mode 100644 gcc/testsuite/gcc.target/arc/uncached-4.c
66 create mode 100644 gcc/testsuite/gcc.target/arc/uncached-5.c
67 create mode 100644 gcc/testsuite/gcc.target/arc/uncached-6.c
68 create mode 100644 gcc/testsuite/gcc.target/arc/uncached-7.c
69 create mode 100644 gcc/testsuite/gcc.target/arc/uncached-8.c
70
71diff --git a/gcc/ChangeLog b/gcc/ChangeLog
72index 91dfcd71a4b..2cc61d68cf3 100644
73--- a/gcc/ChangeLog
74+++ b/gcc/ChangeLog
75@@ -1 +1,2 @@
76
77+
78diff --git a/gcc/config/arc/arc.c b/gcc/config/arc/arc.c
79index 22475f2732e..e1a865f02e6 100644
80--- a/gcc/config/arc/arc.c
81+++ b/gcc/config/arc/arc.c
82@@ -1 +1,2 @@
83
84+
85diff --git a/gcc/config/arc/arc.md b/gcc/config/arc/arc.md
86index cf7aa8d83c9..46cb254ed28 100644
87--- a/gcc/config/arc/arc.md
88+++ b/gcc/config/arc/arc.md
89@@ -1 +1,2 @@
90
91+
92diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
93index 16ddef07516..991934272e0 100644
94--- a/gcc/testsuite/ChangeLog
95+++ b/gcc/testsuite/ChangeLog
96@@ -1 +1,2 @@
97
98+
99diff --git a/gcc/testsuite/gcc.target/arc/arc.exp b/gcc/testsuite/gcc.target/arc/arc.exp
100index 8d1844edd22..501d4589c53 100644
101--- a/gcc/testsuite/gcc.target/arc/arc.exp
102+++ b/gcc/testsuite/gcc.target/arc/arc.exp
103@@ -1 +1,2 @@
104
105+
106diff --git a/gcc/testsuite/gcc.target/arc/uncached-1.c b/gcc/testsuite/gcc.target/arc/uncached-1.c
107index 7a6bade81c4..fa5ecb7b7d3 100644
108--- a/gcc/testsuite/gcc.target/arc/uncached-1.c
109+++ b/gcc/testsuite/gcc.target/arc/uncached-1.c
110@@ -1 +1,2 @@
111
112+
113diff --git a/gcc/testsuite/gcc.target/arc/uncached-2.c b/gcc/testsuite/gcc.target/arc/uncached-2.c
114index 89eed326e01..9d6bfbbb50e 100644
115--- a/gcc/testsuite/gcc.target/arc/uncached-2.c
116+++ b/gcc/testsuite/gcc.target/arc/uncached-2.c
117@@ -1 +1,2 @@
118
119+
120diff --git a/gcc/testsuite/gcc.target/arc/uncached-3.c b/gcc/testsuite/gcc.target/arc/uncached-3.c
121new file mode 100644
122index 00000000000..f2a317b2816
123--- /dev/null
124+++ b/gcc/testsuite/gcc.target/arc/uncached-3.c
125@@ -0,0 +1 @@
126+
127diff --git a/gcc/testsuite/gcc.target/arc/uncached-4.c b/gcc/testsuite/gcc.target/arc/uncached-4.c
128new file mode 100644
129index 00000000000..fecb16648b8
130--- /dev/null
131+++ b/gcc/testsuite/gcc.target/arc/uncached-4.c
132@@ -0,0 +1 @@
133+
134diff --git a/gcc/testsuite/gcc.target/arc/uncached-5.c b/gcc/testsuite/gcc.target/arc/uncached-5.c
135new file mode 100644
136index 00000000000..4fe0464fdde
137--- /dev/null
138+++ b/gcc/testsuite/gcc.target/arc/uncached-5.c
139@@ -0,0 +1 @@
140+
141diff --git a/gcc/testsuite/gcc.target/arc/uncached-6.c b/gcc/testsuite/gcc.target/arc/uncached-6.c
142new file mode 100644
143index 00000000000..581a9eccb3b
144--- /dev/null
145+++ b/gcc/testsuite/gcc.target/arc/uncached-6.c
146@@ -0,0 +1 @@
147+
148diff --git a/gcc/testsuite/gcc.target/arc/uncached-7.c b/gcc/testsuite/gcc.target/arc/uncached-7.c
149new file mode 100644
150index 00000000000..4001b8bd821
151--- /dev/null
152+++ b/gcc/testsuite/gcc.target/arc/uncached-7.c
153@@ -0,0 +1 @@
154+
155diff --git a/gcc/testsuite/gcc.target/arc/uncached-8.c b/gcc/testsuite/gcc.target/arc/uncached-8.c
156new file mode 100644
157index 00000000000..060229b11df
158--- /dev/null
159+++ b/gcc/testsuite/gcc.target/arc/uncached-8.c
160@@ -0,0 +1 @@
161+
162--
1632.26.1
164
165=== 0814-sra-Avoid-totally-scalarizing-overallping-field_decl.patch ===
166From 665c5bad168ab63629b29ed2ce08ed042c088dc2 Mon Sep 17 00:00:00 2001
167From: Martin Jambor <mjambor@suse.cz>
168Date: Wed, 19 Feb 2020 11:08:40 +0100
169Subject: [PATCH 0814/2034] sra: Avoid totally scalarizing overallping
170 field_decls (PR 93667)
171
172[[no_unique_address]] C++ attribute can cause two fields of a
173RECORD_TYPE overlap, which currently confuses the totally scalarizing
174code into creating invalid access tree. For GCC 10, I'd like to
175simply disable total scalarization of types where this happens.
176
177For GCC 11 I'll write down a TODO item to enable total scalarization
178of cases like this where the problematic fields are basically empty -
179despite having a non-zero size - i.e. when they are just RECORD_TYPEs
180without any data fields.
181
1822020-02-19 Martin Jambor <mjambor@suse.cz>
183
184 gcc/
185
186 PR tree-optimization/93667
187 * tree-sra.c (scalarizable_type_p): Return false if record fields
188 do not follow wach other.
189
190 gcc/testsuite/
191
192 PR tree-optimization/93667
193 * g++.dg/tree-ssa/pr93667.C: New test.
194---
195 gcc/ChangeLog | 6 ++++++
196 gcc/testsuite/ChangeLog | 5 +++++
197 gcc/testsuite/g++.dg/tree-ssa/pr93667.C | 11 +++++++++++
198 gcc/tree-sra.c | 14 ++++++++++++++
199 4 files changed, 36 insertions(+)
200 create mode 100644 gcc/testsuite/g++.dg/tree-ssa/pr93667.C
201
202diff --git a/gcc/ChangeLog b/gcc/ChangeLog
203index 77c2a9ad810..6b53f9a2f07 100644
204--- a/gcc/ChangeLog
205+++ b/gcc/ChangeLog
206@@ -1 +1,2 @@
207
208+
209diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
210index 9b4fe11a6f6..8033fa0a3bb 100644
211--- a/gcc/testsuite/ChangeLog
212+++ b/gcc/testsuite/ChangeLog
213@@ -1 +1,2 @@
214
215+
216diff --git a/gcc/testsuite/g++.dg/tree-ssa/pr93667.C b/gcc/testsuite/g++.dg/tree-ssa/pr93667.C
217new file mode 100644
218index 00000000000..d875f53d9ec
219--- /dev/null
220+++ b/gcc/testsuite/g++.dg/tree-ssa/pr93667.C
221@@ -0,0 +1 @@
222+
223diff --git a/gcc/tree-sra.c b/gcc/tree-sra.c
224index 0cfac0a8192..4c7d651e6b9 100644
225--- a/gcc/tree-sra.c
226+++ b/gcc/tree-sra.c
227@@ -1 +1,2 @@
228
229+
230--
2312.26.1
232
233=== 0413-SRA-Total-scalarization-after-access-propagation-PR9.patch ===
234From 636e80eea24b780f1d5f4c14c58fc00001df8508 Mon Sep 17 00:00:00 2001
235From: Martin Jambor <mjambor@suse.cz>
236Date: Wed, 29 Jan 2020 13:13:13 +0100
237Subject: [PATCH 0413/2034] SRA: Total scalarization after access propagation
238 [PR92706]
239
2402020-01-29 Martin Jambor <mjambor@suse.cz>
241
242 PR tree-optimization/92706
243 * tree-sra.c (struct access): Adjust comment of
244 grp_total_scalarization.
245 (find_access_in_subtree): Look for single children spanning an entire
246 access.
247 (scalarizable_type_p): Allow register accesses, adjust callers.
248 (completely_scalarize): Remove function.
249 (scalarize_elem): Likewise.
250 (create_total_scalarization_access): Likewise.
251 (sort_and_splice_var_accesses): Do not track total scalarization
252 flags.
253 (analyze_access_subtree): New parameter totally, adjust to new meaning
254 of grp_total_scalarization.
255 (analyze_access_trees): Pass new parameter to analyze_access_subtree.
256 (can_totally_scalarize_forest_p): New function.
257 (create_total_scalarization_access): Likewise.
258 (create_total_access_and_reshape): Likewise.
259 (total_should_skip_creating_access): Likewise.
260 (totally_scalarize_subtree): Likewise.
261 (analyze_all_variable_accesses): Perform total scalarization after
262 subaccess propagation using the new functions above.
263 (initialize_constant_pool_replacements): Output initializers by
264 traversing the access tree.
265
266 testsuite/
267 * gcc.dg/tree-ssa/pr92706-2.c: New test.
268 * gcc.dg/guality/pr59776.c: Xfail tests for s2.g.
269---
270 gcc/ChangeLog | 26 +
271 gcc/testsuite/ChangeLog | 6 +
272 gcc/testsuite/gcc.dg/guality/pr59776.c | 4 +-
273 gcc/testsuite/gcc.dg/tree-ssa/pr92706-2.c | 19 +
274 gcc/tree-sra.c | 666 ++++++++++++++++------
275 5 files changed, 537 insertions(+), 184 deletions(-)
276 create mode 100644 gcc/testsuite/gcc.dg/tree-ssa/pr92706-2.c
277
278diff --git a/gcc/ChangeLog b/gcc/ChangeLog
279index 16247a59304..61da54df346 100644
280--- a/gcc/ChangeLog
281+++ b/gcc/ChangeLog
282@@ -1 +1,2 @@
283
284+
285diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
286index 05518848829..38758207989 100644
287--- a/gcc/testsuite/ChangeLog
288+++ b/gcc/testsuite/ChangeLog
289@@ -1 +1,2 @@
290
291+
292diff --git a/gcc/testsuite/gcc.dg/guality/pr59776.c b/gcc/testsuite/gcc.dg/guality/pr59776.c
293index 382abb622bb..6c1c8165b70 100644
294--- a/gcc/testsuite/gcc.dg/guality/pr59776.c
295+++ b/gcc/testsuite/gcc.dg/guality/pr59776.c
296@@ -1 +1,2 @@
297
298+
299diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr92706-2.c b/gcc/testsuite/gcc.dg/tree-ssa/pr92706-2.c
300new file mode 100644
301index 00000000000..37ab9765db0
302--- /dev/null
303+++ b/gcc/testsuite/gcc.dg/tree-ssa/pr92706-2.c
304@@ -0,0 +1 @@
305+
306diff --git a/gcc/tree-sra.c b/gcc/tree-sra.c
307index 36106fecaf1..2b0849858de 100644
308--- a/gcc/tree-sra.c
309+++ b/gcc/tree-sra.c
310@@ -1 +1,2 @@
311
312+
313--
3142.26.1
315
316=== 0334-Do-not-generate-a-unique-fnname-for-resolver.patch ===
317From c2bd2b4664be8b73f8fd58a64dec1e93871797cc Mon Sep 17 00:00:00 2001
318From: Martin Liska <mliska@suse.cz>
319Date: Mon, 27 Jan 2020 10:48:18 +0100
320Subject: [PATCH 0334/2034] Do not generate a unique fnname for resolver.
321
322 PR target/93274
323 * config/i386/i386-features.c (make_resolver_func):
324 Align the code with ppc64 target implementation.
325 Do not generate a unique name for resolver function.
326 PR target/93274
327 * gcc.target/i386/pr81213.c: Adjust to not expect
328 a globally unique name.
329---
330 gcc/ChangeLog | 7 +++++++
331 gcc/config/i386/i386-features.c | 19 ++++---------------
332 gcc/testsuite/ChangeLog | 6 ++++++
333 gcc/testsuite/gcc.target/i386/pr81213.c | 4 ++--
334 4 files changed, 19 insertions(+), 17 deletions(-)
335
336diff --git a/gcc/ChangeLog b/gcc/ChangeLog
337index 45075840824..59806baa757 100644
338--- a/gcc/ChangeLog
339+++ b/gcc/ChangeLog
340@@ -1 +1,2 @@
341
342+
343diff --git a/gcc/config/i386/i386-features.c b/gcc/config/i386/i386-features.c
344index e580b26b995..b49e6f8d408 100644
345--- a/gcc/config/i386/i386-features.c
346+++ b/gcc/config/i386/i386-features.c
347@@ -1 +1,2 @@
348
349+
350diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
351index 2de060843d9..22a37dd1ab2 100644
352--- a/gcc/testsuite/ChangeLog
353+++ b/gcc/testsuite/ChangeLog
354@@ -1 +1,2 @@
355
356+
357diff --git a/gcc/testsuite/gcc.target/i386/pr81213.c b/gcc/testsuite/gcc.target/i386/pr81213.c
358index 13e15d5fef0..89c47529861 100644
359--- a/gcc/testsuite/gcc.target/i386/pr81213.c
360+++ b/gcc/testsuite/gcc.target/i386/pr81213.c
361@@ -1 +1,2 @@
362
363+
364--
3652.26.1
366
367=== 1850-List-valid-pairs-for-new-and-delete-operators.patch ===
368From d7a65edb629a010f7ef907d457343abcb569fab7 Mon Sep 17 00:00:00 2001
369From: Martin Liska <mliska@suse.cz>
370Date: Thu, 16 Apr 2020 15:39:22 +0200
371Subject: [PATCH 1850/2034] List valid pairs for new and delete operators.
372
373 PR c++/94314
374 * cgraphclones.c (set_new_clone_decl_and_node_flags): Drop
375 DECL_IS_REPLACEABLE_OPERATOR during cloning.
376 * tree-ssa-dce.c (valid_new_delete_pair_p): New function.
377 (propagate_necessity): Check operator names.
378
379 PR c++/94314
380 * g++.dg/pr94314.C: Do not use dg-additional-options
381 and remove not needed stdio.h include.
382 * g++.dg/pr94314-2.C: Likewise.
383 * g++.dg/pr94314-3.C: Likewise.
384 * g++.dg/pr94314-4.C: New test.
385
386Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
387---
388 gcc/ChangeLog | 9 +++
389 gcc/cgraphclones.c | 2 +
390 gcc/testsuite/ChangeLog | 10 ++++
391 gcc/testsuite/g++.dg/pr94314-2.C | 5 +-
392 gcc/testsuite/g++.dg/pr94314-3.C | 5 +-
393 gcc/testsuite/g++.dg/pr94314-4.C | 30 ++++++++++
394 gcc/testsuite/g++.dg/pr94314.C | 5 +-
395 gcc/tree-ssa-dce.c | 98 ++++++++++++++++++++++++++++----
396 8 files changed, 142 insertions(+), 22 deletions(-)
397 create mode 100644 gcc/testsuite/g++.dg/pr94314-4.C
398
399diff --git a/gcc/ChangeLog b/gcc/ChangeLog
400index 74dbeeb44c6..9e499ec9c86 100644
401--- a/gcc/ChangeLog
402+++ b/gcc/ChangeLog
403@@ -1 +1,2 @@
404
405+
406diff --git a/gcc/cgraphclones.c b/gcc/cgraphclones.c
407index c73b8f810f0..8f541a28b6e 100644
408--- a/gcc/cgraphclones.c
409+++ b/gcc/cgraphclones.c
410@@ -1 +1,2 @@
411
412+
413diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
414index 756f1d759e6..94d2312022d 100644
415--- a/gcc/testsuite/ChangeLog
416+++ b/gcc/testsuite/ChangeLog
417@@ -1 +1,2 @@
418
419+
420diff --git a/gcc/testsuite/g++.dg/pr94314-2.C b/gcc/testsuite/g++.dg/pr94314-2.C
421index 36b93ed6d4d..998ce601767 100644
422--- a/gcc/testsuite/g++.dg/pr94314-2.C
423+++ b/gcc/testsuite/g++.dg/pr94314-2.C
424@@ -1 +1,2 @@
425
426+
427diff --git a/gcc/testsuite/g++.dg/pr94314-3.C b/gcc/testsuite/g++.dg/pr94314-3.C
428index 575ba9d8ad8..846a5d6a3d8 100644
429--- a/gcc/testsuite/g++.dg/pr94314-3.C
430+++ b/gcc/testsuite/g++.dg/pr94314-3.C
431@@ -1 +1,2 @@
432
433+
434diff --git a/gcc/testsuite/g++.dg/pr94314-4.C b/gcc/testsuite/g++.dg/pr94314-4.C
435new file mode 100644
436index 00000000000..d097f29d4ad
437--- /dev/null
438+++ b/gcc/testsuite/g++.dg/pr94314-4.C
439@@ -0,0 +1 @@
440+
441diff --git a/gcc/testsuite/g++.dg/pr94314.C b/gcc/testsuite/g++.dg/pr94314.C
442index 86e651d10ba..4e5ae122e9f 100644
443--- a/gcc/testsuite/g++.dg/pr94314.C
444+++ b/gcc/testsuite/g++.dg/pr94314.C
445@@ -1 +1,2 @@
446
447+
448diff --git a/gcc/tree-ssa-dce.c b/gcc/tree-ssa-dce.c
449index fd5f24c746c..757cfad5b5e 100644
450--- a/gcc/tree-ssa-dce.c
451+++ b/gcc/tree-ssa-dce.c
452@@ -1 +1,2 @@
453
454+
455--
4562.26.1
457
458=== 0085-Daily-bump.patch ===
459From 03647d2e26176bb874460b67deab0c30aa715d59 Mon Sep 17 00:00:00 2001
460From: GCC Administrator <gccadmin@gcc.gnu.org>
461Date: Thu, 16 Jan 2020 00:16:32 +0000
462Subject: [PATCH 0085/2034] Daily bump.
463
464---
465 gcc/DATESTAMP | 2 +-
466 1 file changed, 1 insertion(+), 1 deletion(-)
467
468diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
469index ba948c594d4..62611957f86 100644
470--- a/gcc/DATESTAMP
471+++ b/gcc/DATESTAMP
472@@ -1 +1,2 @@
473
474+
475--
4762.26.1
477
478=== 0040-PR90916-ICE-in-retrieve-specialization.patch ===
479From a5a3c2dcf73aa245b0eb6f6cf56c4d03ab6056da Mon Sep 17 00:00:00 2001
480From: Nathan Sidwell <nathans@fb.com>
481Date: Tue, 14 Jan 2020 11:12:40 -0800
482Subject: [PATCH 0040/2034] [PR90916] ICE in retrieve specialization
483
484https://gcc.gnu.org/ml/gcc-patches/2020-01/msg00809.html
485 PR c++/90916
486 * pt.c (retrieve_specialization): Get the TI from the decl or the
487 classtype as appropriate.
488---
489 gcc/cp/ChangeLog | 6 ++++++
490 gcc/cp/pt.c | 15 ++++++++++-----
491 gcc/testsuite/g++.dg/template/pr90916.C | 8 ++++++++
492 3 files changed, 24 insertions(+), 5 deletions(-)
493 create mode 100644 gcc/testsuite/g++.dg/template/pr90916.C
494
495diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
496index 004ce0fdcdf..3cc7c48b490 100644
497--- a/gcc/cp/ChangeLog
498+++ b/gcc/cp/ChangeLog
499@@ -1 +1,2 @@
500
501+
502diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c
503index fa82ecad233..4fdc74f9ca8 100644
504--- a/gcc/cp/pt.c
505+++ b/gcc/cp/pt.c
506@@ -1 +1,2 @@
507
508+
509diff --git a/gcc/testsuite/g++.dg/template/pr90916.C b/gcc/testsuite/g++.dg/template/pr90916.C
510new file mode 100644
511index 00000000000..bdb7e7b58ef
512--- /dev/null
513+++ b/gcc/testsuite/g++.dg/template/pr90916.C
514@@ -0,0 +1 @@
515+
516--
5172.26.1
518
519=== 2004-amdgcn-Check-HSA-return-codes-PR94629.patch ===
520From 966de09be91c639d66d252c9ae6ab8da5ebfca18 Mon Sep 17 00:00:00 2001
521From: Andrew Stubbs <ams@codesourcery.com>
522Date: Mon, 20 Apr 2020 15:25:31 +0100
523Subject: [PATCH 2004/2034] amdgcn: Check HSA return codes [PR94629]
524
525Ensure that the returned status values are not ignored. The old code was
526not broken, but this is both safer and satisfies static analysis.
527
5282020-04-23 Andrew Stubbs <ams@codesourcery.com>
529
530 PR other/94629
531
532 libgomp/
533 * plugin/plugin-gcn.c (init_hsa_context): Check return value from
534 hsa_iterate_agents.
535 (GOMP_OFFLOAD_init_device): Check return values from both calls to
536 hsa_agent_iterate_regions.
537---
538 libgomp/ChangeLog | 9 +++++++++
539 libgomp/plugin/plugin-gcn.c | 8 ++++++++
540 2 files changed, 17 insertions(+)
541
542diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
543index c524abbbfb6..ee1764d4ae3 100644
544--- a/libgomp/ChangeLog
545+++ b/libgomp/ChangeLog
546@@ -1 +1,2 @@
547
548+
549diff --git a/libgomp/plugin/plugin-gcn.c b/libgomp/plugin/plugin-gcn.c
550index dc72c90962c..4c6a4c03b6e 100644
551--- a/libgomp/plugin/plugin-gcn.c
552+++ b/libgomp/plugin/plugin-gcn.c
553@@ -1 +1,2 @@
554
555+
556--
5572.26.1
558
559=== 0198-Change-recursive-prepare_block_for_update-to-use-a-w.patch ===
560From 6fc2f9337311c11dabcc464c808cbef205f17a52 Mon Sep 17 00:00:00 2001
561From: Andrew Pinski <apinski@marvell.com>
562Date: Tue, 21 Jan 2020 08:34:42 +0000
563Subject: [PATCH 0198/2034] Change recursive prepare_block_for_update to use a
564 worklist
565
566Reported as PR 93321, prepare_block_for_update with some huge
567recusive inlining can go past the stack limit. Transforming this
568recursive into worklist improves the stack usage here and we no
569longer seg fault for the testcase. Note the order we walk the siblings
570change.
571
572ChangeLog:
573 PR tree-opt/93321
574 * tree-into-ssa.c (prepare_block_for_update_1): Split out from ...
575 (prepare_block_for_update): This. Use a worklist instead of recursing.
576---
577 gcc/ChangeLog | 8 ++++++
578 gcc/tree-into-ssa.c | 59 ++++++++++++++++++++++++++++++++++++---------
579 2 files changed, 55 insertions(+), 12 deletions(-)
580
581diff --git a/gcc/ChangeLog b/gcc/ChangeLog
582index 8c17e5992d2..262f0d6506f 100644
583--- a/gcc/ChangeLog
584+++ b/gcc/ChangeLog
585@@ -1 +1,2 @@
586
587+
588diff --git a/gcc/tree-into-ssa.c b/gcc/tree-into-ssa.c
589index c27bf2ce121..6528acac31a 100644
590--- a/gcc/tree-into-ssa.c
591+++ b/gcc/tree-into-ssa.c
592@@ -1 +1,2 @@
593
594+
595--
5962.26.1
597
598=== 0184-PR-80005-Fix-__has_include.patch ===
599From ad1a3914ae8d67c94b0d2428e3f9672e7db491a1 Mon Sep 17 00:00:00 2001
600From: Nathan Sidwell <nathan@acm.org>
601Date: Mon, 20 Jan 2020 05:39:59 -0800
602Subject: [PATCH 0184/2034] [PR 80005] Fix __has_include
603
604__has_include is funky in that it is macro-like from the POV of #ifdef and
605friends, but lexes its parenthesize argument #include-like. We were
606failing the second part of that, because we used a forwarding macro to an
607internal name, and hence always lexed the argument in macro-parameter
608context. We componded that by not setting the right flag when lexing, so
609it didn't even know. Mostly users got lucky.
610
611This reimplements the handline.
6121) Remove the forwarding, but declare object-like macros that
613expand to themselves. This satisfies the #ifdef requirement
614
6152) Correctly set angled_brackets when lexing the parameter. This tells
616the lexer (a) <...> is a header name and (b) "..." is too (not a string).
617
6183) Remove the in__has_include lexer state, just tell find_file that that's
619what's happenning, so it doesn't emit an error.
620
621We lose the (undocumented) ability to #undef __has_include. That may well
622have been an accident of implementation. There are no tests for it.
623
624We gain __has_include behaviour for all users of the preprocessors -- not
625just the C-family ones that defined a forwarding macro.
626
627 libcpp/
628 PR preprocessor/80005
629 * include/cpplib.h (BT_HAS_ATTRIBUTE): Fix comment.
630 * internal.h (struct lexer_state): Delete in__has_include field.
631 (struct spec_nodes): Rename n__has_include{,_next}__ fields.
632 (_cpp_defined_macro_p): New.
633 (_cpp_find_file): Add has_include parm.
634 * directives.c (lex_macro_node): Combine defined,
635 __has_inline{,_next} checking.
636 (do_ifdef, do_ifndef): Use _cpp_defined_macro_p.
637 (_cpp_init_directives): Refactor.
638 * expr.c (parse_defined): Use _cpp_defined_macro_p.
639 (eval_token): Adjust parse_has_include calls.
640 (parse_has_include): Add OP parameter. Reimplement.
641 * files.c (_cpp_find_file): Add HAS_INCLUDE parm. Use it to
642 inhibit error message.
643 (_cpp_stack_include): Adjust _cpp_find_file call.
644 (_cpp_fake_include, _cpp_compare_file_date): Likewise.
645 (open_file_failed): Remove in__has_include check.
646 (_cpp_has_header): Adjust _cpp_find_file call.
647 * identifiers.c (_cpp_init_hashtable): Don't init
648 __has_include{,_next} here ...
649 * init.c (cpp_init_builtins): ... init them here. Define as
650 macros.
651 (cpp_read_main_file): Adjust _cpp_find_file call.
652 * pch.c (cpp_read_state): Adjust __has_include{,_next} access.
653 * traditional.c (_cpp_scan_out_locgical_line): Likewise.
654
655 gcc/c-family/
656 PR preprocessor/80005
657 * c-cppbuiltins.c (c_cpp_builtins): Don't define __has_include{,_next}.
658
659 gcc/testsuite/
660 PR preprocessor/80005
661 * g++.dg/cpp1y/feat-cxx14.C: Adjust.
662 * g++.dg/cpp1z/feat-cxx17.C: Adjust.
663 * g++.dg/cpp2a/feat-cxx2a.C: Adjust.
664 * g++.dg/cpp/pr80005.C: New.
665---
666 gcc/c-family/ChangeLog | 5 ++++
667 gcc/c-family/c-cppbuiltin.c | 6 -----
668 gcc/testsuite/ChangeLog | 8 +++++++
669 gcc/testsuite/g++.dg/cpp/pr80005.C | 24 +++++++++++++++++++
670 gcc/testsuite/g++.dg/cpp1y/feat-cxx14.C | 10 ++------
671 gcc/testsuite/g++.dg/cpp1z/feat-cxx1z.C | 10 ++------
672 gcc/testsuite/g++.dg/cpp2a/feat-cxx2a.C | 10 ++------
673 libcpp/ChangeLog | 29 +++++++++++++++++++++-
674 libcpp/directives.c | 29 ++++++++--------------
675 libcpp/expr.c | 32 ++++++++++++-------------
676 libcpp/files.c | 27 +++++++++++----------
677 libcpp/identifiers.c | 3 +--
678 libcpp/include/cpplib.h | 2 +-
679 libcpp/init.c | 14 ++++++++++-
680 libcpp/internal.h | 20 +++++++++++-----
681 libcpp/pch.c | 4 ++--
682 libcpp/traditional.c | 8 +++----
683 17 files changed, 146 insertions(+), 95 deletions(-)
684 create mode 100644 gcc/testsuite/g++.dg/cpp/pr80005.C
685
686diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
687index 09ba2c8b40f..fdddb98a74d 100644
688--- a/gcc/c-family/ChangeLog
689+++ b/gcc/c-family/ChangeLog
690@@ -1 +1,2 @@
691
692+
693diff --git a/gcc/c-family/c-cppbuiltin.c b/gcc/c-family/c-cppbuiltin.c
694index a6308921dc9..70a12055e27 100644
695--- a/gcc/c-family/c-cppbuiltin.c
696+++ b/gcc/c-family/c-cppbuiltin.c
697@@ -1 +1,2 @@
698
699+
700diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
701index a526e32ac89..67d5f2e9e28 100644
702--- a/gcc/testsuite/ChangeLog
703+++ b/gcc/testsuite/ChangeLog
704@@ -1 +1,2 @@
705
706+
707diff --git a/gcc/testsuite/g++.dg/cpp/pr80005.C b/gcc/testsuite/g++.dg/cpp/pr80005.C
708new file mode 100644
709index 00000000000..cc752616782
710--- /dev/null
711+++ b/gcc/testsuite/g++.dg/cpp/pr80005.C
712@@ -0,0 +1 @@
713+
714diff --git a/gcc/testsuite/g++.dg/cpp1y/feat-cxx14.C b/gcc/testsuite/g++.dg/cpp1y/feat-cxx14.C
715index a2a93f437b3..a78b6a36f36 100644
716--- a/gcc/testsuite/g++.dg/cpp1y/feat-cxx14.C
717+++ b/gcc/testsuite/g++.dg/cpp1y/feat-cxx14.C
718@@ -1 +1,2 @@
719
720+
721diff --git a/gcc/testsuite/g++.dg/cpp1z/feat-cxx1z.C b/gcc/testsuite/g++.dg/cpp1z/feat-cxx1z.C
722index 55e56a06fe8..e6f456b2415 100644
723--- a/gcc/testsuite/g++.dg/cpp1z/feat-cxx1z.C
724+++ b/gcc/testsuite/g++.dg/cpp1z/feat-cxx1z.C
725@@ -1 +1,2 @@
726
727+
728diff --git a/gcc/testsuite/g++.dg/cpp2a/feat-cxx2a.C b/gcc/testsuite/g++.dg/cpp2a/feat-cxx2a.C
729index dd15cd6af3c..82fd602f9f1 100644
730--- a/gcc/testsuite/g++.dg/cpp2a/feat-cxx2a.C
731+++ b/gcc/testsuite/g++.dg/cpp2a/feat-cxx2a.C
732@@ -1 +1,2 @@
733
734+
735diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
736index 3249b93fe88..27a841bbdce 100644
737--- a/libcpp/ChangeLog
738+++ b/libcpp/ChangeLog
739@@ -1 +1,2 @@
740
741+
742diff --git a/libcpp/directives.c b/libcpp/directives.c
743index 983206a5838..10735c8c668 100644
744--- a/libcpp/directives.c
745+++ b/libcpp/directives.c
746@@ -1 +1,2 @@
747
748+
749diff --git a/libcpp/expr.c b/libcpp/expr.c
750index 317faf50208..df21a4b9fb9 100644
751--- a/libcpp/expr.c
752+++ b/libcpp/expr.c
753@@ -1 +1,2 @@
754
755+
756diff --git a/libcpp/files.c b/libcpp/files.c
757index 7abae7ae6ec..260e787c329 100644
758--- a/libcpp/files.c
759+++ b/libcpp/files.c
760@@ -1 +1,2 @@
761
762+
763diff --git a/libcpp/identifiers.c b/libcpp/identifiers.c
764index 562d8fee3b5..9627e1bf4b0 100644
765--- a/libcpp/identifiers.c
766+++ b/libcpp/identifiers.c
767@@ -1 +1,2 @@
768
769+
770diff --git a/libcpp/include/cpplib.h b/libcpp/include/cpplib.h
771index 1c26c365347..56cbbd82750 100644
772--- a/libcpp/include/cpplib.h
773+++ b/libcpp/include/cpplib.h
774@@ -1 +1,2 @@
775
776+
777diff --git a/libcpp/init.c b/libcpp/init.c
778index 2b4923e1451..e798140ef8b 100644
779--- a/libcpp/init.c
780+++ b/libcpp/init.c
781@@ -1 +1,2 @@
782
783+
784diff --git a/libcpp/internal.h b/libcpp/internal.h
785index 3623baf8191..5453c3bff85 100644
786--- a/libcpp/internal.h
787+++ b/libcpp/internal.h
788@@ -1 +1,2 @@
789
790+
791diff --git a/libcpp/pch.c b/libcpp/pch.c
792index 607f805bebe..e631050936b 100644
793--- a/libcpp/pch.c
794+++ b/libcpp/pch.c
795@@ -1 +1,2 @@
796
797+
798diff --git a/libcpp/traditional.c b/libcpp/traditional.c
799index 21c63b47dd5..ff06d31a897 100644
800--- a/libcpp/traditional.c
801+++ b/libcpp/traditional.c
802@@ -1 +1,2 @@
803
804+
805--
8062.26.1
807
808=== long-lines.patch ===
809From eb7c7c524556df5364f03adc20f6a9db20858484 Mon Sep 17 00:00:00 2001
810From: Jakub Jelinek <jakub@redhat.com>
811Date: Mon, 13 Jan 2020 14:14:57 +0100
812Subject: [PATCH 0004/2034] tree-opt: Fix bootstrap failure in
813 tree-ssa-forwprop.c some more PR90838
814
8152020-01-13 Jakub Jelinek <jakub@redhat.com>
816
817 PR tree-optimization/90838
818 * tree-ssa-forwprop.c (simplify_count_trailing_zeroes): Use
819 SCALAR_INT_TYPE_MODE directly in CTZ_DEFINED_VALUE_AT_ZERO macro and and SCALAR_INT_TYPE_MODE directly in and so
820 argument rather than to initialize temporary for targets that
821 don't use the mode argument at all. Initialize ctzval to avoid
822 warning at -O0.
823---
824 gcc/ChangeLog | 9 +++++++++
825 gcc/tree-ssa-forwprop.c | 6 +++---
826 2 files changed, 12 insertions(+), 3 deletions(-)
827
828diff --git a/gcc/ChangeLog b/gcc/ChangeLog
829index a195863212e..f7df07343d1 100644
830--- a/gcc/ChangeLog
831+++ b/gcc/ChangeLog
832@@ -1 +1,2 @@
833
834+
835diff --git a/gcc/tree-ssa-forwprop.c b/gcc/tree-ssa-forwprop.c
836index aac31d02b6c..56c470f6ecf 100644
837--- a/gcc/tree-ssa-forwprop.c
838+++ b/gcc/tree-ssa-forwprop.c
839@@ -1 +1,2 @@
840
841+
842--
8432.26.1
844
845=== 0735-PR-87488-Add-with-diagnostics-urls-configuration-opt.patch ===
846From 458c8d6459c4005fc9886b6e25d168a6535ac415 Mon Sep 17 00:00:00 2001
847From: Bernd Edlinger <bernd.edlinger@hotmail.de>
848Date: Wed, 29 Jan 2020 15:31:10 +0100
849Subject: [PATCH 0735/2034] PR 87488: Add --with-diagnostics-urls configuration
850 option
851
8522020-02-15 David Malcolm <dmalcolm@redhat.com>
853 Bernd Edlinger <bernd.edlinger@hotmail.de>
854
855 PR 87488
856 PR other/93168
857 * config.in (DIAGNOSTICS_URLS_DEFAULT): New define.
858 * configure.ac (--with-diagnostics-urls): New configuration
859 option, based on --with-diagnostics-color.
860 (DIAGNOSTICS_URLS_DEFAULT): New define.
861 * config.h: Regenerate.
862 * configure: Regenerate.
863 * diagnostic.c (diagnostic_urls_init): Handle -1 for
864 DIAGNOSTICS_URLS_DEFAULT from configure-time
865 --with-diagnostics-urls=auto-if-env by querying for a GCC_URLS
866 and TERM_URLS environment variable.
867 * diagnostic-url.h (diagnostic_url_format): New enum type.
868 (diagnostic_urls_enabled_p): rename to...
869 (determine_url_format): ... this, and change return type.
870 * diagnostic-color.c (parse_env_vars_for_urls): New helper function.
871 (auto_enable_urls): Disable URLs on xfce4-terminal, gnome-terminal,
872 the linux console, and mingw.
873 (diagnostic_urls_enabled_p): rename to...
874 (determine_url_format): ... this, and adjust.
875 * pretty-print.h (pretty_printer::show_urls): rename to...
876 (pretty_printer::url_format): ... this, and change to enum.
877 * pretty-print.c (pretty_printer::pretty_printer,
878 pp_begin_url, pp_end_url, test_urls): Adjust.
879 * doc/install.texi (--with-diagnostics-urls): Document the new
880 configuration option.
881 (--with-diagnostics-color): Document the existing interaction
882 with GCC_COLORS better.
883 * doc/invoke.texi (-fdiagnostics-urls): Add GCC_URLS and TERM_URLS
884 vindex reference. Update description of defaults based on the above.
885 (-fdiagnostics-color): Update description of how -fdiagnostics-color
886 interacts with GCC_COLORS.
887---
888 gcc/ChangeLog | 36 +++++++++++++++
889 gcc/config.in | 6 +++
890 gcc/configure | 41 ++++++++++++++++-
891 gcc/configure.ac | 28 ++++++++++++
892 gcc/diagnostic-color.c | 101 ++++++++++++++++++++++++++++++++++++++---
893 gcc/diagnostic-url.h | 18 +++++++-
894 gcc/diagnostic.c | 21 +++++++--
895 gcc/doc/install.texi | 15 ++++--
896 gcc/doc/invoke.texi | 39 ++++++++++++++--
897 gcc/pretty-print.c | 44 +++++++++++++++---
898 gcc/pretty-print.h | 5 +-
899 11 files changed, 328 insertions(+), 26 deletions(-)
900
901diff --git a/gcc/ChangeLog b/gcc/ChangeLog
902index e6eb6ab4c21..22f990a3088 100644
903--- a/gcc/ChangeLog
904+++ b/gcc/ChangeLog
905@@ -1 +1,2 @@
906
907+
908diff --git a/gcc/config.in b/gcc/config.in
909index 48292861842..01fb18dbbb5 100644
910--- a/gcc/config.in
911+++ b/gcc/config.in
912@@ -1 +1,2 @@
913
914+
915diff --git a/gcc/configure b/gcc/configure
916index 5fa565a40a4..f55cdb8c77f 100755
917--- a/gcc/configure
918+++ b/gcc/configure
919@@ -1 +1,2 @@
920
921+
922diff --git a/gcc/configure.ac b/gcc/configure.ac
923index 671b9a67d81..0e6e475950d 100644
924--- a/gcc/configure.ac
925+++ b/gcc/configure.ac
926@@ -1 +1,2 @@
927
928+
929diff --git a/gcc/diagnostic-color.c b/gcc/diagnostic-color.c
930index d5547952921..b1baded2c9e 100644
931--- a/gcc/diagnostic-color.c
932+++ b/gcc/diagnostic-color.c
933@@ -1 +1,2 @@
934
935+
936diff --git a/gcc/diagnostic-url.h b/gcc/diagnostic-url.h
937index 6be056941f1..d28460b928b 100644
938--- a/gcc/diagnostic-url.h
939+++ b/gcc/diagnostic-url.h
940@@ -1 +1,2 @@
941
942+
943diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c
944index 3386f070256..e4a08f76def 100644
945--- a/gcc/diagnostic.c
946+++ b/gcc/diagnostic.c
947@@ -1 +1,2 @@
948
949+
950diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
951index 6ffafacff50..8ddebbb6267 100644
952--- a/gcc/doc/install.texi
953+++ b/gcc/doc/install.texi
954@@ -1 +1,2 @@
955
956+
957diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
958index bd9ecebf103..597151670be 100644
959--- a/gcc/doc/invoke.texi
960+++ b/gcc/doc/invoke.texi
961@@ -1 +1,2 @@
962
963+
964diff --git a/gcc/pretty-print.c b/gcc/pretty-print.c
965index 817c1059e08..dde138b0533 100644
966--- a/gcc/pretty-print.c
967+++ b/gcc/pretty-print.c
968@@ -1 +1,2 @@
969
970+
971diff --git a/gcc/pretty-print.h b/gcc/pretty-print.h
972index 001468c966e..22892f12ab7 100644
973--- a/gcc/pretty-print.h
974+++ b/gcc/pretty-print.h
975@@ -1 +1,2 @@
976
977+
978--
9792.26.1
980
981=== 0031-Fix-typo-and-avoid-possible-memory-leak-in-average_n.patch ===
982From b38e86ddb7a9b6d7e87d7cc0b23983d027fcbd96 Mon Sep 17 00:00:00 2001
983From: Kewen Lin <linkw@linux.ibm.com>
984Date: Tue, 14 Jan 2020 02:34:10 -0600
985Subject: [PATCH 0031/2034] Fix typo and avoid possible memory leak in
986 average_num_loop_insns
987
988Function average_num_loop_insns forgets to free loop body in early
989return. Besides, overflow comparison checks 1000000 (e6) but the
990return value is 100000 (e5), fix this typo.
991
992gcc/ChangeLog
993
9942020-01-14 Kewen Lin <linkw@gcc.gnu.org>
995
996 * cfgloopanal.c (average_num_loop_insns): Free bbs when early
997 return, fix typo on return value.
998---
999 gcc/ChangeLog | 5 +++++
1000 gcc/cfgloopanal.c | 5 ++++-
1001 2 files changed, 9 insertions(+), 1 deletion(-)
1002
1003diff --git a/gcc/ChangeLog b/gcc/ChangeLog
1004index 07e5bebe909..f3301b16464 100644
1005--- a/gcc/ChangeLog
1006+++ b/gcc/ChangeLog
1007@@ -1 +1,2 @@
1008
1009+
1010diff --git a/gcc/cfgloopanal.c b/gcc/cfgloopanal.c
1011index 392b1c337c4..0b33e8272a7 100644
1012--- a/gcc/cfgloopanal.c
1013+++ b/gcc/cfgloopanal.c
1014@@ -1 +1,2 @@
1015
1016+
1017--
10182.26.1
1019
1020=== 0735-PR-87488-Add-with-diagnostics-urls-configuration-opt.patch ===
1021From 458c8d6459c4005fc9886b6e25d168a6535ac415 Mon Sep 17 00:00:00 2001
1022From: Bernd Edlinger <bernd.edlinger@hotmail.de>
1023Date: Wed, 29 Jan 2020 15:31:10 +0100
1024Subject: [PATCH 0735/2034] PR 87488: Add --with-diagnostics-urls configuration
1025 option
1026
10272020-02-15 David Malcolm <dmalcolm@redhat.com>
1028 Bernd Edlinger <bernd.edlinger@hotmail.de>
1029
1030 PR 87488
1031 PR other/93168
1032 * config.in (DIAGNOSTICS_URLS_DEFAULT): New define.
1033 * configure.ac (--with-diagnostics-urls): New configuration
1034 option, based on --with-diagnostics-color.
1035 (DIAGNOSTICS_URLS_DEFAULT): New define.
1036 * config.h: Regenerate.
1037 * configure: Regenerate.
1038 * diagnostic.c (diagnostic_urls_init): Handle -1 for
1039 DIAGNOSTICS_URLS_DEFAULT from configure-time
1040 --with-diagnostics-urls=auto-if-env by querying for a GCC_URLS
1041 and TERM_URLS environment variable.
1042 * diagnostic-url.h (diagnostic_url_format): New enum type.
1043 (diagnostic_urls_enabled_p): rename to...
1044 (determine_url_format): ... this, and change return type.
1045 * diagnostic-color.c (parse_env_vars_for_urls): New helper function.
1046 (auto_enable_urls): Disable URLs on xfce4-terminal, gnome-terminal,
1047 the linux console, and mingw.
1048 (diagnostic_urls_enabled_p): rename to...
1049 (determine_url_format): ... this, and adjust.
1050 * pretty-print.h (pretty_printer::show_urls): rename to...
1051 (pretty_printer::url_format): ... this, and change to enum.
1052 * pretty-print.c (pretty_printer::pretty_printer,
1053 pp_begin_url, pp_end_url, test_urls): Adjust.
1054 * doc/install.texi (--with-diagnostics-urls): Document the new
1055 configuration option.
1056 (--with-diagnostics-color): Document the existing interaction
1057 with GCC_COLORS better.
1058 * doc/invoke.texi (-fdiagnostics-urls): Add GCC_URLS and TERM_URLS
1059 vindex reference. Update description of defaults based on the above.
1060 (-fdiagnostics-color): Update description of how -fdiagnostics-color
1061 interacts with GCC_COLORS.
1062---
1063 gcc/ChangeLog | 36 +++++++++++++++
1064 gcc/config.in | 6 +++
1065 gcc/configure | 41 ++++++++++++++++-
1066 gcc/configure.ac | 28 ++++++++++++
1067 gcc/diagnostic-color.c | 101 ++++++++++++++++++++++++++++++++++++++---
1068 gcc/diagnostic-url.h | 18 +++++++-
1069 gcc/diagnostic.c | 21 +++++++--
1070 gcc/doc/install.texi | 15 ++++--
1071 gcc/doc/invoke.texi | 39 ++++++++++++++--
1072 gcc/pretty-print.c | 44 +++++++++++++++---
1073 gcc/pretty-print.h | 5 +-
1074 11 files changed, 328 insertions(+), 26 deletions(-)
1075
1076diff --git a/gcc/ChangeLog b/gcc/ChangeLog
1077index e6eb6ab4c21..22f990a3088 100644
1078--- a/gcc/ChangeLog
1079+++ b/gcc/ChangeLog
1080@@ -1 +1,2 @@
1081
1082+
1083diff --git a/gcc/config.in b/gcc/config.in
1084index 48292861842..01fb18dbbb5 100644
1085--- a/gcc/config.in
1086+++ b/gcc/config.in
1087@@ -1 +1,2 @@
1088
1089+
1090diff --git a/gcc/configure b/gcc/configure
1091index 5fa565a40a4..f55cdb8c77f 100755
1092--- a/gcc/configure
1093+++ b/gcc/configure
1094@@ -1 +1,2 @@
1095
1096+
1097diff --git a/gcc/configure.ac b/gcc/configure.ac
1098index 671b9a67d81..0e6e475950d 100644
1099--- a/gcc/configure.ac
1100+++ b/gcc/configure.ac
1101@@ -1 +1,2 @@
1102
1103+
1104diff --git a/gcc/diagnostic-color.c b/gcc/diagnostic-color.c
1105index d5547952921..b1baded2c9e 100644
1106--- a/gcc/diagnostic-color.c
1107+++ b/gcc/diagnostic-color.c
1108@@ -1 +1,2 @@
1109
1110+
1111diff --git a/gcc/diagnostic-url.h b/gcc/diagnostic-url.h
1112index 6be056941f1..d28460b928b 100644
1113--- a/gcc/diagnostic-url.h
1114+++ b/gcc/diagnostic-url.h
1115@@ -1 +1,2 @@
1116
1117+
1118diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c
1119index 3386f070256..e4a08f76def 100644
1120--- a/gcc/diagnostic.c
1121+++ b/gcc/diagnostic.c
1122@@ -1 +1,2 @@
1123
1124+
1125diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
1126index 6ffafacff50..8ddebbb6267 100644
1127--- a/gcc/doc/install.texi
1128+++ b/gcc/doc/install.texi
1129@@ -1 +1,2 @@
1130
1131+
1132diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
1133index bd9ecebf103..597151670be 100644
1134--- a/gcc/doc/invoke.texi
1135+++ b/gcc/doc/invoke.texi
1136@@ -1 +1,2 @@
1137
1138+
1139diff --git a/gcc/pretty-print.c b/gcc/pretty-print.c
1140index 817c1059e08..dde138b0533 100644
1141--- a/gcc/pretty-print.c
1142+++ b/gcc/pretty-print.c
1143@@ -1 +1,2 @@
1144
1145+
1146diff --git a/gcc/pretty-print.h b/gcc/pretty-print.h
1147index 001468c966e..22892f12ab7 100644
1148--- a/gcc/pretty-print.h
1149+++ b/gcc/pretty-print.h
1150@@ -1 +1,2 @@
1151
1152+
1153--
11542.26.1
1155
1156=== co-authored-by.patch ===
1157From d7a65edb629a010f7ef907d457343abcb569fab7 Mon Sep 17 00:00:00 2001
1158From: Martin Liska <mliska@suse.cz>
1159Date: Thu, 16 Apr 2020 15:39:22 +0200
1160Subject: [PATCH 1850/2034] List valid pairs for new and delete operators.
1161
1162 PR c++/94314
1163 * cgraphclones.c (set_new_clone_decl_and_node_flags): Drop
1164 DECL_IS_REPLACEABLE_OPERATOR during cloning.
1165 * tree-ssa-dce.c (valid_new_delete_pair_p): New function.
1166 (propagate_necessity): Check operator names.
1167
1168 PR c++/94314
1169 * g++.dg/pr94314.C: Do not use dg-additional-options
1170 and remove not needed stdio.h include.
1171 * g++.dg/pr94314-2.C: Likewise.
1172 * g++.dg/pr94314-3.C: Likewise.
1173 * g++.dg/pr94314-4.C: New test.
1174
1175co-authored-By: Jakub Jelinek <jakub@redhat.com>
1176Co-Authored-by: John Miller <jm@example.com>
1177co-authored-by: John Miller2 <jm2@example.com>
1178---
1179 gcc/ChangeLog | 9 +++
1180 gcc/cgraphclones.c | 2 +
1181 gcc/testsuite/ChangeLog | 10 ++++
1182 gcc/testsuite/g++.dg/pr94314-2.C | 5 +-
1183 gcc/testsuite/g++.dg/pr94314-3.C | 5 +-
1184 gcc/testsuite/g++.dg/pr94314-4.C | 30 ++++++++++
1185 gcc/testsuite/g++.dg/pr94314.C | 5 +-
1186 gcc/tree-ssa-dce.c | 98 ++++++++++++++++++++++++++++----
1187 8 files changed, 142 insertions(+), 22 deletions(-)
1188 create mode 100644 gcc/testsuite/g++.dg/pr94314-4.C
1189
1190diff --git a/gcc/ChangeLog b/gcc/ChangeLog
1191index 74dbeeb44c6..9e499ec9c86 100644
1192--- a/gcc/ChangeLog
1193+++ b/gcc/ChangeLog
1194@@ -1 +1,2 @@
1195
1196+
1197diff --git a/gcc/cgraphclones.c b/gcc/cgraphclones.c
1198index c73b8f810f0..8f541a28b6e 100644
1199--- a/gcc/cgraphclones.c
1200+++ b/gcc/cgraphclones.c
1201@@ -1 +1,2 @@
1202
1203+
1204diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
1205index 756f1d759e6..94d2312022d 100644
1206--- a/gcc/testsuite/ChangeLog
1207+++ b/gcc/testsuite/ChangeLog
1208@@ -1 +1,2 @@
1209
1210+
1211diff --git a/gcc/testsuite/g++.dg/pr94314-2.C b/gcc/testsuite/g++.dg/pr94314-2.C
1212index 36b93ed6d4d..998ce601767 100644
1213--- a/gcc/testsuite/g++.dg/pr94314-2.C
1214+++ b/gcc/testsuite/g++.dg/pr94314-2.C
1215@@ -1 +1,2 @@
1216
1217+
1218diff --git a/gcc/testsuite/g++.dg/pr94314-3.C b/gcc/testsuite/g++.dg/pr94314-3.C
1219index 575ba9d8ad8..846a5d6a3d8 100644
1220--- a/gcc/testsuite/g++.dg/pr94314-3.C
1221+++ b/gcc/testsuite/g++.dg/pr94314-3.C
1222@@ -1 +1,2 @@
1223
1224+
1225diff --git a/gcc/testsuite/g++.dg/pr94314-4.C b/gcc/testsuite/g++.dg/pr94314-4.C
1226new file mode 100644
1227index 00000000000..d097f29d4ad
1228--- /dev/null
1229+++ b/gcc/testsuite/g++.dg/pr94314-4.C
1230@@ -0,0 +1 @@
1231+
1232diff --git a/gcc/testsuite/g++.dg/pr94314.C b/gcc/testsuite/g++.dg/pr94314.C
1233index 86e651d10ba..4e5ae122e9f 100644
1234--- a/gcc/testsuite/g++.dg/pr94314.C
1235+++ b/gcc/testsuite/g++.dg/pr94314.C
1236@@ -1 +1,2 @@
1237
1238+
1239diff --git a/gcc/tree-ssa-dce.c b/gcc/tree-ssa-dce.c
1240index fd5f24c746c..757cfad5b5e 100644
1241--- a/gcc/tree-ssa-dce.c
1242+++ b/gcc/tree-ssa-dce.c
1243@@ -1 +1,2 @@
1244
1245+
1246--
12472.26.1
1248
1249=== 1699-combine-Fix-split_i2i3-ICE-PR94291.patch ===
1250From c23c899aedf11069e992eed7358802b262d62f98 Mon Sep 17 00:00:00 2001
1251From: Jakub Jelinek <jakub@redhat.com>
1252Date: Tue, 7 Apr 2020 21:30:12 +0200
1253Subject: [PATCH 1699/2034] combine: Fix split_i2i3 ICE [PR94291]
1254
1255The following testcase ICEs on armv7hl-linux-gnueabi.
1256try_combine is called on:
1257(gdb) p debug_rtx (i3)
1258(insn 20 12 22 2 (set (mem/c:SI (plus:SI (reg/f:SI 102 sfp)
1259 (const_int -4 [0xfffffffffffffffc])) [1 x+0 S4 A32])
1260 (reg:SI 125)) "pr94291.c":7:8 241 {*arm_movsi_insn}
1261 (expr_list:REG_DEAD (reg:SI 125)
1262 (nil)))
1263(gdb) p debug_rtx (i2)
1264(insn 12 7 20 2 (parallel [
1265 (set (reg:CC 100 cc)
1266 (compare:CC (reg:SI 121 [ <retval> ])
1267 (const_int 0 [0])))
1268 (set (reg:SI 125)
1269 (reg:SI 121 [ <retval> ]))
1270 ]) "pr94291.c":7:8 248 {*movsi_compare0}
1271 (expr_list:REG_UNUSED (reg:CC 100 cc)
1272 (nil)))
1273and tries to recognize cc = r121 cmp 0; [sfp-4] = r121 parallel,
1274but that isn't recognized, so it splits it into two: split_i2i3
1275[sfp-4] = r121 followed by cc = r121 cmp 0 which is recognized, but
1276ICEs because the code below insist that the SET_DEST of newi2pat
1277(or first set in PARALLEL thereof) must be a REG or SUBREG of REG,
1278but it is a MEM in this case. I don't see any condition that would
1279guarantee that, perhaps for the swap_i2i3 case it was somehow guaranteed.
1280
1281As the code just wants to update LOG_LINKS and LOG_LINKS are only for
1282registers, not for MEM or anything else, the patch just doesn't update those
1283if it isn't a REG or SUBREG of REG.
1284
12852020-04-07 Jakub Jelinek <jakub@redhat.com>
1286
1287 PR rtl-optimization/94291
1288 PR rtl-optimization/84169
1289 * combine.c (try_combine): For split_i2i3, don't assume SET_DEST
1290 must be a REG or SUBREG of REG; if it is not one of these, don't
1291 update LOG_LINKs.
1292
1293 * gcc.dg/pr94291.c: New test.
1294---
1295 gcc/ChangeLog | 8 +++++++
1296 gcc/combine.c | 42 +++++++++++++++++++---------------
1297 gcc/testsuite/ChangeLog | 6 +++++
1298 gcc/testsuite/gcc.dg/pr94291.c | 14 ++++++++++++
1299 4 files changed, 51 insertions(+), 19 deletions(-)
1300 create mode 100644 gcc/testsuite/gcc.dg/pr94291.c
1301
1302diff --git a/gcc/ChangeLog b/gcc/ChangeLog
1303index a1ab9fb4ef3..12803e90b0a 100644
1304--- a/gcc/ChangeLog
1305+++ b/gcc/ChangeLog
1306@@ -1 +1,2 @@
1307
1308+
1309diff --git a/gcc/combine.c b/gcc/combine.c
1310index 58366a6d331..cff76cd3303 100644
1311--- a/gcc/combine.c
1312+++ b/gcc/combine.c
1313@@ -1 +1,2 @@
1314
1315+
1316diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
1317index 71b5a14bcbe..3cbf891d58d 100644
1318--- a/gcc/testsuite/ChangeLog
1319+++ b/gcc/testsuite/ChangeLog
1320@@ -1 +1,2 @@
1321
1322+
1323diff --git a/gcc/testsuite/gcc.dg/pr94291.c b/gcc/testsuite/gcc.dg/pr94291.c
1324new file mode 100644
1325index 00000000000..7daa2b01166
1326--- /dev/null
1327+++ b/gcc/testsuite/gcc.dg/pr94291.c
1328@@ -0,0 +1 @@
1329+
1330--
13312.26.1
1332
1333=== 0001-Add-patch_area_size-and-patch_area_entry-to-crtl.patch ===
1334From 6607bdd99994c834f92fce924abdaea3405f62dc Mon Sep 17 00:00:00 2001
1335From: "H.J. Lu" <hjl.tools@gmail.com>
1336Date: Fri, 1 May 2020 21:03:10 -0700
1337Subject: [PATCH] Add patch_area_size and patch_area_entry to crtl
1338
1339Currently patchable area is at the wrong place. It is placed immediately
1340after function label and before .cfi_startproc. A backend should be able
1341to add a pseudo patchable area instruction durectly into RTL. This patch
1342adds patch_area_size and patch_area_entry to crtl so that the patchable
1343area info is available in RTL passes.
1344
1345It also limits patch_area_size and patch_area_entry to 65535, which is
1346a reasonable maximum size for patchable area.
1347
1348gcc/
1349
1350 PR target/93492
1351 * cfgexpand.c (pass_expand::execute): Set crtl->patch_area_size
1352 and crtl->patch_area_entry.
1353 * emit-rtl.h (rtl_data): Add patch_area_size and patch_area_entry.
1354 * opts.c (common_handle_option): Limit
1355 function_entry_patch_area_size and function_entry_patch_area_start
1356 to USHRT_MAX. Fix a typo in error message.
1357 * varasm.c (assemble_start_function): Use crtl->patch_area_size
1358 and crtl->patch_area_entry.
1359 * doc/invoke.texi: Document the maximum value for
1360 -fpatchable-function-entry.
1361
1362gcc/c-family/
1363
1364 PR target/12345
1365 * c-attribs.c (handle_patchable_function_entry_attribute): Limit
1366 value to USHRT_MAX (65535).
1367
1368---
1369 gcc/ChangeLog | 14 ++++++++
1370 gcc/c-family/ChangeLog | 6 ++++
1371 gcc/c-family/c-attribs.c | 9 +++++
1372 gcc/cfgexpand.c | 33 +++++++++++++++++++
1373 gcc/doc/invoke.texi | 1 +
1374 gcc/emit-rtl.h | 6 ++++
1375 gcc/opts.c | 4 ++-
1376 gcc/testsuite/ChangeLog | 7 ++++
1377 .../patchable_function_entry-error-1.c | 9 +++++
1378 .../patchable_function_entry-error-2.c | 9 +++++
1379 .../patchable_function_entry-error-3.c | 17 ++++++++++
1380 gcc/varasm.c | 30 ++---------------
1381 12 files changed, 116 insertions(+), 29 deletions(-)
1382 create mode 100644 gcc/testsuite/c-c++-common/patchable_function_entry-error-1.c
1383 create mode 100644 gcc/testsuite/c-c++-common/patchable_function_entry-error-2.c
1384 create mode 100644 gcc/testsuite/c-c++-common/patchable_function_entry-error-3.c
1385
1386diff --git a/gcc/ChangeLog b/gcc/ChangeLog
1387index e85a8e8813e..fb776ba5a0e 100644
1388--- a/gcc/ChangeLog
1389+++ b/gcc/ChangeLog
1390@@ -1 +1,2 @@
1391
1392+
1393diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
1394index c429b49e68c..69ea1fdc4f3 100644
1395--- a/gcc/c-family/ChangeLog
1396+++ b/gcc/c-family/ChangeLog
1397@@ -1 +1,2 @@
1398
1399+
1400diff --git a/gcc/c-family/c-attribs.c b/gcc/c-family/c-attribs.c
1401index ac936d5bbbb..a101312c581 100644
1402--- a/gcc/c-family/c-attribs.c
1403+++ b/gcc/c-family/c-attribs.c
1404@@ -1 +1,2 @@
1405
1406+
1407diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c
1408index a7ec77d5c85..86efa22bf60 100644
1409--- a/gcc/cfgexpand.c
1410+++ b/gcc/cfgexpand.c
1411@@ -1 +1,2 @@
1412
1413+
1414diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
1415index 527d362533a..767d1f07801 100644
1416--- a/gcc/doc/invoke.texi
1417+++ b/gcc/doc/invoke.texi
1418@@ -1 +1,2 @@
1419
1420+
1421diff --git a/gcc/emit-rtl.h b/gcc/emit-rtl.h
1422index a878efe3cf7..3d6565c8a30 100644
1423--- a/gcc/emit-rtl.h
1424+++ b/gcc/emit-rtl.h
1425@@ -1 +1,2 @@
1426
1427+
1428diff --git a/gcc/opts.c b/gcc/opts.c
1429index c212a1a57dc..3dccef39701 100644
1430--- a/gcc/opts.c
1431+++ b/gcc/opts.c
1432@@ -1 +1,2 @@
1433
1434+
1435diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
1436index 176aa117904..185f9ea725e 100644
1437--- a/gcc/testsuite/ChangeLog
1438+++ b/gcc/testsuite/ChangeLog
1439@@ -1 +1,2 @@
1440
1441+
1442diff --git a/gcc/testsuite/c-c++-common/patchable_function_entry-error-1.c b/gcc/testsuite/c-c++-common/patchable_function_entry-error-1.c
1443new file mode 100644
1444index 00000000000..f60bf46cfe3
1445--- /dev/null
1446+++ b/gcc/testsuite/c-c++-common/patchable_function_entry-error-1.c
1447@@ -0,0 +1 @@
1448+
1449diff --git a/gcc/testsuite/c-c++-common/patchable_function_entry-error-2.c b/gcc/testsuite/c-c++-common/patchable_function_entry-error-2.c
1450new file mode 100644
1451index 00000000000..90f88c78be7
1452--- /dev/null
1453+++ b/gcc/testsuite/c-c++-common/patchable_function_entry-error-2.c
1454@@ -0,0 +1 @@
1455+
1456diff --git a/gcc/testsuite/c-c++-common/patchable_function_entry-error-3.c b/gcc/testsuite/c-c++-common/patchable_function_entry-error-3.c
1457new file mode 100644
1458index 00000000000..4490e5c15ca
1459--- /dev/null
1460+++ b/gcc/testsuite/c-c++-common/patchable_function_entry-error-3.c
1461@@ -0,0 +1 @@
1462+
1463diff --git a/gcc/varasm.c b/gcc/varasm.c
1464index 271a67abf56..f062e48071f 100644
1465--- a/gcc/varasm.c
1466+++ b/gcc/varasm.c
1467@@ -1 +1,2 @@
1468
1469+
1470--
14712.26.2
1472
1473=== 1957-c-generic-lambda-forwarding-function-PR94546.patch ===
1474From aedd04caa945260ea77fd22f29b77292f7dba72e Mon Sep 17 00:00:00 2001
1475From: Jason Merrill <jason@redhat.com>
1476Date: Wed, 22 Apr 2020 02:27:54 -0400
1477Subject: [PATCH 1957/2034] c++: generic lambda forwarding function [PR94546]
1478
1479While instantiating test(Plot) we partially instantiate the generic lambda.
1480We look at forward<T>(rest)... and see that it's just replacing parameter
1481packs with new parameter packs and tries to do a direct substitution. But
1482because register_parameter_specializations had built up a
1483NONTYPE_ARGUMENT_PACK around the new parameter pack, the substitution
1484failed. So let's not wrap it that way.
1485
1486gcc/cp/ChangeLog
14872020-04-22 Jason Merrill <jason@redhat.com>
1488
1489 PR c++/94546
1490 * pt.c (register_parameter_specializations): If the instantiation is
1491 still a parameter pack, don't wrap it in a NONTYPE_ARGUMENT_PACK.
1492 (tsubst_pack_expansion, tsubst_expr): Adjust.
1493---
1494 gcc/cp/ChangeLog | 7 +++++
1495 gcc/cp/pt.c | 28 +++++++------------
1496 .../g++.dg/cpp2a/lambda-generic-variadic20.C | 23 +++++++++++++++
1497 3 files changed, 40 insertions(+), 18 deletions(-)
1498 create mode 100644 gcc/testsuite/g++.dg/cpp2a/lambda-generic-variadic20.C
1499
1500diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
1501index 640e4948130..4b6691a77f0 100644
1502--- a/gcc/cp/ChangeLog
1503+++ b/gcc/cp/ChangeLog
1504@@ -1 +1,2 @@
1505
1506+
1507diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c
1508index 7bf249cee5c..2fe7b66707c 100644
1509--- a/gcc/cp/pt.c
1510+++ b/gcc/cp/pt.c
1511@@ -1 +1,2 @@
1512
1513+
1514diff --git a/gcc/testsuite/g++.dg/cpp2a/lambda-generic-variadic20.C b/gcc/testsuite/g++.dg/cpp2a/lambda-generic-variadic20.C
1515new file mode 100644
1516index 00000000000..3d69dbb8e98
1517--- /dev/null
1518+++ b/gcc/testsuite/g++.dg/cpp2a/lambda-generic-variadic20.C
1519@@ -0,0 +1 @@
1520+
1521--
15222.26.1
1523
1524=== 0030-PR-c-92746-ICE-with-noexcept-of-function-concept-che.patch ===
1525From edabbec31e3bfc9a9757f80c8610706ed00e5a1a Mon Sep 17 00:00:00 2001
1526From: Jason Merrill <jason@redhat.com>
1527Date: Mon, 13 Jan 2020 18:13:46 -0500
1528Subject: [PATCH 0030/2034] PR c++/92746 - ICE with noexcept of function
1529 concept check.
1530
1531Another place that needs to specially handle Concepts TS function-style
1532concepts.
1533
1534 * except.c (check_noexcept_r): Handle concept-check.
1535---
1536 gcc/cp/ChangeLog | 3 +++
1537 gcc/cp/except.c | 2 ++
1538 gcc/testsuite/g++.dg/concepts/fn-concept3.C | 6 ++++++
1539 3 files changed, 11 insertions(+)
1540 create mode 100644 gcc/testsuite/g++.dg/concepts/fn-concept3.C
1541
1542diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
1543index 59646c70fa4..4729e3d331d 100644
1544--- a/gcc/cp/ChangeLog
1545+++ b/gcc/cp/ChangeLog
1546@@ -1 +1,2 @@
1547
1548+
1549diff --git a/gcc/cp/except.c b/gcc/cp/except.c
1550index e073bd4d2bc..55b4b6af442 100644
1551--- a/gcc/cp/except.c
1552+++ b/gcc/cp/except.c
1553@@ -1 +1,2 @@
1554
1555+
1556diff --git a/gcc/testsuite/g++.dg/concepts/fn-concept3.C b/gcc/testsuite/g++.dg/concepts/fn-concept3.C
1557new file mode 100644
1558index 00000000000..ecb7f6b12f7
1559--- /dev/null
1560+++ b/gcc/testsuite/g++.dg/concepts/fn-concept3.C
1561@@ -0,0 +1 @@
1562+
1563--
15642.26.1
1565
1566=== 0129-Add-PR-number-to-change-log.patch ===
1567From f788c2d66a6ee1ded65dafccbc5e485d42af4808 Mon Sep 17 00:00:00 2001
1568From: Richard Sandiford <richard.sandiford@arm.com>
1569Date: Fri, 17 Jan 2020 12:22:58 +0000
1570Subject: [PATCH 0129/2034] Add PR number to change log
1571
1572---
1573 gcc/ChangeLog | 1 +
1574 1 file changed, 1 insertion(+)
1575
1576diff --git a/gcc/ChangeLog b/gcc/ChangeLog
1577index 6c6d586ca75..49ca5f92dec 100644
1578--- a/gcc/ChangeLog
1579+++ b/gcc/ChangeLog
1580@@ -1 +1,2 @@
1581
1582+
1583--
15842.26.1
1585
1586=== 0577-aarch64-Add-an-and.patch ===
1587From bba0c624c8b1d6e54dc58091dd21b0c2ab000434 Mon Sep 17 00:00:00 2001
1588From: Richard Sandiford <richard.sandiford@arm.com>
1589Date: Mon, 3 Feb 2020 21:43:44 +0000
1590Subject: [PATCH 0577/2034] aarch64: Add an and/ior-based movk pattern
1591 [PR87763]
1592
1593This patch adds a second movk pattern that models the instruction
1594as a "normal" and/ior operation rather than an insertion. It fixes
1595the third insv_1.c failure in PR87763, which was a regression from
1596GCC 8.
1597
15982020-02-06 Richard Sandiford <richard.sandiford@arm.com>
1599
1600gcc/
1601 PR target/87763
1602 * config/aarch64/aarch64-protos.h (aarch64_movk_shift): Declare.
1603 * config/aarch64/aarch64.c (aarch64_movk_shift): New function.
1604 * config/aarch64/aarch64.md (aarch64_movk<mode>): New pattern.
1605
1606gcc/testsuite/
1607 PR target/87763
1608 * gcc.target/aarch64/movk_2.c: New test.
1609---
1610 gcc/ChangeLog | 7 ++
1611 gcc/config/aarch64/aarch64-protos.h | 1 +
1612 gcc/config/aarch64/aarch64.c | 24 +++++++
1613 gcc/config/aarch64/aarch64.md | 17 +++++
1614 gcc/testsuite/ChangeLog | 5 ++
1615 gcc/testsuite/gcc.target/aarch64/movk_2.c | 78 +++++++++++++++++++++++
1616 6 files changed, 132 insertions(+)
1617 create mode 100644 gcc/testsuite/gcc.target/aarch64/movk_2.c
1618
1619diff --git a/gcc/ChangeLog b/gcc/ChangeLog
1620index efbbbf08225..cea8ffee99c 100644
1621--- a/gcc/ChangeLog
1622+++ b/gcc/ChangeLog
1623@@ -1 +1,2 @@
1624
1625+
1626diff --git a/gcc/config/aarch64/aarch64-protos.h b/gcc/config/aarch64/aarch64-protos.h
1627index 24cc65a383a..d29975a8921 100644
1628--- a/gcc/config/aarch64/aarch64-protos.h
1629+++ b/gcc/config/aarch64/aarch64-protos.h
1630@@ -1 +1,2 @@
1631
1632+
1633diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c
1634index 6581e4cb075..6a1b4099af1 100644
1635--- a/gcc/config/aarch64/aarch64.c
1636+++ b/gcc/config/aarch64/aarch64.c
1637@@ -1 +1,2 @@
1638
1639+
1640diff --git a/gcc/config/aarch64/aarch64.md b/gcc/config/aarch64/aarch64.md
1641index 90eebce85c0..9c1f17d0f85 100644
1642--- a/gcc/config/aarch64/aarch64.md
1643+++ b/gcc/config/aarch64/aarch64.md
1644@@ -1 +1,2 @@
1645
1646+
1647diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
1648index 601bc336290..cdb26581b9c 100644
1649--- a/gcc/testsuite/ChangeLog
1650+++ b/gcc/testsuite/ChangeLog
1651@@ -1 +1,2 @@
1652
1653+
1654diff --git a/gcc/testsuite/gcc.target/aarch64/movk_2.c b/gcc/testsuite/gcc.target/aarch64/movk_2.c
1655new file mode 100644
1656index 00000000000..a0477ad5d42
1657--- /dev/null
1658+++ b/gcc/testsuite/gcc.target/aarch64/movk_2.c
1659@@ -0,0 +1 @@
1660+
1661--
16622.26.1
1663
1664=== 1975-S-390-Fix-several-test-cases.patch ===
1665From 803596fe9591026a50b59ff961ebc114097677b5 Mon Sep 17 00:00:00 2001
1666From: Stefan Schulze Frielinghaus <stefansf@linux.ibm.com>
1667Date: Tue, 10 Mar 2020 10:49:28 +0100
1668Subject: [PATCH 1975/2034] S/390: Fix several test cases
1669
1670gcc/ChangeLog:
1671
16722020-04-21 Stefan Schulze Frielinghaus <stefansf@linux.ibm.com>
1673
1674 * config/s390/s390.md ("*<risbg_n>_ior_and_sr_ze<mode>"): Lift from SI
1675 mode to DSI. ("*trunc_sidi_and_subreg_ze<clobbercc_or_nocc>"): New
1676 insn pattern.
1677
1678gcc/testsuite/ChangeLog:
1679
16802020-04-21 Stefan Schulze Frielinghaus <stefansf@linux.ibm.com>
1681
1682 * gcc.target/s390/addsub-signed-overflow-1.c: Fix options.
1683 * gcc.target/s390/addsub-signed-overflow-2.c: Fix options.
1684 * gcc.target/s390/bswap-1.c: Fix scan assembler regex.
1685 * gcc.target/s390/global-array-element-pic2.c: Fix scan assembler regex.
1686 * gcc.target/s390/load-relative-check.c: Fix options.
1687 * gcc.target/s390/morestack.c: Fix options.
1688 * gcc.target/s390/nobp-return-mem-z900.c: Temporarily silence this case.
1689 * gcc.target/s390/risbg-ll-1.c: Fix scan assembler regex.
1690 * gcc.target/s390/risbg-ll-2.c: Fix scan assembler regex.
1691 * gcc.target/s390/risbg-ll-3.c: Fix scan assembler regex.
1692 * gcc.target/s390/target-attribute/pr82012.c: Fix error message.
1693---
1694 gcc/config/s390/s390.md | 39 ++++++++++++-------
1695 .../s390/addsub-signed-overflow-1.c | 2 +-
1696 .../s390/addsub-signed-overflow-2.c | 2 +-
1697 gcc/testsuite/gcc.target/s390/bswap-1.c | 8 ++--
1698 .../s390/global-array-element-pic2.c | 4 +-
1699 .../gcc.target/s390/load-relative-check.c | 2 +-
1700 gcc/testsuite/gcc.target/s390/morestack.c | 2 +-
1701 .../gcc.target/s390/nobp-return-mem-z900.c | 17 ++++++--
1702 gcc/testsuite/gcc.target/s390/risbg-ll-1.c | 13 +++----
1703 gcc/testsuite/gcc.target/s390/risbg-ll-2.c | 6 +--
1704 gcc/testsuite/gcc.target/s390/risbg-ll-3.c | 2 +-
1705 .../s390/target-attribute/pr82012.c | 2 +-
1706 12 files changed, 59 insertions(+), 40 deletions(-)
1707
1708diff --git a/gcc/config/s390/s390.md b/gcc/config/s390/s390.md
1709index 44b59659e20..cf53ef1b791 100644
1710--- a/gcc/config/s390/s390.md
1711+++ b/gcc/config/s390/s390.md
1712@@ -1 +1,2 @@
1713
1714+
1715diff --git a/gcc/testsuite/gcc.target/s390/addsub-signed-overflow-1.c b/gcc/testsuite/gcc.target/s390/addsub-signed-overflow-1.c
1716index 143220d5541..ebc02479587 100644
1717--- a/gcc/testsuite/gcc.target/s390/addsub-signed-overflow-1.c
1718+++ b/gcc/testsuite/gcc.target/s390/addsub-signed-overflow-1.c
1719@@ -1 +1,2 @@
1720
1721+
1722diff --git a/gcc/testsuite/gcc.target/s390/addsub-signed-overflow-2.c b/gcc/testsuite/gcc.target/s390/addsub-signed-overflow-2.c
1723index 798e489cece..8bd1a764bc6 100644
1724--- a/gcc/testsuite/gcc.target/s390/addsub-signed-overflow-2.c
1725+++ b/gcc/testsuite/gcc.target/s390/addsub-signed-overflow-2.c
1726@@ -1 +1,2 @@
1727
1728+
1729diff --git a/gcc/testsuite/gcc.target/s390/bswap-1.c b/gcc/testsuite/gcc.target/s390/bswap-1.c
1730index edfcdf888c0..c11a0ea780b 100644
1731--- a/gcc/testsuite/gcc.target/s390/bswap-1.c
1732+++ b/gcc/testsuite/gcc.target/s390/bswap-1.c
1733@@ -1 +1,2 @@
1734
1735+
1736diff --git a/gcc/testsuite/gcc.target/s390/global-array-element-pic2.c b/gcc/testsuite/gcc.target/s390/global-array-element-pic2.c
1737index b9398a8042f..72b87d40b85 100644
1738--- a/gcc/testsuite/gcc.target/s390/global-array-element-pic2.c
1739+++ b/gcc/testsuite/gcc.target/s390/global-array-element-pic2.c
1740@@ -1 +1,2 @@
1741
1742+
1743diff --git a/gcc/testsuite/gcc.target/s390/load-relative-check.c b/gcc/testsuite/gcc.target/s390/load-relative-check.c
1744index 3d4671a6b3f..a55bc2442f1 100644
1745--- a/gcc/testsuite/gcc.target/s390/load-relative-check.c
1746+++ b/gcc/testsuite/gcc.target/s390/load-relative-check.c
1747@@ -1 +1,2 @@
1748
1749+
1750diff --git a/gcc/testsuite/gcc.target/s390/morestack.c b/gcc/testsuite/gcc.target/s390/morestack.c
1751index aa28b72aa6c..4cfa220e737 100644
1752--- a/gcc/testsuite/gcc.target/s390/morestack.c
1753+++ b/gcc/testsuite/gcc.target/s390/morestack.c
1754@@ -1 +1,2 @@
1755
1756+
1757diff --git a/gcc/testsuite/gcc.target/s390/nobp-return-mem-z900.c b/gcc/testsuite/gcc.target/s390/nobp-return-mem-z900.c
1758index 0b318115a8f..3d6aca1f95f 100644
1759--- a/gcc/testsuite/gcc.target/s390/nobp-return-mem-z900.c
1760+++ b/gcc/testsuite/gcc.target/s390/nobp-return-mem-z900.c
1761@@ -1 +1,2 @@
1762
1763+
1764diff --git a/gcc/testsuite/gcc.target/s390/risbg-ll-1.c b/gcc/testsuite/gcc.target/s390/risbg-ll-1.c
1765index 30350d04c45..1cac15820c0 100644
1766--- a/gcc/testsuite/gcc.target/s390/risbg-ll-1.c
1767+++ b/gcc/testsuite/gcc.target/s390/risbg-ll-1.c
1768@@ -1 +1,2 @@
1769
1770+
1771diff --git a/gcc/testsuite/gcc.target/s390/risbg-ll-2.c b/gcc/testsuite/gcc.target/s390/risbg-ll-2.c
1772index 754c17311dd..8bf1a0ff88b 100644
1773--- a/gcc/testsuite/gcc.target/s390/risbg-ll-2.c
1774+++ b/gcc/testsuite/gcc.target/s390/risbg-ll-2.c
1775@@ -1 +1,2 @@
1776
1777+
1778diff --git a/gcc/testsuite/gcc.target/s390/risbg-ll-3.c b/gcc/testsuite/gcc.target/s390/risbg-ll-3.c
1779index 2a2db543cd9..90d37f2c1ce 100644
1780--- a/gcc/testsuite/gcc.target/s390/risbg-ll-3.c
1781+++ b/gcc/testsuite/gcc.target/s390/risbg-ll-3.c
1782@@ -1 +1,2 @@
1783
1784+
1785diff --git a/gcc/testsuite/gcc.target/s390/target-attribute/pr82012.c b/gcc/testsuite/gcc.target/s390/target-attribute/pr82012.c
1786index 2e1f7ae57be..ad1bf76d4d2 100644
1787--- a/gcc/testsuite/gcc.target/s390/target-attribute/pr82012.c
1788+++ b/gcc/testsuite/gcc.target/s390/target-attribute/pr82012.c
1789@@ -1 +1,2 @@
1790
1791+
1792--
17932.26.1
1794
1795=== 1999-rs6000-Fix-C-14-vs.-C-17-ABI-bug-on-powerpc64le-PR94.patch ===
1796From a39ed81b8a0b46320a7c6ece3f7ad4c3f8519609 Mon Sep 17 00:00:00 2001
1797From: Jakub Jelinek <jakub@redhat.com>
1798Date: Thu, 23 Apr 2020 09:59:57 +0200
1799Subject: [PATCH 1999/2034] rs6000: Fix C++14 vs. C++17 ABI bug on powerpc64le
1800 [PR94707]
1801
1802As mentioned in the PR and on IRC, the recently added struct-layout-1.exp
1803new tests FAIL on powerpc64le-linux (among other targets).
1804FAIL: tmpdir-g++.dg-struct-layout-1/t032 cp_compat_x_tst.o-cp_compat_y_tst.o execute
1805FAIL: tmpdir-g++.dg-struct-layout-1/t058 cp_compat_x_tst.o-cp_compat_y_tst.o execute
1806FAIL: tmpdir-g++.dg-struct-layout-1/t059 cp_compat_x_tst.o-cp_compat_y_tst.o execute
1807in particular. The problem is that the presence or absence of the C++17
1808artificial empty base fields, which have non-zero TYPE_SIZE, but zero
1809DECL_SIZE, change the ABI decisions, if it is present (-std=c++17), the type
1810might not be considered homogeneous, while if it is absent (-std=c++14), it
1811can be.
1812
1813The following patch fixes that and emits a -Wpsabi inform; perhaps more
1814often than it could, because the fact that rs6000_discover_homogeneous_aggregate
1815returns true when it didn't in in GCC 7/8/9 with -std=c++17 doesn't still
1816mean it will make a different ABI decision, but the warning triggered only
1817on the test I've changed (the struct-layout-1.exp tests use -w -Wno-psabi
1818already).
1819
18202020-04-23 Jakub Jelinek <jakub@redhat.com>
1821
1822 PR target/94707
1823 * config/rs6000/rs6000-call.c (rs6000_aggregate_candidate): Add
1824 cxx17_empty_base_seen argument. Pass it to recursive calls.
1825 Ignore cxx17_empty_base_field_p fields after setting
1826 *cxx17_empty_base_seen to true.
1827 (rs6000_discover_homogeneous_aggregate): Adjust
1828 rs6000_aggregate_candidate caller. With -Wpsabi, diagnose homogeneous
1829 aggregates with C++17 empty base fields.
1830
1831 * g++.dg/tree-ssa/pr27830.C: Use -Wpsabi -w for -std=c++17 and higher.
1832---
1833 gcc/ChangeLog | 13 ++++++++++
1834 gcc/config/rs6000/rs6000-call.c | 34 +++++++++++++++++++++----
1835 gcc/testsuite/ChangeLog | 3 +++
1836 gcc/testsuite/g++.dg/tree-ssa/pr27830.C | 2 ++
1837 4 files changed, 47 insertions(+), 5 deletions(-)
1838
1839diff --git a/gcc/ChangeLog b/gcc/ChangeLog
1840index 06f7eda0033..93c3076eb86 100644
1841--- a/gcc/ChangeLog
1842+++ b/gcc/ChangeLog
1843@@ -1 +1,2 @@
1844
1845+
1846diff --git a/gcc/config/rs6000/rs6000-call.c b/gcc/config/rs6000/rs6000-call.c
1847index e08621ace27..a9ae7ab70ca 100644
1848--- a/gcc/config/rs6000/rs6000-call.c
1849+++ b/gcc/config/rs6000/rs6000-call.c
1850@@ -1 +1,2 @@
1851
1852+
1853diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
1854index 684e408c1a5..245c1512c76 100644
1855--- a/gcc/testsuite/ChangeLog
1856+++ b/gcc/testsuite/ChangeLog
1857@@ -1 +1,2 @@
1858
1859+
1860diff --git a/gcc/testsuite/g++.dg/tree-ssa/pr27830.C b/gcc/testsuite/g++.dg/tree-ssa/pr27830.C
1861index 01c7fc18783..551ebc428cd 100644
1862--- a/gcc/testsuite/g++.dg/tree-ssa/pr27830.C
1863+++ b/gcc/testsuite/g++.dg/tree-ssa/pr27830.C
1864@@ -1 +1,2 @@
1865
1866+
1867--
18682.26.1
1869
1870=== 0001-Add-patch_area_size-and-patch_area_entry-to-crtl.patch ===
1871From 6607bdd99994c834f92fce924abdaea3405f62dc Mon Sep 17 00:00:00 2001
1872From: "H.J. Lu" <hjl.tools@gmail.com>
1873Date: Fri, 1 May 2020 21:03:10 -0700
1874Subject: [PATCH] Add patch_area_size and patch_area_entry to crtl
1875
1876Currently patchable area is at the wrong place. It is placed immediately
1877after function label and before .cfi_startproc. A backend should be able
1878to add a pseudo patchable area instruction durectly into RTL. This patch
1879adds patch_area_size and patch_area_entry to crtl so that the patchable
1880area info is available in RTL passes.
1881
1882It also limits patch_area_size and patch_area_entry to 65535, which is
1883a reasonable maximum size for patchable area.
1884
1885gcc/
1886
1887 PR target/93492
1888 * cfgexpand.c (pass_expand::execute): Set crtl->patch_area_size
1889 and crtl->patch_area_entry.
1890 * emit-rtl.h (rtl_data): Add patch_area_size and patch_area_entry.
1891 * opts.c (common_handle_option): Limit
1892 function_entry_patch_area_size and function_entry_patch_area_start
1893 to USHRT_MAX. Fix a typo in error message.
1894 * varasm.c (assemble_start_function): Use crtl->patch_area_size
1895 and crtl->patch_area_entry.
1896 * doc/invoke.texi: Document the maximum value for
1897 -fpatchable-function-entry.
1898
1899gcc/c-family/
1900
1901 PR target/12345
1902 * c-attribs.c (handle_patchable_function_entry_attribute): Limit
1903 value to USHRT_MAX (65535).
1904
1905---
1906 gcc/ChangeLog | 14 ++++++++
1907 gcc/c-family/ChangeLog | 6 ++++
1908 gcc/c-family/c-attribs.c | 9 +++++
1909 gcc/cfgexpand.c | 33 +++++++++++++++++++
1910 gcc/doc/invoke.texi | 1 +
1911 gcc/emit-rtl.h | 6 ++++
1912 gcc/opts.c | 4 ++-
1913 gcc/testsuite/ChangeLog | 7 ++++
1914 .../patchable_function_entry-error-1.c | 9 +++++
1915 .../patchable_function_entry-error-2.c | 9 +++++
1916 .../patchable_function_entry-error-3.c | 17 ++++++++++
1917 gcc/varasm.c | 30 ++---------------
1918 12 files changed, 116 insertions(+), 29 deletions(-)
1919 create mode 100644 gcc/testsuite/c-c++-common/patchable_function_entry-error-1.c
1920 create mode 100644 gcc/testsuite/c-c++-common/patchable_function_entry-error-2.c
1921 create mode 100644 gcc/testsuite/c-c++-common/patchable_function_entry-error-3.c
1922
1923diff --git a/gcc/ChangeLog b/gcc/ChangeLog
1924index e85a8e8813e..fb776ba5a0e 100644
1925--- a/gcc/ChangeLog
1926+++ b/gcc/ChangeLog
1927@@ -1 +1,2 @@
1928
1929+
1930diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
1931index c429b49e68c..69ea1fdc4f3 100644
1932--- a/gcc/c-family/ChangeLog
1933+++ b/gcc/c-family/ChangeLog
1934@@ -1 +1,2 @@
1935
1936+
1937diff --git a/gcc/c-family/c-attribs.c b/gcc/c-family/c-attribs.c
1938index ac936d5bbbb..a101312c581 100644
1939--- a/gcc/c-family/c-attribs.c
1940+++ b/gcc/c-family/c-attribs.c
1941@@ -1 +1,2 @@
1942
1943+
1944diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c
1945index a7ec77d5c85..86efa22bf60 100644
1946--- a/gcc/cfgexpand.c
1947+++ b/gcc/cfgexpand.c
1948@@ -1 +1,2 @@
1949
1950+
1951diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
1952index 527d362533a..767d1f07801 100644
1953--- a/gcc/doc/invoke.texi
1954+++ b/gcc/doc/invoke.texi
1955@@ -1 +1,2 @@
1956
1957+
1958diff --git a/gcc/emit-rtl.h b/gcc/emit-rtl.h
1959index a878efe3cf7..3d6565c8a30 100644
1960--- a/gcc/emit-rtl.h
1961+++ b/gcc/emit-rtl.h
1962@@ -1 +1,2 @@
1963
1964+
1965diff --git a/gcc/opts.c b/gcc/opts.c
1966index c212a1a57dc..3dccef39701 100644
1967--- a/gcc/opts.c
1968+++ b/gcc/opts.c
1969@@ -1 +1,2 @@
1970
1971+
1972diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
1973index 176aa117904..185f9ea725e 100644
1974--- a/gcc/testsuite/ChangeLog
1975+++ b/gcc/testsuite/ChangeLog
1976@@ -1 +1,2 @@
1977
1978+
1979diff --git a/gcc/testsuite/c-c++-common/patchable_function_entry-error-1.c b/gcc/testsuite/c-c++-common/patchable_function_entry-error-1.c
1980new file mode 100644
1981index 00000000000..f60bf46cfe3
1982--- /dev/null
1983+++ b/gcc/testsuite/c-c++-common/patchable_function_entry-error-1.c
1984@@ -0,0 +1 @@
1985+
1986diff --git a/gcc/testsuite/c-c++-common/patchable_function_entry-error-2.c b/gcc/testsuite/c-c++-common/patchable_function_entry-error-2.c
1987new file mode 100644
1988index 00000000000..90f88c78be7
1989--- /dev/null
1990+++ b/gcc/testsuite/c-c++-common/patchable_function_entry-error-2.c
1991@@ -0,0 +1 @@
1992+
1993diff --git a/gcc/testsuite/c-c++-common/patchable_function_entry-error-3.c b/gcc/testsuite/c-c++-common/patchable_function_entry-error-3.c
1994new file mode 100644
1995index 00000000000..4490e5c15ca
1996--- /dev/null
1997+++ b/gcc/testsuite/c-c++-common/patchable_function_entry-error-3.c
1998@@ -0,0 +1 @@
1999+
2000diff --git a/gcc/varasm.c b/gcc/varasm.c
2001index 271a67abf56..f062e48071f 100644
2002--- a/gcc/varasm.c
2003+++ b/gcc/varasm.c
2004@@ -1 +1,2 @@
2005
2006+
2007--
20082.26.2
2009
2010=== 0002-Bump-date.patch ===
2011From a139bafeec76732d964b99e8be3d61b3cab0359d Mon Sep 17 00:00:00 2001
2012From: Martin Liska <mliska@suse.cz>
2013Date: Tue, 12 May 2020 09:27:51 +0200
2014Subject: [PATCH 2/2] Bump date.
2015
2016---
2017 gcc/DATESTAMP | 2 +-
2018 1 file changed, 1 insertion(+), 1 deletion(-)
2019
2020diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
2021index c3d42a6f89a..b03d4a0feab 100644
2022--- a/gcc/DATESTAMP
2023+++ b/gcc/DATESTAMP
2024@@ -1 +1,2 @@
2025
2026+
2027--
20282.26.2
2029
2030=== 0001-Just-test-it.patch ===
2031From 6b10b909c0b49ac7ace2cd53021b3ff7ffb2d3f4 Mon Sep 17 00:00:00 2001
2032From: Martin Liska <mliska@suse.cz>
2033Date: Tue, 12 May 2020 09:25:54 +0200
2034Subject: [PATCH 1/2] Just test it.
2035
2036gcc/ChangeLog:
2037
20382020-05-12 Martin Liska <mliska@suse.cz>
2039
2040 PR ipa/12345
2041 * tree-vrp.c: Done.
2042 * tree.c: Done.
2043---
2044 gcc/tree-vrp.c | 2 ++
2045 gcc/tree.c | 3 +++
2046 2 files changed, 5 insertions(+)
2047
2048diff --git a/gcc/tree-vrp.c b/gcc/tree-vrp.c
2049index a8861670790..32722d2c714 100644
2050--- a/gcc/tree-vrp.c
2051+++ b/gcc/tree-vrp.c
2052@@ -1 +1,2 @@
2053
2054+
2055diff --git a/gcc/tree.c b/gcc/tree.c
2056index 0ddf002e9eb..fa7c6b28a4e 100644
2057--- a/gcc/tree.c
2058+++ b/gcc/tree.c
2059@@ -1 +1,2 @@
2060
2061+
2062--
20632.26.2
2064
2065=== trailing-whitespaces.patch ===
2066From eb7c7c524556df5364f03adc20f6a9db20858484 Mon Sep 17 00:00:00 2001
2067From: Jakub Jelinek <jakub@redhat.com>
2068Date: Mon, 13 Jan 2020 14:14:57 +0100
2069Subject: [PATCH 0004/2034] tree-opt: Fix bootstrap failure in
2070 tree-ssa-forwprop.c some more PR90838
2071
20722020-01-13 Jakub Jelinek <jakub@redhat.com>
2073
2074 PR tree-optimization/90838
2075 * tree-ssa-forwprop.c (simplify_count_trailing_zeroes): Use
2076 SCALAR_INT_TYPE_MODE directly in CTZ_DEFINED_VALUE_AT_ZERO macro
2077 argument rather than to initialize temporary for targets that
2078 don't use the mode argument at all. Initialize ctzval to avoid
2079 warning at -O0.
2080---
2081 gcc/ChangeLog | 9 +++++++++
2082 gcc/tree-ssa-forwprop.c | 6 +++---
2083 2 files changed, 12 insertions(+), 3 deletions(-)
2084
2085diff --git a/gcc/ChangeLog b/gcc/ChangeLog
2086index a195863212e..f7df07343d1 100644
2087--- a/gcc/ChangeLog
2088+++ b/gcc/ChangeLog
2089@@ -1 +1,2 @@
2090
2091+
2092diff --git a/gcc/tree-ssa-forwprop.c b/gcc/tree-ssa-forwprop.c
2093index aac31d02b6c..56c470f6ecf 100644
2094--- a/gcc/tree-ssa-forwprop.c
2095+++ b/gcc/tree-ssa-forwprop.c
2096@@ -1 +1,2 @@
2097
2098+
2099--
21002.26.1
2101
2102=== pr-check1.patch ===
2103From 5194b51ed9714808d88827531e91474895b6c706 Mon Sep 17 00:00:00 2001
2104From: Jason Merrill <jason@redhat.com>
2105Date: Thu, 16 Jan 2020 16:55:39 -0500
2106Subject: [PATCH 0121/2034] PR c++/93286 - ICE with __is_constructible and
2107 variadic template.
2108
2109Here we had been recursing in tsubst_copy_and_build if type2 was a TREE_LIST
2110because that function knew how to deal with pack expansions, and tsubst
2111didn't. But tsubst_copy_and_build expects to be dealing with expressions,
2112so we crash when trying to convert_from_reference a type.
2113
2114gcc/cp/ChangeLog:
2115 PR ipa/12345
2116 * pt.c (tsubst) [TREE_LIST]: Handle pack expansion.
2117 (tsubst_copy_and_build) [TRAIT_EXPR]: Always use tsubst for type2.
2118
2119gcc/testsuite/ChangeLog:
2120 * g++.dg/ext/is_constructible4.C: New file.
2121---
2122 gcc/cp/ChangeLog | 4 ++
2123 gcc/cp/pt.c | 74 ++++++++++++++++++--
2124 gcc/testsuite/g++.dg/ext/is_constructible4.C | 18 +++++
2125 3 files changed, 89 insertions(+), 7 deletions(-)
2126 create mode 100644 gcc/testsuite/g++.dg/ext/is_constructible4.C
2127
2128diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
2129index 3ca5d7a11b4..c37e461bcc5 100644
2130--- a/gcc/cp/ChangeLog
2131+++ b/gcc/cp/ChangeLog
2132@@ -1 +1,2 @@
2133
2134+
2135diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c
2136index 9bb8cc13e5f..872f8ff8f52 100644
2137--- a/gcc/cp/pt.c
2138+++ b/gcc/cp/pt.c
2139@@ -1 +1,2 @@
2140
2141+
2142diff --git a/gcc/testsuite/g++.dg/ext/is_constructible4.C b/gcc/testsuite/g++.dg/ext/is_constructible4.C
2143new file mode 100644
2144index 00000000000..6dfe3c01661
2145--- /dev/null
2146+++ b/gcc/testsuite/g++.dg/ext/is_constructible4.C
2147@@ -0,0 +1 @@
2148+
2149--
21502.26.1
2151
2152=== 0020-IPA-Avoid-segfault-in-devirtualization_time_bonus-PR.patch ===
2153From 8472660b98a31b32b7d030c2cdc4d41d326364d5 Mon Sep 17 00:00:00 2001
2154From: Martin Jambor <mjambor@suse.cz>
2155Date: Mon, 13 Jan 2020 19:13:46 +0100
2156Subject: [PATCH 0020/2034] IPA: Avoid segfault in devirtualization_time_bonus
2157 (PR 93223)
2158
21592020-01-13 Martin Jambor <mjambor@suse.cz>
2160
2161 PR ipa/93223
2162 * ipa-cp.c (devirtualization_time_bonus): Check whether isummary is
2163 NULL.
2164
2165 testsuite/
2166 * g++.dg/ipa/pr93223.C: New test.
2167---
2168 gcc/ipa-cp.c | 2 +-
2169 gcc/testsuite/g++.dg/ipa/pr93223.C | 62 ++++++++++++++++++++++++++++++
2170 2 files changed, 63 insertions(+), 1 deletion(-)
2171 create mode 100644 gcc/testsuite/g++.dg/ipa/pr93223.C
2172
2173diff --git a/gcc/ipa-cp.c b/gcc/ipa-cp.c
2174index 612f3d0a89b..17da1d8e8a7 100644
2175--- a/gcc/ipa-cp.c
2176+++ b/gcc/ipa-cp.c
2177@@ -1 +1,2 @@
2178
2179+
2180diff --git a/gcc/testsuite/g++.dg/ipa/pr93223.C b/gcc/testsuite/g++.dg/ipa/pr93223.C
2181new file mode 100644
2182index 00000000000..87f98b5e244
2183--- /dev/null
2184+++ b/gcc/testsuite/g++.dg/ipa/pr93223.C
2185@@ -0,0 +1 @@
2186+
2187--
21882.26.1
2189
2190=== 0043-Compare-TREE_ADDRESSABLE-and-TYPE_MODE-when-ODR-chec.patch ===
2191From 288c5324bf6e418dd94d718d1619464a4f68ff8e Mon Sep 17 00:00:00 2001
2192From: Jan Hubicka <jh@suse.cz>
2193Date: Tue, 14 Jan 2020 21:45:03 +0100
2194Subject: [PATCH 0043/2034] Compare TREE_ADDRESSABLE and TYPE_MODE when ODR
2195 checking types.
2196
2197 PR lto/91576
2198 * ipa-devirt.c (odr_types_equivalent_p): Compare TREE_ADDRESSABLE and
2199 TYPE_MODE.
2200
2201 * testsuite/g++.dg/lto/odr-8_0.C: New testcase.
2202 * testsuite/g++.dg/lto/odr-8_1.C: New testcase.
2203---
2204 gcc/ChangeLog | 6 ++++++
2205 gcc/ipa-devirt.c | 21 +++++++++++++++++++++
2206 gcc/testsuite/ChangeLog | 6 ++++++
2207 gcc/testsuite/g++.dg/lto/odr-8_0.C | 7 +++++++
2208 gcc/testsuite/g++.dg/lto/odr-8_1.C | 12 ++++++++++++
2209 5 files changed, 52 insertions(+)
2210 create mode 100644 gcc/testsuite/g++.dg/lto/odr-8_0.C
2211 create mode 100644 gcc/testsuite/g++.dg/lto/odr-8_1.C
2212
2213diff --git a/gcc/ChangeLog b/gcc/ChangeLog
2214index 38165123654..33ca91a6467 100644
2215--- a/gcc/ChangeLog
2216+++ b/gcc/ChangeLog
2217@@ -1 +1,2 @@
2218
2219+
2220diff --git a/gcc/ipa-devirt.c b/gcc/ipa-devirt.c
2221index f0031957375..b609a77701d 100644
2222--- a/gcc/ipa-devirt.c
2223+++ b/gcc/ipa-devirt.c
2224@@ -1 +1,2 @@
2225
2226+
2227diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
2228index 8e3b9105188..dc42601794b 100644
2229--- a/gcc/testsuite/ChangeLog
2230+++ b/gcc/testsuite/ChangeLog
2231@@ -1 +1,2 @@
2232
2233+
2234diff --git a/gcc/testsuite/g++.dg/lto/odr-8_0.C b/gcc/testsuite/g++.dg/lto/odr-8_0.C
2235new file mode 100644
2236index 00000000000..59f51399fac
2237--- /dev/null
2238+++ b/gcc/testsuite/g++.dg/lto/odr-8_0.C
2239@@ -0,0 +1 @@
2240+
2241diff --git a/gcc/testsuite/g++.dg/lto/odr-8_1.C b/gcc/testsuite/g++.dg/lto/odr-8_1.C
2242new file mode 100644
2243index 00000000000..742df8cc906
2244--- /dev/null
2245+++ b/gcc/testsuite/g++.dg/lto/odr-8_1.C
2246@@ -0,0 +1 @@
2247+
2248--
22492.26.1
2250
2251=== 0096-GCC-PATCH-AArch64-Add-ACLE-intrinsics-for-dot-produc.patch ===
2252From 8c197c851e7528baba7cb837f34c05ba2242f705 Mon Sep 17 00:00:00 2001
2253From: Stam Markianos-Wright <stam.markianos-wright@arm.com>
2254Date: Thu, 16 Jan 2020 14:20:48 +0000
2255Subject: [PATCH 0096/2034] [GCC][PATCH][AArch64]Add ACLE intrinsics for dot
2256 product (usdot - vector, <us/su>dot - by element) for AArch64 AdvSIMD ARMv8.6
2257 Extension
2258
2259gcc/ChangeLog:
2260
22612020-01-16 Stam Markianos-Wright <stam.markianos-wright@arm.com>
2262
2263 * config/aarch64/aarch64-builtins.c: (enum aarch64_type_qualifiers):
2264 New qualifier_lane_quadtup_index, TYPES_TERNOP_SSUS,
2265 TYPES_QUADOPSSUS_LANE_QUADTUP, TYPES_QUADOPSSSU_LANE_QUADTUP.
2266 (aarch64_simd_expand_args): Add case SIMD_ARG_LANE_QUADTUP_INDEX.
2267 (aarch64_simd_expand_builtin): Add qualifier_lane_quadtup_index.
2268 * config/aarch64/aarch64-simd-builtins.def (usdot, usdot_lane,
2269 usdot_laneq, sudot_lane,sudot_laneq): New.
2270 * config/aarch64/aarch64-simd.md (aarch64_usdot): New.
2271 (aarch64_<sur>dot_lane): New.
2272 * config/aarch64/arm_neon.h (vusdot_s32): New.
2273 (vusdotq_s32): New.
2274 (vusdot_lane_s32): New.
2275 (vsudot_lane_s32): New.
2276 * config/aarch64/iterators.md (DOTPROD_I8MM): New iterator.
2277 (UNSPEC_USDOT, UNSPEC_SUDOT): New unspecs.
2278
2279gcc/testsuite/ChangeLog:
2280
22812020-01-16 Stam Markianos-Wright <stam.markianos-wright@arm.com>
2282
2283 * gcc.target/aarch64/advsimd-intrinsics/vdot-compile-3-1.c: New test.
2284 * gcc.target/aarch64/advsimd-intrinsics/vdot-compile-3-2.c: New test.
2285 * gcc.target/aarch64/advsimd-intrinsics/vdot-compile-3-3.c: New test.
2286 * gcc.target/aarch64/advsimd-intrinsics/vdot-compile-3-4.c: New test.
2287---
2288 gcc/ChangeLog | 18 +++
2289 gcc/config/aarch64/aarch64-builtins.c | 45 +++++-
2290 gcc/config/aarch64/aarch64-simd-builtins.def | 5 +
2291 gcc/config/aarch64/aarch64-simd.md | 34 +++++
2292 gcc/config/aarch64/arm_neon.h | 83 +++++++++++
2293 gcc/config/aarch64/iterators.md | 7 +
2294 gcc/testsuite/ChangeLog | 7 +
2295 .../aarch64/advsimd-intrinsics/vdot-3-1.c | 136 +++++++++++++++++
2296 .../aarch64/advsimd-intrinsics/vdot-3-2.c | 137 ++++++++++++++++++
2297 .../aarch64/advsimd-intrinsics/vdot-3-3.c | 31 ++++
2298 .../aarch64/advsimd-intrinsics/vdot-3-4.c | 31 ++++
2299 11 files changed, 531 insertions(+), 3 deletions(-)
2300 create mode 100755 gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vdot-3-1.c
2301 create mode 100755 gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vdot-3-2.c
2302 create mode 100755 gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vdot-3-3.c
2303 create mode 100755 gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vdot-3-4.c
2304
2305diff --git a/gcc/ChangeLog b/gcc/ChangeLog
2306index 9a949980699..49dcecb6777 100644
2307--- a/gcc/ChangeLog
2308+++ b/gcc/ChangeLog
2309@@ -1 +1,2 @@
2310
2311+
2312diff --git a/gcc/config/aarch64/aarch64-builtins.c b/gcc/config/aarch64/aarch64-builtins.c
2313index f0e0461b7f0..f50c4857e1c 100644
2314--- a/gcc/config/aarch64/aarch64-builtins.c
2315+++ b/gcc/config/aarch64/aarch64-builtins.c
2316@@ -1 +1,2 @@
2317
2318+
2319diff --git a/gcc/config/aarch64/aarch64-simd-builtins.def b/gcc/config/aarch64/aarch64-simd-builtins.def
2320index 57fc5933b43..4744dd1f6b2 100644
2321--- a/gcc/config/aarch64/aarch64-simd-builtins.def
2322+++ b/gcc/config/aarch64/aarch64-simd-builtins.def
2323@@ -1 +1,2 @@
2324
2325+
2326diff --git a/gcc/config/aarch64/aarch64-simd.md b/gcc/config/aarch64/aarch64-simd.md
2327index 2989096b170..9e56e8caf35 100644
2328--- a/gcc/config/aarch64/aarch64-simd.md
2329+++ b/gcc/config/aarch64/aarch64-simd.md
2330@@ -1 +1,2 @@
2331
2332+
2333diff --git a/gcc/config/aarch64/arm_neon.h b/gcc/config/aarch64/arm_neon.h
2334index eaba156e26c..c96214003dd 100644
2335--- a/gcc/config/aarch64/arm_neon.h
2336+++ b/gcc/config/aarch64/arm_neon.h
2337@@ -1 +1,2 @@
2338
2339+
2340diff --git a/gcc/config/aarch64/iterators.md b/gcc/config/aarch64/iterators.md
2341index b9843b83c5f..83720d9802a 100644
2342--- a/gcc/config/aarch64/iterators.md
2343+++ b/gcc/config/aarch64/iterators.md
2344@@ -1 +1,2 @@
2345
2346+
2347diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
2348index 0d8aa6063a7..8b01aa06a40 100644
2349--- a/gcc/testsuite/ChangeLog
2350+++ b/gcc/testsuite/ChangeLog
2351@@ -1 +1,2 @@
2352
2353+
2354diff --git a/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vdot-3-1.c b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vdot-3-1.c
2355new file mode 100755
2356index 00000000000..ac4f821e771
2357--- /dev/null
2358+++ b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vdot-3-1.c
2359@@ -0,0 +1 @@
2360+
2361diff --git a/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vdot-3-2.c b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vdot-3-2.c
2362new file mode 100755
2363index 00000000000..96bca2356e4
2364--- /dev/null
2365+++ b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vdot-3-2.c
2366@@ -0,0 +1 @@
2367+
2368diff --git a/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vdot-3-3.c b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vdot-3-3.c
2369new file mode 100755
2370index 00000000000..18ecabef8dc
2371--- /dev/null
2372+++ b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vdot-3-3.c
2373@@ -0,0 +1 @@
2374+
2375diff --git a/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vdot-3-4.c b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vdot-3-4.c
2376new file mode 100755
2377index 00000000000..66c87d48694
2378--- /dev/null
2379+++ b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vdot-3-4.c
2380@@ -0,0 +1 @@
2381+
2382--
23832.26.1
2384
71389093
ML
2385=== 0001-c-Alias.patch ===
2386From 3f1a149fc35cdba988464562e2fb824b10652d6b Mon Sep 17 00:00:00 2001
2387From: Nathan Sidwell <nathan@acm.org>
2388Date: Tue, 19 May 2020 13:29:19 -0700
2389Subject: [PATCH] c++: Alias template instantiation template info
2390
2391I discovered that the alias instantiation machinery would setup
2392template_info, and then sometime later overwrite that with equivalent
2393info. This broke modules, because the template info, once set, is
2394logically immutable. Let's just not do that.
2395
2396 * pt.c (lookup_template_class_1): Do not reinit template_info of an
2397 alias here.
2398
2399(cherry picked from commit 74744bb1f2847b5b9ce3e97e0fec9c23bb0e499f)
2400---
2401 gcc/cp/pt.c | 17 +++++++++++++++--
2402 1 file changed, 15 insertions(+), 2 deletions(-)
2403
2404diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c
2405index b8f03d18541..7230ac724ba 100644
2406--- a/gcc/cp/pt.c
2407+++ b/gcc/cp/pt.c
2408@@ -1 +1,2 @@
2409
2410+
2411--
24122.26.2
29c34351
ML
2413=== 0001-RISC-V-Make-unique.patch ===
2414From adce62f53d8ad00e8110a6a2de7962d7a850de16 Mon Sep 17 00:00:00 2001
2415From: Keith Packard <keithp@keithp.com>
2416Date: Wed, 29 Apr 2020 09:49:56 -0700
2417Subject: [PATCH] RISC-V: Make unique SECCAT_SRODATA names start with .srodata
2418 (not .sdata2)
2419
2420default_unique_section uses ".sdata2" as a prefix for SECCAT_SRODATA
2421unique sections, but RISC-V uses ".srodata" instead. Override the
2422TARGET_ASM_UNIQUE_SECTION function to catch this case, allowing the
2423default to be used for all other sections.
71389093 2424
29c34351
ML
2425gcc/
2426 * config/riscv/riscv.c (riscv_unique_section): New.
2427 (TARGET_ASM_UNIQUE_SECTION): New.
2428
2429Signed-off-by: Keith Packard <keithp@keithp.com>
2430Reviewed-by: Keith Packard <keithp@keithp.com>
2431Reviewed-on: Keith Packard <keithp@keithp.com>
2432Co-Authored-by: Keith Packard <keithp@keithp.com>
2433---
2434 gcc/ChangeLog | 5 +++++
2435 gcc/config/riscv/riscv.c | 40 ++++++++++++++++++++++++++++++++++++++++
2436 2 files changed, 45 insertions(+)
2437
2438diff --git a/gcc/config/riscv/riscv.c b/gcc/config/riscv/riscv.c
2439index e4c08d780db..1ad9799fce4 100644
2440--- a/gcc/config/riscv/riscv.c
2441+++ b/gcc/config/riscv/riscv.c
2442@@ -1 +1,2 @@
2443
2444+
2445
2446--
24472.26.2
2f809e77
ML
2448
2449=== 0001-Fortran-ProcPtr-function.patch ===
2450From eb069ae8819c3a84d7f78becc5501e21ee3a9554 Mon Sep 17 00:00:00 2001
2451From: Mark Eggleston <markeggleston@gcc.gnu.org>
2452Date: Thu, 7 May 2020 08:02:02 +0100
2453Subject: [PATCH] Fortran : ProcPtr function results: 'ppr@' in error message
2454 PR39695
2455
2456The value 'ppr@' is set in the name of result symbol, the actual
2457name of the symbol is in the procedure name symbol pointed
2458to by the result symbol's namespace (ns). When reporting errors for
2459symbols that have the proc_pointer attribute check whether the
2460result attribute is set and set the name accordingly.
2461
24622020-05-20 Mark Eggleston <markeggleston@gcc.gnu.org>
2463
2464gcc/fortran/
2465
2466 PR fortran/39695
2467 * resolve.c (resolve_fl_procedure): Set name depending on
2468 whether the result attribute is set. For PROCEDURE/RESULT
2469 conflict use the name in sym->ns->proc_name->name.
2470 * symbol.c (gfc_add_type): Add check for function and result
2471 attributes use sym->ns->proc_name->name if both are set.
2472 Where the symbol cannot have a type use the name in
2473 sym->ns->proc_name->name.
2474
24752020-05-20 Mark Eggleston <markeggleston@gcc.gnu.org>
2476
2477gcc/testsuite/
2478
2479 PR fortran/39695
2480 * gfortran.dg/pr39695_1.f90: New test.
2481 * gfortran.dg/pr39695_2.f90: New test.
2482 * gfortran.dg/pr39695_3.f90: New test.
2483 * gfortran.dg/pr39695_4.f90: New test.
2484---
2485 gcc/fortran/ChangeLog | 11 +++++++++++
2486 gcc/fortran/resolve.c | 6 ++++--
2487 gcc/fortran/symbol.c | 7 +++++--
2488 gcc/testsuite/ChangeLog | 8 ++++++++
2489 gcc/testsuite/gfortran.dg/pr39695_1.f90 | 8 ++++++++
2490 gcc/testsuite/gfortran.dg/pr39695_2.f90 | 12 ++++++++++++
2491 gcc/testsuite/gfortran.dg/pr39695_3.f90 | 11 +++++++++++
2492 gcc/testsuite/gfortran.dg/pr39695_4.f90 | 14 ++++++++++++++
2493 8 files changed, 73 insertions(+), 4 deletions(-)
2494 create mode 100644 gcc/testsuite/gfortran.dg/pr39695_1.f90
2495 create mode 100644 gcc/testsuite/gfortran.dg/pr39695_2.f90
2496 create mode 100644 gcc/testsuite/gfortran.dg/pr39695_3.f90
2497 create mode 100644 gcc/testsuite/gfortran.dg/pr39695_4.f90
2498
2499diff --git a/gcc/fortran/resolve.c b/gcc/fortran/resolve.c
2500index f6e10ea379c..aaee5eb6b9b 100644
2501--- a/gcc/fortran/resolve.c
2502+++ b/gcc/fortran/resolve.c
2503@@ -1 +1,2 @@
2504
2505+
2506diff --git a/gcc/fortran/symbol.c b/gcc/fortran/symbol.c
2507index 59f602d80d5..b96706138c9 100644
2508--- a/gcc/fortran/symbol.c
2509+++ b/gcc/fortran/symbol.c
2510@@ -1 +1,2 @@
2511
2512+
2513diff --git a/gcc/testsuite/gfortran.dg/pr39695_1.f90 b/gcc/testsuite/gfortran.dg/pr39695_1.f90
2514new file mode 100644
2515index 00000000000..4c4b3045f69
2516--- /dev/null
2517+++ b/gcc/testsuite/gfortran.dg/pr39695_1.f90
2518@@ -0,0 +1 @@
2519+
2520diff --git a/gcc/testsuite/gfortran.dg/pr39695_2.f90 b/gcc/testsuite/gfortran.dg/pr39695_2.f90
2521new file mode 100644
2522index 00000000000..8534724959a
2523--- /dev/null
2524+++ b/gcc/testsuite/gfortran.dg/pr39695_2.f90
2525@@ -0,0 +1 @@
2526+
2527diff --git a/gcc/testsuite/gfortran.dg/pr39695_3.f90 b/gcc/testsuite/gfortran.dg/pr39695_3.f90
2528new file mode 100644
2529index 00000000000..661e2540bb3
2530--- /dev/null
2531+++ b/gcc/testsuite/gfortran.dg/pr39695_3.f90
2532@@ -0,0 +1 @@
2533+
2534diff --git a/gcc/testsuite/gfortran.dg/pr39695_4.f90 b/gcc/testsuite/gfortran.dg/pr39695_4.f90
2535new file mode 100644
2536index 00000000000..ecb0a43929f
2537--- /dev/null
2538+++ b/gcc/testsuite/gfortran.dg/pr39695_4.f90
2539@@ -0,0 +1 @@
2540+
2541--
25422.26.2
2543
9722b139
ML
2544=== 0001-c-C-20-DR-2237.patch ===
2545From 4b38d56dbac6742b038551a36ec80200313123a1 Mon Sep 17 00:00:00 2001
2546From: Marek Polacek <polacek@redhat.com>
2547Date: Sat, 4 Apr 2020 18:09:53 -0400
2548Subject: [PATCH] c++: C++20 DR 2237, disallow simple-template-id in cdtor.
2549
2550This patch implements DR 2237 which says that a simple-template-id is
2551no longer valid as the declarator-id of a constructor or destructor;
2552see [diff.cpp17.class]#2. It is not explicitly stated but out-of-line
2553destructors with a simple-template-id are also meant to be ill-formed
2554now. (Out-of-line constructors like that are invalid since DR1435 I
2555think.) This change only applies to C++20; it is not a DR against C++17.
2556
2557I'm not crazy about the diagnostic in constructors but ISTM that
2558cp_parser_constructor_declarator_p shouldn't print errors.
2559
2560 DR 2237
2561 * parser.c (cp_parser_unqualified_id): Reject simple-template-id as
2562 the declarator-id of a destructor.
2563---
2564diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c
2565index a6a5d975af3..a8082d39aca 100644
2566--- a/gcc/cp/parser.c
2567+++ b/gcc/cp/parser.c
2568@@ -1 +1,2 @@
2569
2570+
deea3def
ML
2571
2572=== 0001-go-in-ignored-location.patch ===
2573From 81994eab700da7fea6644541c163aa0f0f3b8cf1 Mon Sep 17 00:00:00 2001
2574From: =?UTF-8?q?Cl=C3=A9ment=20Chigot?= <chigot.c@gmail.com>
2575Date: Tue, 19 May 2020 16:03:54 +0200
2576Subject: libgo: update x/sys/cpu after gccgo support added
2577
2578Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/234597
2579---
2580 gcc/go/gofrontend/MERGE | 2 +-
2581 .../sys/cpu/{cpu_aix_ppc64.go => cpu_aix.go} | 2 +-
2582 .../golang.org/x/sys/cpu/syscall_aix_gccgo.go | 27 +++++++++++++++++++
2583 3 files changed, 29 insertions(+), 2 deletions(-)
2584 rename libgo/go/golang.org/x/sys/cpu/{cpu_aix_ppc64.go => cpu_aix.go} (96%)
2585 create mode 100644 libgo/go/golang.org/x/sys/cpu/syscall_aix_gccgo.go
2586
2587diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE
2588index bc9c1f07eda..284374820b0 100644
2589--- a/gcc/go/gofrontend/MERGE
2590+++ b/gcc/go/gofrontend/MERGE
2591@@ -1 +1,2 @@
2592
2593+
2594diff --git a/libgo/go/golang.org/x/sys/cpu/cpu_aix_ppc64.go b/libgo/go/golang.org/x/sys/cpu/cpu_aix.go
2595similarity index 96%
2596rename from libgo/go/golang.org/x/sys/cpu/cpu_aix_ppc64.go
2597rename to libgo/go/golang.org/x/sys/cpu/cpu_aix.go
2598index b0ede112d4e..02d03129e50 100644
2599--- a/libgo/go/golang.org/x/sys/cpu/cpu_aix_ppc64.go
2600+++ b/libgo/go/golang.org/x/sys/cpu/cpu_aix.go
2601@@ -1 +1,2 @@
2602
2603+
2604diff --git a/libgo/go/golang.org/x/sys/cpu/syscall_aix_gccgo.go b/libgo/go/golang.org/x/sys/cpu/syscall_aix_gccgo.go
2605new file mode 100644
2606index 00000000000..2609cc49ae7
2607--- /dev/null
2608+++ b/libgo/go/golang.org/x/sys/cpu/syscall_aix_gccgo.go
2609@@ -0,0 +1 @@
2610+
2611
2612--
26132.27.0.rc0.183.gde8f92d652-goog
4945b4c2
ML
2614=== 0001-Update-merge.sh-to-reflect.patch ===
2615From b3d566f570f4416299240b51654b70c74f6cba6a Mon Sep 17 00:00:00 2001
2616From: Martin Liska <mliska@suse.cz>
2617Date: Mon, 25 May 2020 20:55:29 +0200
2618Subject: [PATCH] Update merge.sh to reflect usage of git.
2619
2620After switching to GIT, we should use it in libsanitizer
2621merge script. I'll do merge from master as soon as
2622PR95311 gets fixed.
2623
2624I'm going to install the patch.
2625
2626libsanitizer/ChangeLog:
2627
2628 * LOCAL_PATCHES: Use git hash instead of SVN id.
2629 * merge.sh: Use git instead of VCS. Update paths
2630 relative to upstream git repository.
2631---
2632 libsanitizer/LOCAL_PATCHES | 2 +-
2633 libsanitizer/merge.sh | 10 ++++------
2634 2 files changed, 5 insertions(+), 7 deletions(-)
2635
2636diff --git a/libsanitizer/LOCAL_PATCHES b/libsanitizer/LOCAL_PATCHES
2637index 292b7a6e489..7732de3d436 100644
2638--- a/libsanitizer/LOCAL_PATCHES
2639+++ b/libsanitizer/LOCAL_PATCHES
2640@@ -1 +1,2 @@
2641
2642+
2643diff --git a/libsanitizer/merge.sh b/libsanitizer/merge.sh
2644index dfa7bf3d196..3f4f1629a22 100755
2645--- a/libsanitizer/merge.sh
2646+++ b/libsanitizer/merge.sh
2647@@ -1 +1,2 @@
2648
2649+
2650
2651--
26522.26.2
2653