Skip to content

Commit cf261dd

Browse files
author
GCC Administrator
committed
Daily bump.
1 parent 81c2923 commit cf261dd

File tree

12 files changed

+1728
-1
lines changed

12 files changed

+1728
-1
lines changed

gcc/ChangeLog

Lines changed: 377 additions & 0 deletions
Large diffs are not rendered by default.

gcc/DATESTAMP

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20241120
1+
20241121

gcc/ada/ChangeLog

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
2024-11-20 Eric Botcazou <[email protected]>
2+
3+
PR ada/117538
4+
PR ada/117708
5+
* Makefile.rtl (GNU Hurd): Add $(TRASYM_DWARF_UNIX_PAIRS).
6+
(x86-64 kfreebsd): Likewise.
7+
(aarch64 FreeBSD): Likewise.
8+
(x86-64 DragonFly): Likewise.
9+
(S390 Linux): Likewise and add Linux version of s-tsmona.adb.
10+
(Mips Linux): Likewise.
11+
(SPARC Linux): Likewise.
12+
(HP/PA Linux): Linux.
13+
(M68K Linux): Likewise.
14+
(SH4 Linux): Likewise.
15+
(Alpha Linux): Likewise.
16+
(RISC-V Linux): Likewise.
17+
118
2024-11-19 Eric Botcazou <[email protected]>
219

320
PR ada/117538

gcc/c-family/ChangeLog

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
2024-11-20 Paul-Antoine Arras <[email protected]>
2+
3+
* c-attribs.cc (c_common_gnu_attributes): Add attribute for adjust_args
4+
need_device_ptr.
5+
* c-omp.cc (c_omp_directives): Uncomment dispatch.
6+
* c-pragma.cc (omp_pragmas): Add dispatch.
7+
* c-pragma.h (enum pragma_kind): Add PRAGMA_OMP_DISPATCH.
8+
(enum pragma_omp_clause): Add PRAGMA_OMP_CLAUSE_NOCONTEXT and
9+
PRAGMA_OMP_CLAUSE_NOVARIANTS.
10+
111
2024-11-19 Jakub Jelinek <[email protected]>
212

313
PR c/117641

gcc/c/ChangeLog

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
2024-11-20 Joseph Myers <[email protected]>
2+
3+
PR c/114266
4+
* c-decl.cc (build_compound_literal): Diagnose array of unknown
5+
size with empty initializer for C23.
6+
7+
2024-11-20 Paul-Antoine Arras <[email protected]>
8+
9+
* c-parser.cc (c_parser_omp_dispatch): New function.
10+
(c_parser_omp_clause_name): Handle nocontext and novariants clauses.
11+
(c_parser_omp_clause_novariants): New function.
12+
(c_parser_omp_clause_nocontext): Likewise.
13+
(c_parser_omp_all_clauses): Handle nocontext and novariants clauses.
14+
(c_parser_omp_dispatch_body): New function adapted from
15+
c_parser_expr_no_commas.
16+
(OMP_DISPATCH_CLAUSE_MASK): Define.
17+
(c_parser_omp_dispatch): New function.
18+
(c_finish_omp_declare_variant): Parse adjust_args.
19+
(c_parser_omp_construct): Handle PRAGMA_OMP_DISPATCH.
20+
* c-typeck.cc (c_finish_omp_clauses): Handle OMP_CLAUSE_NOVARIANTS and
21+
OMP_CLAUSE_NOCONTEXT.
22+
23+
2024-11-20 Joseph Myers <[email protected]>
24+
25+
PR c/115515
26+
* c-typeck.cc (check_constexpr_init): Do not call int_fits_type_p
27+
for arguments that are not integer constant expressions.
28+
129
2024-11-19 Joseph Myers <[email protected]>
230

331
PR c/114869

