Skip to content

Commit 600f90c

Browse files
author
GCC Administrator
committed
Daily bump.
1 parent 621ea10 commit 600f90c

File tree

9 files changed

+366
-1
lines changed

9 files changed

+366
-1
lines changed

gcc/ChangeLog

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,81 @@
1+
2021-06-04 Tobias Burnus <[email protected]>
2+
3+
PR middle-end/100905
4+
* tree-nested.c (convert_nonlocal_omp_clauses,
5+
convert_local_omp_clauses): Handle OMP_CLAUSE_BIND.
6+
7+
2021-06-04 Martin Sebor <[email protected]>
8+
9+
PR middle-end/100732
10+
* gimple-fold.c (gimple_fold_builtin_sprintf): Avoid folding calls
11+
with either source or destination argument of invalid type.
12+
* tree-ssa-uninit.c (maybe_warn_pass_by_reference): Avoid checking
13+
calls with arguments of invalid type.
14+
15+
2021-06-04 Martin Sebor <[email protected]>
16+
17+
* attribs.c (init_attr_rdwr_indices): Use VLA bounds in the expected
18+
order.
19+
(attr_access::vla_bounds): Also handle VLA bounds.
20+
21+
2021-06-04 Uroš Bizjak <[email protected]>
22+
23+
* config/i386/predicates.md (GOT_memory_operand):
24+
Implement using match_code RTXes.
25+
(GOT32_symbol_operand): Ditto.
26+
27+
2021-06-04 Uroš Bizjak <[email protected]>
28+
29+
PR target/100637
30+
* config/i386/i386-expand.c (ix86_expand_vector_init_duplicate):
31+
Handle V2HI mode.
32+
(ix86_expand_vector_init_general): Ditto.
33+
Use SImode instead of word_mode for logic operations
34+
when GET_MODE_SIZE (mode) < UNITS_PER_WORD.
35+
(expand_vec_perm_even_odd_1): Assert that V2HI mode should be
36+
implemented by expand_vec_perm_1.
37+
(expand_vec_perm_broadcast_1): Assert that V2HI and V4HI modes
38+
should be implemented using standard shuffle patterns.
39+
(ix86_vectorize_vec_perm_const): Handle V2HImode. Add V4HI and
40+
V2HI modes to modes, implementable with shuffle for one operand.
41+
* config/i386/mmx.md (*punpckwd): New insn_and_split pattern.
42+
(*pshufw_1): New insn pattern.
43+
(*vec_dupv2hi): Ditto.
44+
(vec_initv2hihi): New expander.
45+
46+
2021-06-04 Kewen Lin <[email protected]>
47+
48+
* config/arm/vfp.md (no_literal_pool_df_immediate,
49+
no_literal_pool_sf_immediate): Fix empty split condition.
50+
51+
2021-06-04 Kewen Lin <[email protected]>
52+
53+
* config/i386/i386.md (*load_tp_x32_zext, *add_tp_x32_zext,
54+
*tls_dynamic_gnu2_combine_32): Fix empty split condition.
55+
* config/i386/sse.md (*<sse2_avx2>_pmovmskb_lt,
56+
*<sse2_avx2>_pmovmskb_zext_lt, *sse2_pmovmskb_ext_lt,
57+
*<sse4_1_avx2>_pblendvb_lt): Likewise.
58+
59+
2021-06-04 Jakub Jelinek <[email protected]>
60+
61+
PR target/100887
62+
* config/i386/i386-expand.c (ix86_expand_vector_init): Handle
63+
concatenation from half-sized modes with TImode elements.
64+
65+
2021-06-04 Claudiu Zissulescu <[email protected]>
66+
67+
* config/arc/arc.c (arc_override_options): Disable millicode
68+
thunks when RF16 is on.
69+
70+
2021-06-04 Haochen Gui <[email protected]>
71+
72+
* config/rs6000/rs6000.h (PROMOTE_MODE): Remove.
73+
74+
2021-06-04 Haochen Gui <[email protected]>
75+
76+
* config/rs6000/rs6000-call.c (rs6000_promote_function_mode):
77+
Replace PROMOTE_MODE marco with its content.
78+
179
2021-06-03 Kewen Lin <[email protected]>
280

