Skip to content

Commit cdfaa4a

Browse files
author
GCC Administrator
committed
Daily bump.
1 parent ec2ec24 commit cdfaa4a

File tree

9 files changed

+393
-1
lines changed

9 files changed

+393
-1
lines changed

contrib/ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2023-12-21 Alexandre Oliva <oliva@adacore.com>
2+
3+
* compare_tests: Add tool to test lines. Match tabs besides
4+
blanks to insert tool and target. Don't print undefined fname.
5+
16
2023-12-20 Jason Merrill <jason@redhat.com>
27

38
* gcc-git-customization.sh: Add git gcc-style alias.

gcc/ChangeLog

Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,144 @@
1+
2023-12-21 Andrew Pinski <quic_apinski@quicinc.com>
2+
3+
PR middle-end/112951
4+
* doc/md.texi (cond_copysign): Document.
5+
(cond_len_copysign): Likewise.
6+
* optabs.def: Reorder cond_copysign to be before
7+
cond_fmin. Likewise for cond_len_copysign.
8+
9+
2023-12-21 Andre Vieira (lists) <andre.simoesdiasvieira@arm.com>
10+
11+
PR middle-end/113040
12+
* omp-simd-clone.cc (simd_clone_adjust_argument_types): Add multiple
13+
vector arguments where simdlen is larger than veclen.
14+
15+
2023-12-21 Uros Bizjak <ubizjak@gmail.com>
16+
17+
PR target/113044
18+
* config/i386/i386.md (*ashlqi_ext<mode>_1): Move from the
19+
high register of the input operand.
20+
(*<insn>qi_ext<mode>_1): Ditto.
21+
22+
2023-12-21 Vladimir N. Makarov <vmakarov@redhat.com>
23+
24+
Revert:
25+
2023-12-18 Vladimir N. Makarov <vmakarov@redhat.com>
26+
27+
PR rtl-optimization/112918
28+
* lra-constraints.cc (SMALL_REGISTER_CLASS_P): Move before in_class_p.
29+
(in_class_p): Restrict condition for narrowing class in case of
30+
allow_all_reload_class_changes_p.
31+
(process_alt_operands): Pass true for
32+
allow_all_reload_class_changes_p in calls of in_class_p.
33+
(curr_insn_transform): Ditto for reg operand win.
34+
35+
2023-12-21 Julian Brown <julian@codesourcery.com>
36+
37+
* gimplify.cc (omp_segregate_mapping_groups): Handle "present" groups.
38+
(gimplify_scan_omp_clauses): Use mapping group functionality to
39+
iterate through mapping nodes. Remove most gimplification of
40+
OMP_CLAUSE_MAP nodes from here, but still populate ctx->variables
41+
splay tree.
42+
(gimplify_adjust_omp_clauses): Move most gimplification of
43+
OMP_CLAUSE_MAP nodes here.
44+
45+
2023-12-21 Alex Coplan <alex.coplan@arm.com>
46+
47+
PR target/113093
48+
* config/aarch64/aarch64-ldp-fusion.cc (latest_hazard_before):
49+
If the insn is throwing, record the previous insn as a hazard to
50+
prevent moving it from the end of the BB.
51+
52+
2023-12-21 Jakub Jelinek <jakub@redhat.com>
53+
54+
* gimple-fold.cc (maybe_fold_comparisons_from_match_pd):
55+
Use unsigned char buffers for lhs1 and lhs2 instead of allocating
56+
them through XALLOCA.
57+
* collect2.cc (maybe_run_lto_and_relink): Swap xcalloc arguments.
58+
59+
2023-12-21 Richard Sandiford <richard.sandiford@arm.com>
60+
61+
PR target/113094
62+
* config/aarch64/aarch64-early-ra.cc (apply_allocation): Stub
63+
out instructions that are going to be deleted before iterating
64+
over the rest.
65+
66+
2023-12-21 Richard Sandiford <richard.sandiford@arm.com>
67+
68+
PR target/112948
69+
* config/aarch64/aarch64-early-ra.cc (find_strided_accesses): Fix
70+
cut-&-pasto.
71+
72+
2023-12-21 Jakub Jelinek <jakub@redhat.com>
73+
74+
PR tree-optimization/112941
75+
* gimple-lower-bitint.cc (gimple_lower_bitint): Disallow merging
76+
a cast with multiplication, division or conversion to floating point
77+
if rhs1 of the cast is result of another single use cast in the same
78+
bb.
79+
80+
2023-12-21 chenxiaolong <chenxiaolong@loongson.cn>
81+
82+
* doc/extend.texi:According to the documents submitted earlier,
83+
Two problems with function return types and using the actual types
84+
of parameters instead of variable names were found and fixed.
85+
86+
2023-12-21 Jiajie Chen <c@jia.je>
87+
88+
* doc/extend.texi(__lsx_vabsd_di): remove extra `i' in name.
89+
(__lsx_vfrintrm_d, __lsx_vfrintrm_s, __lsx_vfrintrne_d,
90+
__lsx_vfrintrne_s, __lsx_vfrintrp_d, __lsx_vfrintrp_s, __lsx_vfrintrz_d,
91+
__lsx_vfrintrz_s): fix return types.
92+
(__lsx_vld, __lsx_vldi, __lsx_vldrepl_b, __lsx_vldrepl_d,
93+
__lsx_vldrepl_h, __lsx_vldrepl_w, __lsx_vmaxi_b, __lsx_vmaxi_d,
94+
__lsx_vmaxi_h, __lsx_vmaxi_w, __lsx_vmini_b, __lsx_vmini_d,
95+
__lsx_vmini_h, __lsx_vmini_w, __lsx_vsrani_d_q, __lsx_vsrarni_d_q,
96+
__lsx_vsrlni_d_q, __lsx_vsrlrni_d_q, __lsx_vssrani_d_q,
97+
__lsx_vssrarni_d_q, __lsx_vssrarni_du_q, __lsx_vssrlni_d_q,
98+
__lsx_vssrlrni_du_q, __lsx_vst, __lsx_vstx, __lsx_vssrani_du_q,
99+
__lsx_vssrlni_du_q, __lsx_vssrlrni_d_q): add missing semicolon.
100+
(__lsx_vpickve2gr_bu, __lsx_vpickve2gr_hu): fix typo in return
101+
type.
102+
(__lsx_vstelm_b, __lsx_vstelm_d, __lsx_vstelm_h,
103+
__lsx_vstelm_w): use imm type for the last argument.
104+
(__lsx_vsigncov_b, __lsx_vsigncov_h, __lsx_vsigncov_w,
105+
__lsx_vsigncov_d): remove duplicate definitions.
106+
107+
2023-12-21 Jiahao Xu <xujiahao@loongson.cn>
108+
109+
* config/loongarch/lasx.md: Use zero expansion instruction.
110+
* config/loongarch/lsx.md: Ditto.
111+
112+
2023-12-21 Alexandre Oliva <oliva@adacore.com>
113+
114+
PR target/112778
115+
* builtins.cc (try_store_by_multiple_pieces): Drop obsolete
116+
comment.
117+
118+
2023-12-21 Kewen Lin <linkw@linux.ibm.com>
119+
120+
PR rtl-optimization/112995
121+
* sel-sched.cc (try_replace_dest_reg): Check the validity of the
122+
replaced insn before actually replacing dest in expr.
123+
124+
2023-12-21 Kewen Lin <linkw@linux.ibm.com>
125+
126+
* dbgcnt.def (sched_block): Remove.
127+
* sched-rgn.cc (schedule_region): Remove the support of debug count
128+
sched_block.
129+
130+
2023-12-21 Jason Merrill <jason@redhat.com>
131+
132+
PR c++/37722
133+
* doc/extend.texi: Document that computed goto does not
134+
call destructors.
135+
136+
2023-12-21 Jason Merrill <jason@redhat.com>
137+
138+
PR c++/106213
139+
* opts-common.cc (control_warning_option): Call
140+
handle_generated_option for all cl_var_types.
141+
1142
2023-12-20 Juzhe-Zhong <juzhe.zhong@rivai.ai>
2143

3144
PR target/113087

gcc/DATESTAMP

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20231221
1+
20231222

gcc/c-family/ChangeLog

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
2023-12-21 Jakub Jelinek <jakub@redhat.com>
2+
3+
* c.opt (Walloc-size): Enable also for C++ and ObjC++.
4+
5+
2023-12-21 Jakub Jelinek <jakub@redhat.com>
6+
7+
PR sanitizer/113092
8+
* c-ubsan.cc (ubsan_instrument_shift): Workaround for missing
9+
ubsan _BitInt support for the shift count.
10+
111
2023-12-20 Florian Weimer <fweimer@redhat.com>
212

313
PR c/113050

gcc/c/ChangeLog

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,44 @@
1+
2023-12-21 Martin Uecker <uecker@tugraz.at>
2+
3+
* c-decl.cc (c_struct_hasher): Hash stable for struct
4+
types.
5+
(c_struct_hasher::hash, c_struct_hasher::equal): New
6+
functions.
7+
(finish_struct): Set TYPE_CANONICAL to first struct in
8+
equivalence class.
9+
* c-objc-common.cc (c_get_alias_set): Let structs or
10+
unions with variable size alias anything.
11+
* c-tree.h (comptypes_equiv): New prototype.
12+
* c-typeck.cc (comptypes_equiv): New function.
13+
(comptypes_internal): Implement equivalence mode.
14+
(tagged_types_tu_compatible): Implement equivalence mode.
15+
16+
2023-12-21 Martin Uecker <uecker@tugraz.at>
17+
18+
* c-tree.h (c_parser_enum_specifier): Add parameter.
19+
* c-decl.cc (start_enum): Allow redefinition.
20+
(finish_enum): Diagnose conflicts.
21+
(build_enumerator): Set context.
22+
(diagnose_mismatched_decls): Diagnose conflicting enumerators.
23+
(push_decl): Preserve context for enumerators.
24+
* c-typeck.cc (tagged_types_tu_compatible_p): Adapt.
25+
* c-parser.cc (c_parser_enum_specifier): Remember when
26+
seen is from an enum type which is not yet defined.
27+
28+
2023-12-21 Martin Uecker <uecker@tugraz.at>
29+
30+
* c-decl.cc (previous_tag): New function.
31+
(parser_xref_tag): Find earlier definition.
32+
(get_parm_info): Turn off warning for C23.
33+
(start_struct): Allow redefinitons.
34+
(finish_struct): Diagnose conflicts.
35+
* c-tree.h (comptypes_same_p): Add prototype.
36+
* c-typeck.cc (comptypes_same_p): New function.
37+
(comptypes_internal): Activate comparison of tagged types.
38+
(convert_for_assignment): Ignore qualifiers.
39+
(digest_init): Add error.
40+
(initialized_elementwise_p): Allow compatible types.
41+
142
2023-12-20 Jakub Jelinek <jakub@redhat.com>
243

344
* c-parser.cc (c_parser_postfix_expression_after_primary): Grow

gcc/cp/ChangeLog

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,52 @@
1+
2023-12-21 Patrick Palka <ppalka@redhat.com>
2+
3+
* cp-tree.h (maybe_warn_unparenthesized_assignment): Add
4+
'nested_p' bool parameter.
5+
* semantics.cc (boolish_class_type_p_cache): Define.
6+
(boolish_class_type_p): Define.
7+
(maybe_warn_unparenthesized_assignment): Add 'nested_p'
8+
bool parameter. Suppress the warning for nested assignments
9+
to bool and bool-like class types.
10+
(maybe_convert_cond): Pass nested_p=false to
11+
maybe_warn_unparenthesized_assignment.
12+
* typeck.cc (convert_for_assignment): Pass nested_p=true to
13+
maybe_warn_unparenthesized_assignment. Remove now redundant
14+
check for 'rhs' having bool type.
15+
16+
2023-12-21 Patrick Palka <ppalka@redhat.com>
17+
18+
PR c++/84542
19+
* decl.cc (merge_attribute_bits): Merge TREE_DEPRECATED
20+
and TREE_UNAVAILABLE.
21+
22+
2023-12-21 Patrick Palka <ppalka@redhat.com>
23+
24+
PR c++/70413
25+
PR c++/107906
26+
* decl2.cc (min_vis_expr_r): Handle PTRMEM_CST and TEMPLATE_DECL
27+
other than those for alias templates.
28+
29+
2023-12-21 Jakub Jelinek <jakub@redhat.com>
30+
31+
* cp-gimplify.cc (cp_genericize_r): If warn_alloc_size, call
32+
warn_for_alloc_size for -Walloc-size diagnostics.
33+
* semantics.cc (finish_call_expr): If warn_calloc_transposed_args,
34+
call warn_for_calloc for -Wcalloc-transposed-args diagnostics.
35+
36+
2023-12-21 Jason Merrill <jason@redhat.com>
37+
38+
PR c++/37722
39+
* decl.cc (identify_goto): Adjust for computed goto.
40+
(struct named_label_use_entry): Add computed_goto field.
41+
(poplevel_named_label_1): Add to computed_goto vec.
42+
(check_previous_goto_1): Dump computed_goto vec.
43+
(check_goto_1): Split out from check_goto.
44+
(check_goto): Check all addressable labels for computed goto.
45+
(struct named_label_entry): Add addressed field.
46+
(mark_label_addressed): New.
47+
* parser.cc (cp_parser_unary_expression): Call it.
48+
* cp-tree.h (mark_label_addressed): Declare it.
49+
150
2023-12-20 Jason Merrill <jason@redhat.com>
251

352
PR c++/113088

gcc/testsuite/ChangeLog

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,122 @@
1+
2023-12-21 Patrick Palka <ppalka@redhat.com>
2+
3+
* g++.dg/warn/Wparentheses-34.C: New test.
4+
5+
2023-12-21 Patrick Palka <ppalka@redhat.com>
6+
7+
PR c++/84542
8+
* g++.dg/ext/attr-deprecated-2.C: No longer XFAIL.
9+
* g++.dg/ext/attr-unavailable-12.C: New test.
10+
11+
2023-12-21 Patrick Palka <ppalka@redhat.com>
12+
13+
PR c++/70413
14+
PR c++/107906
15+
* g++.dg/template/linkage2.C: New test.
16+
* g++.dg/template/linkage3.C: New test.
17+
* g++.dg/template/linkage4.C: New test.
18+
* g++.dg/template/linkage4a.C: New test.
19+
20+
2023-12-21 Uros Bizjak <ubizjak@gmail.com>
21+
22+
PR target/113044
23+
* gcc.target/i386/pr113044.c: New test.
24+
25+
2023-12-21 Alex Coplan <alex.coplan@arm.com>
26+
27+
PR target/113093
28+
* gcc.dg/pr113093.c: New test.
29+
30+
2023-12-21 Juzhe-Zhong <juzhe.zhong@rivai.ai>
31+
32+
* gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul2-7.c: New test.
33+
34+
2023-12-21 Richard Sandiford <richard.sandiford@arm.com>
35+
36+
PR target/113094
37+
* gcc.target/aarch64/pr113094.c: New test.
38+
39+
2023-12-21 Jakub Jelinek <jakub@redhat.com>
40+
41+
* g++.dg/warn/Walloc-size-1.C: New test.
42+
* g++.dg/warn/Wcalloc-transposed-args-1.C: New test.
43+
44+
2023-12-21 Jakub Jelinek <jakub@redhat.com>
45+
46+
PR sanitizer/113092
47+
* gcc.dg/ubsan/bitint-4.c: New test.
48+
49+
2023-12-21 Jakub Jelinek <jakub@redhat.com>
50+
51+
PR tree-optimization/112941
52+
* gcc.dg/bitint-56.c: New test.
53+
* gcc.dg/bitint-57.c: New test.
54+
55+
2023-12-21 chenxiaolong <chenxiaolong@loongson.cn>
56+
57+
* gcc.target/loongarch/vector/simd_correctness_check.h:The variable
58+
types in the check results are modified in conjunction with the
59+
parameter types defined in the vector builtin function.
60+
61+
2023-12-21 Martin Uecker <uecker@tugraz.at>
62+
63+
* gcc.dg/c23-tag-2.c: Activate.
64+
* gcc.dg/c23-tag-5.c: Activate.
65+
* gcc.dg/c23-tag-alias-1.c: New test.
66+
* gcc.dg/c23-tag-alias-2.c: New test.
67+
* gcc.dg/c23-tag-alias-3.c: New test.
68+
* gcc.dg/c23-tag-alias-4.c: New test.
69+
* gcc.dg/c23-tag-alias-5.c: New test.
70+
* gcc.dg/gnu23-tag-alias-1.c: New test.
71+
* gcc.dg/gnu23-tag-alias-2.c: New test.
72+
* gcc.dg/gnu23-tag-alias-3.c: New test.
73+
* gcc.dg/gnu23-tag-alias-4.c: New test.
74+
* gcc.dg/gnu23-tag-alias-5.c: New test.
75+
* gcc.dg/gnu23-tag-alias-6.c: New test.
76+
* gcc.dg/gnu23-tag-alias-7.c: New test.
77+
78+
2023-12-21 Martin Uecker <uecker@tugraz.at>
79+
80+
* gcc.dg/c23-tag-enum-1.c: New test.
81+
* gcc.dg/c23-tag-enum-2.c: New test.
82+
* gcc.dg/c23-tag-enum-3.c: New test.
83+
* gcc.dg/c23-tag-enum-4.c: New test.
84+
* gcc.dg/c23-tag-enum-5.c: New test.
85+
* gcc.dg/gnu23-tag-enum-1.c: Mew test.
86+
87+
2023-12-21 Martin Uecker <uecker@tugraz.at>
88+
89+
* gcc.dg/c23-enum-7.c: Remove warning.
90+
* gcc.dg/c23-tag-1.c: New test.
91+
* gcc.dg/c23-tag-2.c: New deactivated test.
92+
* gcc.dg/c23-tag-3.c: New test.
93+
* gcc.dg/c23-tag-4.c: New test.
94+
* gcc.dg/c23-tag-5.c: New deactivated test.
95+
* gcc.dg/c23-tag-6.c: New test.
96+
* gcc.dg/c23-tag-7.c: New test.
97+
* gcc.dg/c23-tag-8.c: New test.
98+
* gcc.dg/gnu23-tag-1.c: New test.
99+
* gcc.dg/gnu23-tag-2.c: New test.
100+
* gcc.dg/gnu23-tag-3.c: New test.
101+
* gcc.dg/gnu23-tag-4.c: New test.
102+
* gcc.dg/pr112488-2.c: Remove warning.
103+
104+
2023-12-21 Kewen Lin <linkw@linux.ibm.com>
105+
106+
PR rtl-optimization/112995
107+
* gcc.target/powerpc/pr112995.c: New test.
108+
109+
2023-12-21 Jason Merrill <jason@redhat.com>
110+
111+
PR c++/37722
112+
* g++.dg/ext/label15.C: New test.
113+
* g++.dg/torture/pr42739.C: Expect warning.
114+
115+
2023-12-21 Jason Merrill <jason@redhat.com>
116+
117+
PR c++/106213
118+
* g++.dg/cpp0x/depr-copy5.C: New test.
119+
1120
2023-12-20 Juzhe-Zhong <juzhe.zhong@rivai.ai>
2121

3122
PR target/113087

libgomp/ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2023-12-21 Julian Brown <julian@codesourcery.com>
2+
3+
* testsuite/libgomp.fortran/target-enter-data-6.f90: Remove XFAIL.
4+
15
2023-12-20 Julian Brown <julian@codesourcery.com>
26

37
* plugin/plugin-nvptx.c (GOMP_OFFLOAD_memcpy2d): Adjust parameters to

0 commit comments

Comments
 (0)