gcc/cp/ChangeLog

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,33 @@
1+
2024-11-20 Paul-Antoine Arras <[email protected]>
2+
3+
* decl.cc (omp_declare_variant_finalize_one): Set adjust_args
4+
need_device_ptr attribute.
5+
* parser.cc (cp_parser_direct_declarator): Update call to
6+
cp_parser_late_return_type_opt.
7+
(cp_parser_late_return_type_opt): Add 'tree parms' parameter. Update
8+
call to cp_parser_late_parsing_omp_declare_simd.
9+
(cp_parser_omp_clause_name): Handle nocontext and novariants clauses.
10+
(cp_parser_omp_clause_novariants): New function.
11+
(cp_parser_omp_clause_nocontext): Likewise.
12+
(cp_parser_omp_all_clauses): Handle PRAGMA_OMP_CLAUSE_NOVARIANTS and
13+
PRAGMA_OMP_CLAUSE_NOCONTEXT.
14+
(cp_parser_omp_dispatch_body): New function, inspired from
15+
cp_parser_assignment_expression and cp_parser_postfix_expression.
16+
(OMP_DISPATCH_CLAUSE_MASK): Define.
17+
(cp_parser_omp_dispatch): New function.
18+
(cp_finish_omp_declare_variant): Add parameter. Handle adjust_args
19+
clause.
20+
(cp_parser_late_parsing_omp_declare_simd): Add parameter. Update calls
21+
to cp_finish_omp_declare_variant and cp_finish_omp_declare_variant.
22+
(cp_parser_omp_construct): Handle PRAGMA_OMP_DISPATCH.
23+
(cp_parser_pragma): Likewise.
24+
* semantics.cc (finish_omp_clauses): Handle OMP_CLAUSE_NOCONTEXT and
25+
OMP_CLAUSE_NOVARIANTS.
26+
* pt.cc (tsubst_omp_clauses): Handle OMP_CLAUSE_NOCONTEXT and
27+
OMP_CLAUSE_NOVARIANTS.
28+
(tsubst_stmt): Handle OMP_DISPATCH.
29+
(tsubst_expr): Handle IFN_GOMP_DISPATCH.
30+
131
2024-11-19 Jason Merrill <[email protected]>
232

333
* decl2.cc (cp_handle_deprecated_or_unavailable): Avoid redundant

gcc/fortran/ChangeLog

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1+
2024-11-20 Harald Anlauf <[email protected]>
2+
3+
PR fortran/83135
4+
* expr.cc (sym_is_from_ancestor): New helper function.
5+
(gfc_check_vardef_context): Refine checking of PROTECTED attribute
6+
of symbols that are indirectly use-associated in a submodule.
7+
8+
2024-11-20 Paul-Antoine Arras <[email protected]>
9+
10+
* types.def (BT_FN_PTR_CONST_PTR_INT): Declare.
11+
12+
2024-11-20 Mikael Morin <[email protected]>
13+
14+
PR fortran/90608
15+
* trans-intrinsic.cc
16+
(walk_inline_intrinsic_minmaxloc): Add a scalar element for BACK as
17+
first item of the chain if BACK is present and there will be nested
18+
loops.
19+
(gfc_conv_intrinsic_minmaxloc): Evaluate BACK using an inherited
20+
scalarization chain if there is a nested loop.
21+
22+
2024-11-20 Mikael Morin <[email protected]>
23+
24+
* trans-intrinsic.cc (gfc_conv_intrinsic_minmaxloc): Only get the size
25+
along DIM instead of the full size if DIM is present.
26+
127
2024-11-19 Mikael Morin <[email protected]>
228

329
PR fortran/90608