381
* config/cris/cris.md (*addi_reload): Fix empty split condition.

gcc/DATESTAMP

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20210604
1+
20210605

gcc/c-family/ChangeLog

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
2021-06-04 Martin Sebor <[email protected]>
2+
3+
PR c/100783
4+
* c-attribs.c (positional_argument): Bail on erroneous types.
5+
6+
2021-06-04 Martin Sebor <[email protected]>
7+
8+
* c-warn.c (warn_parm_array_mismatch): Check TREE_PURPOSE to test
9+
for element presence.
10+
111
2021-06-03 Eric Botcazou <[email protected]>
212

313
* c-ada-spec.c (dump_ada_macros): Minor tweaks.

gcc/c/ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2021-06-04 Martin Sebor <[email protected]>
2+
3+
PR c/100783
4+
* c-objc-common.c (print_type): Handle erroneous types.
5+
16
2021-06-03 Jakub Jelinek <[email protected]>
27

38
PR c++/100859

gcc/cp/ChangeLog

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
2021-06-04 Patrick Palka <[email protected]>
2+
3+
PR c++/100893
4+
* pt.c (convert_template_argument): Strip top-level cv-quals
5+
on the substituted type of a non-type template parameter.
6+
7+
2021-06-04 Patrick Palka <[email protected]>
8+
9+
PR c++/100102
10+
* pt.c (tsubst_function_decl): Remove old code for reducing
11+
args when it has excess levels.
12+
13+
2021-06-04 Jakub Jelinek <[email protected]>
14+
15+
PR c++/100872
16+
* name-lookup.c (maybe_save_operator_binding): Add op_attr after all
17+
ATTR_IS_DEPENDENT attributes in the DECL_ATTRIBUTES list rather than
18+
to the start.
19+
120
2021-06-03 Patrick Palka <[email protected]>
221

322
PR c++/100592

gcc/d/ChangeLog

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
2021-06-04 Iain Buclaw <[email protected]>
2+
3+
PR d/100882
4+
* d-codegen.cc (build_assign): Construct initializations inside
5+
TARGET_EXPR_INITIAL.
6+
(compound_expr): Remove intermediate expressions that have no
7+
side-effects.
8+
(return_expr): Construct returns inside TARGET_EXPR_INITIAL.
9+
* expr.cc (ExprVisitor::visit (CallExp *)): Remove useless assignment
10+
to TARGET_EXPR_SLOT.
11+
112
2021-05-18 Iain Buclaw <[email protected]>
213

314
* d-incpath.cc (prefixed_path): Use filename_ncmp instead of strncmp.

gcc/fortran/ChangeLog

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,62 @@
1+
2021-06-04 Harald Anlauf <[email protected]>
2+
3+
PR fortran/99839
4+
* frontend-passes.c (inline_matmul_assign): Do not inline matmul
5+
if the assignment to the resulting array if it is not of canonical
6+
type (real/integer/complex/logical).
7+
8+
2021-06-04 Tobias Burnus <[email protected]>
9+
10+
* dump-parse-tree.c (show_code_node): Handle
11+
EXEC_OMP_(TARGET_)(,PARALLEL_,TEAMS_)LOOP.
12+
13+
2021-06-04 Tobias Burnus <[email protected]>
14+
15+
* scanner.c (skip_fixed_omp_sentinel): Set openacc_flag if
16+
this is not an (OpenMP) continuation line.
17+
(skip_fixed_oacc_sentinel): Likewise for openmp_flag and OpenACC.
18+
(gfc_next_char_literal): gfc_error_now to force error for mixed OMP/ACC
19+
continuation once per location and return '\n'.
20+
21+
2021-06-04 Tobias Burnus <[email protected]>
22+
23+
PR middle-end/99928
24+
* openmp.c (gfc_match_omp_clauses): Fix typo in error message.
25+
26+
2021-06-04 Tobias Burnus <[email protected]>
27+
28+
PR middle-end/99928
29+
* dump-parse-tree.c (show_omp_clauses): Handle bind clause.
30+
(show_omp_node): Handle loop directive.
31+
* frontend-passes.c (gfc_code_walker): Likewise.
32+
* gfortran.h (enum gfc_statement): Add
33+
ST_OMP_(END_)(TARGET_)(|PARALLEL_|TEAMS_)LOOP.
34+
(enum gfc_omp_bind_type): New.
35+
(gfc_omp_clauses): Use it.
36+
(enum gfc_exec_op): Add EXEC_OMP_(TARGET_)(|PARALLEL_|TEAMS_)LOOP.
37+
* match.h (gfc_match_omp_loop, gfc_match_omp_parallel_loop,
38+
gfc_match_omp_target_parallel_loop, gfc_match_omp_target_teams_loop,
39+
gfc_match_omp_teams_loop): New.
40+
* openmp.c (enum omp_mask1): Add OMP_CLAUSE_BIND.
41+
(gfc_match_omp_clauses): Handle it.
42+
(OMP_LOOP_CLAUSES, gfc_match_omp_loop, gfc_match_omp_teams_loop,
43+
gfc_match_omp_target_teams_loop, gfc_match_omp_parallel_loop,
44+
gfc_match_omp_target_parallel_loop): New.
45+
(resolve_omp_clauses, resolve_omp_do, omp_code_to_statement,
46+
gfc_resolve_omp_directive): Handle omp loop.
47+
* parse.c (decode_omp_directive case_exec_markers, gfc_ascii_statement,
48+
parse_omp_do, parse_executable): Likewise.
49+
(parse_omp_structured_block): Remove ST_ which use parse_omp_do.
50+
* resolve.c (gfc_resolve_blocks): Add omp loop.
51+
* st.c (gfc_free_statement): Likewise.
52+
* trans-openmp.c (gfc_trans_omp_clauses): Handle bind clause.
53+
(gfc_trans_omp_do, gfc_trans_omp_parallel_do, gfc_trans_omp_distribute,
54+
gfc_trans_omp_teams, gfc_trans_omp_target, gfc_trans_omp_directive):
55+
Handle loop directive.
56+
(gfc_split_omp_clauses): Likewise; fix firstprivate/lastprivate
57+
and (in_)reduction for taskloop.
58+
* trans.c (trans_code): Handle omp loop directive.
59+
160
2021-06-01 Tobias Burnus <[email protected]>
261

362
PR middle-end/99928