gcc/jit/ChangeLog

Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,133 @@
1+
2024-11-20 Antoni Boucher <[email protected]>
2+
3+
* docs/topics/compatibility.rst (LIBGCCJIT_ABI_34): New ABI tag.
4+
* docs/topics/contexts.rst: Document gcc_jit_context_set_output_ident.
5+
* jit-playback.cc (set_output_ident): New method.
6+
* jit-playback.h (set_output_ident): New method.
7+
* jit-recording.cc (recording::context::set_output_ident,
8+
recording::output_ident::output_ident,
9+
recording::output_ident::~output_ident,
10+
recording::output_ident::replay_into,
11+
recording::output_ident::make_debug_string,
12+
recording::output_ident::write_reproducer): New methods.
13+
* jit-recording.h (class output_ident): New class.
14+
* libgccjit.cc (gcc_jit_context_set_output_ident): New function.
15+
* libgccjit.h (gcc_jit_context_set_output_ident): New function.
16+
* libgccjit.map: New function.
17+
18+
2024-01-18 Antoni Boucher <[email protected]>
19+
20+
* docs/topics/compatibility.rst (LIBGCCJIT_ABI_33): New ABI tag.
21+
* docs/topics/functions.rst: Document gcc_jit_function_new_temp.
22+
* jit-playback.cc (new_local): Add support for temporary
23+
variables.
24+
* jit-recording.cc (recording::function::new_temp): New method.
25+
(recording::local::write_reproducer): Support temporary
26+
variables.
27+
* jit-recording.h (new_temp): New method.
28+
* libgccjit.cc (gcc_jit_function_new_temp): New function.
29+
* libgccjit.h (gcc_jit_function_new_temp): New function.
30+
* libgccjit.map: New function.
31+
32+
2024-11-20 Antoni Boucher <[email protected]>
33+
34+
PR jit/108762
35+
* docs/topics/compatibility.rst (LIBGCCJIT_ABI_32): New ABI tag.
36+
* docs/topics/functions.rst: Add documentation for the function
37+
gcc_jit_context_get_target_builtin_function.
38+
* dummy-frontend.cc: Include headers target.h, jit-recording.h,
39+
print-tree.h, unordered_map and string, new variables (target_builtins,
40+
target_function_types, and target_builtins_ctxt), new function
41+
(tree_type_to_jit_type).
42+
* jit-builtins.cc: Specify that the function types are not from
43+
target builtins.
44+
* jit-playback.cc: New argument is_target_builtin to new_function.
45+
* jit-playback.h: New argument is_target_builtin to
46+
new_function.
47+
* jit-recording.cc: New argument is_target_builtin to
48+
new_function_type, function_type constructor and function
49+
constructor, new function
50+
(get_target_builtin_function).
51+
* jit-recording.h: Include headers string and unordered_map, new
52+
variable target_function_types, new argument is_target_builtin
53+
to new_function_type, function_type and function, new functions
54+
(get_target_builtin_function, copy).
55+
* libgccjit.cc: New function
56+
(gcc_jit_context_get_target_builtin_function).
57+
* libgccjit.h: New function
58+
(gcc_jit_context_get_target_builtin_function).
59+
* libgccjit.map: New functions
60+
(gcc_jit_context_get_target_builtin_function).
61+
62+
2024-11-20 Antoni Boucher <[email protected]>
63+
64+
* jit-common.h: Add forward declaration of memento_of_get_aligned.
65+
* jit-recording.h (type::is_same_type_as): Compare integer
66+
types.
67+
(dyn_cast_aligned_type): New method.
68+
(type::is_aligned, memento_of_get_aligned::is_same_type_as,
69+
memento_of_get_aligned::is_aligned): new methods.
70+
71+
2024-11-20 Antoni Boucher <[email protected]>
72+
73+
* docs/topics/contexts.rst: Add documentation for new option.
74+
* jit-recording.cc (recording::context::get_str_option): New
75+
method.
76+
* jit-recording.h (get_str_option): New method.
77+
* libgccjit.cc (gcc_jit_context_new_function): Allow special
78+
characters in function names.
79+
* libgccjit.h (enum gcc_jit_str_option): New option.
80+
81+
2024-11-20 Antoni Boucher <[email protected]>
82+
83+
PR jit/112602
84+
* docs/topics/compatibility.rst (LIBGCCJIT_ABI_31): New ABI tag.
85+
* docs/topics/expressions.rst: Document
86+
gcc_jit_context_new_rvalue_vector_perm and
87+
gcc_jit_context_new_vector_access.
88+
* jit-playback.cc (playback::context::new_rvalue_vector_perm,
89+
common_mark_addressable_vec,
90+
gnu_vector_type_p,
91+
lvalue_p,
92+
convert_vector_to_array_for_subscript,
93+
new_vector_access): new functions.
94+
* jit-playback.h (new_rvalue_vector_perm, new_vector_access):
95+
New functions.
96+
* jit-recording.cc (recording::context::new_rvalue_vector_perm,
97+
recording::context::new_vector_access,
98+
memento_of_new_rvalue_vector_perm,
99+
recording::memento_of_new_rvalue_vector_perm::replay_into,
100+
recording::memento_of_new_rvalue_vector_perm::visit_children,
101+
recording::memento_of_new_rvalue_vector_perm::make_debug_string,
102+
recording::memento_of_new_rvalue_vector_perm::write_reproducer,
103+
recording::vector_access::replay_into,
104+
recording::vector_access::visit_children,
105+
recording::vector_access::make_debug_string,
106+
recording::vector_access::write_reproducer): New methods.
107+
* jit-recording.h (class memento_of_new_rvalue_vector_perm,
108+
class vector_access): New classes.
109+
* libgccjit.cc (gcc_jit_context_new_vector_access,
110+
gcc_jit_context_new_rvalue_vector_perm): New functions.
111+
* libgccjit.h (gcc_jit_context_new_rvalue_vector_perm,
112+
gcc_jit_context_new_vector_access): New functions.
113+
* libgccjit.map: New functions.
114+
115+
2024-11-20 Antoni Boucher <[email protected]>
116+
117+
PR jit/113343
118+
* jit-playback.cc (new_rvalue_from_const): Fix to have the
119+
correct value when cross-compiling.
120+
121+
2024-11-20 Antoni Boucher <[email protected]>
122+
123+
* libgccjit.cc (RETURN_IF_FAIL_PRINTF3): New macro.
124+
(gcc_jit_block_add_assignment_op): Add numeric checks.
125+
126+
2024-11-20 Antoni Boucher <[email protected]>
127+
128+
* dummy-frontend.cc (jit_langhook_init): Send flag_signed_char
129+
argument to build_common_tree_nodes.
130+
1131
2024-11-04 Antoni Boucher <[email protected]>
2132

3133
* docs/topics/compatibility.rst (LIBGCCJIT_ABI_30): New ABI tag.

0 commit comments

Comments
 (0)