gcc/testsuite/ChangeLog

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,121 @@
1+
2021-06-04 Tobias Burnus <[email protected]>
2+
3+
PR middle-end/100905
4+
* gfortran.dg/gomp/loop-3.f90: New test.
5+
6+
2021-06-04 Iain Buclaw <[email protected]>
7+
8+
PR d/100882
9+
* gdc.dg/pr100882a.d: New test.
10+
* gdc.dg/pr100882b.d: New test.
11+
* gdc.dg/pr100882c.d: New test.
12+
* gdc.dg/torture/pr100882.d: New test.
13+
14+
2021-06-04 Patrick Palka <[email protected]>
15+
16+
PR c++/100893
17+
* g++.dg/template/param4.C: New test.
18+
* g++.dg/template/param5.C: New test.
19+
* g++.dg/cpp1z/nontype-auto19.C: New test.
20+
* g++.dg/cpp2a/concepts-decltype.C: Don't expect that the
21+
deduced type of a decltype(auto) NTTP has top-level cv-quals.
22+
23+
2021-06-04 Patrick Palka <[email protected]>
24+
25+
PR c++/100102
26+
* g++.dg/cpp0x/alias-decl-72.C: New test.
27+
* g++.dg/cpp0x/alias-decl-72a.C: New test.
28+
29+
2021-06-04 Harald Anlauf <[email protected]>
30+
31+
PR fortran/99839
32+
* gfortran.dg/inline_matmul_25.f90: New test.
33+
34+
2021-06-04 Martin Sebor <[email protected]>
35+
36+
PR c/100783
37+
* gcc.dg/nonnull-6.c: New test.
38+
39+
2021-06-04 Martin Sebor <[email protected]>
40+
41+
PR middle-end/100732
42+
* gcc.dg/tree-ssa/builtin-snprintf-11.c: New test.
43+
* gcc.dg/tree-ssa/builtin-snprintf-12.c: New test.
44+
* gcc.dg/tree-ssa/builtin-sprintf-28.c: New test.
45+
* gcc.dg/tree-ssa/builtin-sprintf-29.c: New test.
46+
* gcc.dg/uninit-pr100732.c: New test.
47+
48+
2021-06-04 Martin Sebor <[email protected]>
49+
50+
* gcc.dg/Wvla-parameter-10.c: New test.
51+
* gcc.dg/Wvla-parameter-11.c: New test.
52+
53+
2021-06-04 Tobias Burnus <[email protected]>
54+
55+
* gfortran.dg/goacc/omp-fixed.f: Re-add test item changed in previous
56+
commit in addition - add more dg-errors and '... end ...' due to changed
57+
parsing.
58+
* gfortran.dg/goacc/omp.f95: Likewise.
59+
* gfortran.dg/goacc-gomp/mixed-1.f: New test.
60+
61+
2021-06-04 Uroš Bizjak <[email protected]>
62+
63+
PR target/100637
64+
* gcc.dg/vect/slp-perm-9.c (dg-final): Adjust dumps for vect32 targets.
65+
66+
2021-06-04 Tobias Burnus <[email protected]>
67+
68+
* gfortran.dg/gomp/pr99928-5.f90: Really use the
69+
proper iteration variable.
70+
71+
2021-06-04 Tobias Burnus <[email protected]>
72+
73+
* gfortran.dg/gomp/pr99928-1.f90: Add 'implicit none'.
74+
* gfortran.dg/gomp/pr99928-11.f90: Likewise.
75+
* gfortran.dg/gomp/pr99928-4.f90: Likewise.
76+
* gfortran.dg/gomp/pr99928-6.f90: Likewise.
77+
* gfortran.dg/gomp/pr99928-8.f90: Likewise.
78+
* gfortran.dg/gomp/pr99928-2.f90: Likewise. Add missing decl.
79+
* gfortran.dg/gomp/pr99928-5.f90: Add implicit none;
80+
fix loop-variable and remove xfail.
81+
82+
2021-06-04 Tobias Burnus <[email protected]>
83+
84+
PR middle-end/99928
85+
* gfortran.dg/gomp/loop-2.f90: Update for typo fix.
86+
87+
2021-06-04 Tobias Burnus <[email protected]>
88+
89+
PR middle-end/99928
90+
* gfortran.dg/gomp/pr99928-3.f90: Add 'default(none)', following
91+
C/C++ version of the patch.
92+
* gfortran.dg/gomp/loop-1.f90: New test.
93+
* gfortran.dg/gomp/loop-2.f90: New test.
94+
* gfortran.dg/gomp/pr99928-1.f90: New test; based on C/C++ test.
95+
* gfortran.dg/gomp/pr99928-11.f90: Likewise.
96+
* gfortran.dg/gomp/pr99928-2.f90: Likewise.
97+
* gfortran.dg/gomp/pr99928-4.f90: Likewise.
98+
* gfortran.dg/gomp/pr99928-5.f90: Likewise.
99+
* gfortran.dg/gomp/pr99928-6.f90: Likewise.
100+
* gfortran.dg/gomp/pr99928-8.f90: Likewise.
101+
* gfortran.dg/goacc/omp.f95: Use 'acc kernels loops' instead
102+
of 'acc loops' to hide unrelated bug for now.
103+
* gfortran.dg/goacc/omp-fixed.f: Likewise
104+
105+
2021-06-04 Jakub Jelinek <[email protected]>
106+
107+
PR target/100887
108+
* gcc.target/i386/pr100887.c: New test.
109+
110+
2021-06-04 Jakub Jelinek <[email protected]>
111+
112+
PR c++/100872
113+
* g++.dg/gomp/declare-simd-8.C: New test.
114+
115+
2021-06-04 Haochen Gui <[email protected]>
116+
117+
* gcc.target/powerpc/not-promote-mode.c: New.
118+
1119
2021-06-03 Uroš Bizjak <[email protected]>
2120

3121
PR target/100637

libstdc++-v3/ChangeLog

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,68 @@
1+
2021-06-04 Jonathan Wakely <[email protected]>
2+
3+
* include/bits/ranges_base.h (_SSize): Return the result of
4+
ranges::size converted to the wider of make-signed-like-t<S> and
5+
ptrdiff_t, rather than the ranges different type.
6+
* testsuite/std/ranges/access/ssize.cc: Adjust expected result
7+
for an iota_view that uses an integer class type for its
8+
difference_type.
9+
10+
2021-06-04 Jonathan Wakely <[email protected]>
11+
12+
PR libstdc++/100824
13+
* include/bits/ranges_base.h (__member_data): Use __decay_copy.
14+
* testsuite/std/ranges/access/data.cc: Add testcase from PR.
15+
16+
2021-06-04 Jonathan Wakely <[email protected]>
17+
18+
PR libstdc++/100824
19+
* include/bits/iterator_concepts.h (__detail::__decay_copy)
20+
(__detail::__member_begin, __detail::__adl_begin): Move to
21+
namespace ranges::__cust_access.
22+
(__detail::__ranges_begin): Likewise, and rename to __begin.
23+
Remove redundant static assertion.
24+
* include/bits/ranges_base.h (_Begin, _End, _RBegin, _REnd):
25+
Use lvalue in noexcept specifier.
26+
(__as_const): Add non-deduced parameter for value category.
27+
(_CBegin, _CEnd, _CRBegin, _CREnd, _CData): Adjust uses of
28+
__as_const.
29+
(__member_size, __adl_size, __member_empty, __size0_empty):
30+
(__eq_iter_empty, __adl_data): Use lvalue objects in
31+
requirements.
32+
(__sentinel_size): Likewise. Add check for conversion to
33+
unsigned-like.
34+
(__member_data): Allow non-lvalue types to satisfy the concept,
35+
but use lvalue object in requirements.
36+
(_Size, _SSize): Remove forwarding to always use an lvalue.
37+
(_Data): Likewise. Add static assertion for arrays.
38+
* testsuite/std/ranges/access/cdata.cc: Adjust expected
39+
behaviour for rvalues. Add negative tests for ill-formed
40+
expressions.
41+
* testsuite/std/ranges/access/data.cc: Likewise.
42+
* testsuite/std/ranges/access/empty.cc: Adjust expected
43+
behaviour for rvalues.
44+
* testsuite/std/ranges/access/size.cc: Likewise.
45+
46+
2021-06-04 Tim Adye <[email protected]>
47+
48+
* include/std/any (any::_Manager::_S_access): New static
49+
function to access the contained value.
50+
(any::emplace, __any_caster): Use _S_access member of the
51+
manager type.
52+
53+
2021-06-04 Jonathan Wakely <[email protected]>
54+
55+
* doc/xml/manual/status_cxx2020.xml:
56+
* doc/html/*: Regenerate.
57+
* include/bits/hashtable.h (__cpp_lib_generic_unordered_lookup):
58+
Define.
59+
* include/std/version (__cpp_lib_generic_unordered_lookup):
60+
Define.
61+
* testsuite/23_containers/unordered_map/operations/1.cc: Check
62+
feature test macro.
63+
* testsuite/23_containers/unordered_set/operations/1.cc:
64+
Likewise.
65+
166
2021-06-03 Patrick Palka <[email protected]>
267

368
* include/bits/ranges_algo.h (__detail::__can_reread_output):

0 commit comments

Comments
 (0)