From ae7e4af964eaa80a3d7c43e4a7e1864d9a7cb06b Mon Sep 17 00:00:00 2001 From: GCC Administrator Date: Wed, 2 Feb 2022 00:17:16 +0000 Subject: [PATCH] Daily bump. --- gcc/ChangeLog | 301 ++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/cp/ChangeLog | 7 + gcc/fortran/ChangeLog | 6 + gcc/testsuite/ChangeLog | 41 ++++++ libcpp/ChangeLog | 14 ++ libgomp/ChangeLog | 22 +++ libstdc++-v3/ChangeLog | 44 ++++++ 8 files changed, 436 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4e99b174ab6..bee0481dbc6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,304 @@ +2022-02-01 Eugene Rozenfeld + + * opts.cc (common_handle_option): Don't set param_early_inliner_max_iterations + to 10 for AutoFDO. + +2022-02-01 Eugene Rozenfeld + + * auto-profile.cc (auto_profile): Hard-code the number of iterations (10). + +2022-02-01 Andrew Pinski + + * doc/install.texi: + +2022-02-01 Ilya Leoshkevich + + * config/s390/s390.cc (s390_code_end): Do not switch back to + code section. + +2022-02-01 Jakub Jelinek + + PR target/104323 + * config/rs6000/t-rs6000 (EXTRA_GTYPE_DEPS): Append rs6000-builtins.h + rather than $(srcdir)/config/rs6000/rs6000-builtins.def. + * config/rs6000/rs6000-gen-builtins.cc (write_decls): Don't use + GTY((user)) for struct bifdata and struct ovlddata. Instead add + GTY((skip(""))) to members with pointer and enum types that don't need + to be tracked. Add GTY(()) to rs6000_builtin_info and rs6000_instance_info + declarations. Don't emit gt_ggc_mx and gt_pch_nx declarations. + (write_extern_fntype, write_fntype): Remove. + (write_fntype_init): Emit the fntype vars as automatic vars instead + of file scope ones. + (write_header_file): Don't iterate with write_extern_fntype. + (write_init_file): Don't iterate with write_fntype. Don't emit + gt_ggc_mx and gt_pch_nx definitions. + +2022-02-01 Jason Merrill + + * tree.h (struct tree_vec_map_cache_hasher): Move from... + * tree.cc (struct tree_vec_map_cache_hasher): ...here. + +2022-02-01 Tom de Vries + + * config/nvptx/nvptx.cc (nvptx_single): Use nvptx_uniform_warp_check. + * config/nvptx/nvptx.md (define_c_enum "unspecv"): Add + UNSPECV_UNIFORM_WARP_CHECK. + (define_insn "nvptx_uniform_warp_check"): New define_insn. + +2022-02-01 Tom de Vries + + * config/nvptx/nvptx.cc (nvptx_single): Use nvptx_warpsync. + * config/nvptx/nvptx.md (define_c_enum "unspecv"): Add + UNSPECV_WARPSYNC. + (define_insn "nvptx_warpsync"): New define_insn. + +2022-02-01 Tom de Vries + + * config/nvptx/nvptx.opt (mptx): Set to PTX_VERSION_6_3 by default. + +2022-02-01 Tom de Vries + + * config/nvptx/nvptx-opts.h (enum ptx_version): Add PTX_VERSION_6_0. + * config/nvptx/nvptx.h (TARGET_PTX_6_0): New macro. + * config/nvptx/nvptx.md (define_insn "nvptx_barsync"): Use barrier + insn for TARGET_PTX_6_0. + +2022-02-01 Tom de Vries + + PR target/100428 + * config/nvptx/nvptx.cc (prevent_branch_around_nothing): Handle nop + insn. + +2022-02-01 Tom de Vries + + * config/nvptx/nvptx.md (define_insn "atomic_compare_and_swap_1") + (define_insn "atomic_exchange") + (define_insn "atomic_fetch_add") + (define_insn "atomic_fetch_addsf") + (define_insn "atomic_fetch_"): Output non-atomic version + if memory operands is frame-relative. + +2022-02-01 Tom de Vries + + * config/nvptx/nvptx.cc (enum nvptx_builtins): Add + NVPTX_BUILTIN_MEMBAR_GL and NVPTX_BUILTIN_MEMBAR_CTA. + (VOID): New macro. + (nvptx_init_builtins): Add MEMBAR_GL and MEMBAR_CTA. + (nvptx_expand_builtin): Handle NVPTX_BUILTIN_MEMBAR_GL and + NVPTX_BUILTIN_MEMBAR_CTA. + (nvptx_lockfull_update): Add level parameter. Emit barriers. + (nvptx_reduction_update, nvptx_goacc_reduction_fini): Update call to + nvptx_lockfull_update. + * config/nvptx/nvptx.md (define_c_enum "unspecv"): Add + UNSPECV_MEMBAR_GL. + (define_expand "nvptx_membar_gl"): New expand. + (define_insn "*nvptx_membar_gl"): New insn. + +2022-02-01 Martin Liska + + * doc/install.texi: Remove option for GCC < 4.8. + +2022-02-01 Jakub Jelinek + + PR middle-end/104307 + * tree-vect-generic.cc (expand_vector_comparison): Don't push debug + stmts to uses vector, just set vec_cond_expr_only to false for + non-VEC_COND_EXPRs instead of pushing them into uses. Treat + VEC_COND_EXPRs that use lhs not just in rhs1, but rhs2 or rhs3 too + like non-VEC_COND_EXPRs. + +2022-02-01 Bill Schmidt + + * config/rs6000/rs6000-overload.def (VEC_ABSD): Remove #ifdef token. + (VEC_BLENDV): Likewise. + (VEC_BPERM): Likewise. + (VEC_CFUGE): Likewise. + (VEC_CIPHER_BE): Likewise. + (VEC_CIPHERLAST_BE): Likewise. + (VEC_CLRL): Likewise. + (VEC_CLRR): Likewise. + (VEC_CMPNEZ): Likewise. + (VEC_CNTLZ): Likewise. + (VEC_CNTLZM): Likewise. + (VEC_CNTTZM): Likewise. + (VEC_CNTLZ_LSBB): Likewise. + (VEC_CNTM): Likewise. + (VEC_CNTTZ): Likewise. + (VEC_CNTTZ_LSBB): Likewise. + (VEC_CONVERT_4F32_8F16): Likewise. + (VEC_DIV): Likewise. + (VEC_DIVE): Likewise. + (VEC_EQV): Likewise. + (VEC_EXPANDM): Likewise. + (VEC_EXTRACT_FP_FROM_SHORTH): Likewise. + (VEC_EXTRACT_FP_FROM_SHORTL): Likewise. + (VEC_EXTRACTH): Likewise. + (VEC_EXTRACTL): Likewise. + (VEC_EXTRACTM): Likewise. + (VEC_EXTRACT4B): Likewise. + (VEC_EXTULX): Likewise. + (VEC_EXTURX): Likewise. + (VEC_FIRSTMATCHINDEX): Likewise. + (VEC_FIRSTMACHOREOSINDEX): Likewise. + (VEC_FIRSTMISMATCHINDEX): Likewise. + (VEC_FIRSTMISMATCHOREOSINDEX): Likewise. + (VEC_GB): Likewise. + (VEC_GENBM): Likewise. + (VEC_GENHM): Likewise. + (VEC_GENWM): Likewise. + (VEC_GENDM): Likewise. + (VEC_GENQM): Likewise. + (VEC_GENPCVM): Likewise. + (VEC_GNB): Likewise. + (VEC_INSERTH): Likewise. + (VEC_INSERTL): Likewise. + (VEC_INSERT4B): Likewise. + (VEC_LXVL): Likewise. + (VEC_MERGEE): Likewise. + (VEC_MERGEO): Likewise. + (VEC_MOD): Likewise. + (VEC_MSUB): Likewise. + (VEC_MULH): Likewise. + (VEC_NAND): Likewise. + (VEC_NCIPHER_BE): Likewise. + (VEC_NCIPHERLAST_BE): Likewise. + (VEC_NEARBYINT): Likewise. + (VEC_NMADD): Likewise. + (VEC_ORC): Likewise. + (VEC_PDEP): Likewise. + (VEC_PERMX): Likewise. + (VEC_PEXT): Likewise. + (VEC_POPCNT): Likewise. + (VEC_PARITY_LSBB): Likewise. + (VEC_REPLACE_ELT): Likewise. + (VEC_REPLACE_UN): Likewise. + (VEC_REVB): Likewise. + (VEC_RINT): Likewise. + (VEC_RLMI): Likewise. + (VEC_RLNM): Likewise. + (VEC_SBOX_BE): Likewise. + (VEC_SIGNEXTI): Likewise. + (VEC_SIGNEXTLL): Likewise. + (VEC_SIGNEXTQ): Likewise. + (VEC_SLDB): Likewise. + (VEC_SLV): Likewise. + (VEC_SPLATI): Likewise. + (VEC_SPLATID): Likewise. + (VEC_SPLATI_INS): Likewise. + (VEC_SQRT): Likewise. + (VEC_SRDB): Likewise. + (VEC_SRV): Likewise. + (VEC_STRIL): Likewise. + (VEC_STRIL_P): Likewise. + (VEC_STRIR): Likewise. + (VEC_STRIR_P): Likewise. + (VEC_STXVL): Likewise. + (VEC_TERNARYLOGIC): Likewise. + (VEC_TEST_LSBB_ALL_ONES): Likewise. + (VEC_TEST_LSBB_ALL_ZEROS): Likewise. + (VEC_VEE): Likewise. + (VEC_VES): Likewise. + (VEC_VIE): Likewise. + (VEC_VPRTYB): Likewise. + (VEC_VSCEEQ): Likewise. + (VEC_VSCEGT): Likewise. + (VEC_VSCELT): Likewise. + (VEC_VSCEUO): Likewise. + (VEC_VSEE): Likewise. + (VEC_VSES): Likewise. + (VEC_VSIE): Likewise. + (VEC_VSTDC): Likewise. + (VEC_VSTDCN): Likewise. + (VEC_VTDC): Likewise. + (VEC_XL): Likewise. + (VEC_XL_BE): Likewise. + (VEC_XL_LEN_R): Likewise. + (VEC_XL_SEXT): Likewise. + (VEC_XL_ZEXT): Likewise. + (VEC_XST): Likewise. + (VEC_XST_BE): Likewise. + (VEC_XST_LEN_R): Likewise. + (VEC_XST_TRUNC): Likewise. + (VEC_XXPERMDI): Likewise. + (VEC_XXSLDWI): Likewise. + (VEC_TSTSFI_EQ_DD): Likewise. + (VEC_TSTSFI_EQ_TD): Likewise. + (VEC_TSTSFI_GT_DD): Likewise. + (VEC_TSTSFI_GT_TD): Likewise. + (VEC_TSTSFI_LT_DD): Likewise. + (VEC_TSTSFI_LT_TD): Likewise. + (VEC_TSTSFI_OV_DD): Likewise. + (VEC_TSTSFI_OV_TD): Likewise. + (VEC_VADDCUQ): Likewise. + (VEC_VADDECUQ): Likewise. + (VEC_VADDEUQM): Likewise. + (VEC_VADDUDM): Likewise. + (VEC_VADDUQM): Likewise. + (VEC_VBPERMQ): Likewise. + (VEC_VCLZB): Likewise. + (VEC_VCLZD): Likewise. + (VEC_VCLZH): Likewise. + (VEC_VCLZW): Likewise. + (VEC_VCTZB): Likewise. + (VEC_VCTZD): Likewise. + (VEC_VCTZH): Likewise. + (VEC_VCTZW): Likewise. + (VEC_VEEDP): Likewise. + (VEC_VEESP): Likewise. + (VEC_VESDP): Likewise. + (VEC_VESSP): Likewise. + (VEC_VIEDP): Likewise. + (VEC_VIESP): Likewise. + (VEC_VPKSDSS): Likewise. + (VEC_VPKSDUS): Likewise. + (VEC_VPKUDUM): Likewise. + (VEC_VPKUDUS): Likewise. + (VEC_VPOPCNT): Likewise. + (VEC_VPOPCNTB): Likewise. + (VEC_VPOPCNTD): Likewise. + (VEC_VPOPCNTH): Likewise. + (VEC_VPOPCNTW): Likewise. + (VEC_VPRTYBD): Likewise. + (VEC_VPRTYBQ): Likewise. + (VEC_VPRTYBW): Likewise. + (VEC_VRLD): Likewise. + (VEC_VSLD): Likewise. + (VEC_VSRAD): Likewise. + (VEC_VSRD): Likewise. + (VEC_VSTDCDP): Likewise. + (VEC_VSTDCNDP): Likewise. + (VEC_VSTDCNQP): Likewise. + (VEC_VSTDCNSP): Likewise. + (VEC_VSTDCQP): Likewise. + (VEC_VSTDCSP): Likewise. + (VEC_VSUBECUQ): Likewise. + (VEC_VSUBEUQM): Likewise. + (VEC_VSUBUDM): Likewise. + (VEC_VSUBUQM): Likewise. + (VEC_VTDCDP): Likewise. + (VEC_VTDCSP): Likewise. + (VEC_VUPKHSW): Likewise. + (VEC_VUPKLSW): Likewise. + +2022-02-01 Andreas Krebbel + + PR rtl-optimization/101260 + * regcprop.cc (maybe_mode_change): Invoke mode_change_ok also for + copy_regno. + +2022-02-01 Xi Ruoyao + + PR middle-end/95115 + * fold-const.cc (const_binop): Do not fold NaN result from + non-NaN operands. + +2022-02-01 Tom de Vries + + * tree-loop-distribution.cc (generate_reduction_builtin_1): Check for + -ftree-loop-distribute-patterns. + (loop_distribution::execute): Don't call transform_reduction_loop for + -fno-tree-loop-distribute-patterns. + 2022-01-31 Andrew Pinski * fold-const.h (operand_compare::operand_equal_p): diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 587a0aa4ca1..1ff12871fac 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20220201 +20220202 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 75aa136b5ca..9131726620e 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,10 @@ +2022-02-01 Jason Merrill + + PR c++/103186 + * pt.cc (defarg_inst): Use tree_vec_map_cache_hasher. + (defarg_insts_for): New. + (tsubst_default_argument): Adjust. + 2022-01-31 Marek Polacek PR c++/102414 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index a755caf9c8e..83a7310d53d 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,9 @@ +2022-02-01 Harald Anlauf + + PR fortran/104331 + * simplify.cc (gfc_simplify_eoshift): Avoid NULL pointer + dereference when shape is not set. + 2022-01-28 Andre Vehreschild PR fortran/103790 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 67fbfa3609f..c0e45052fa9 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,44 @@ +2022-02-01 Ilya Leoshkevich + + * gcc.target/s390/nobp-section-type-conflict.c: New test. + +2022-02-01 Harald Anlauf + + PR fortran/104331 + * gfortran.dg/eoshift_9.f90: New test. + +2022-02-01 Jakub Jelinek + + PR preprocessor/104147 + * c-c++-common/cpp/pr104147.c: New test. + +2022-02-01 Jason Merrill + + PR c++/103186 + * g++.dg/cpp0x/lambda/lambda-defarg10.C: New test. + +2022-02-01 Tom de Vries + + * gcc.target/nvptx/stack-atomics-run.c: New test. + +2022-02-01 Jakub Jelinek + + PR middle-end/104307 + * gcc.target/i386/pr104307.c: New test. + +2022-02-01 Andreas Krebbel + + PR rtl-optimization/101260 + * gcc.target/s390/pr101260.c: New testcase. + +2022-02-01 Xi Ruoyao + + * gcc.dg/pr95115.c: New test. + +2022-02-01 Tom de Vries + + * gcc.dg/tree-ssa/ldist-strlen-4.c: New test. + 2022-01-31 Marek Polacek PR c++/102414 diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index b099e2f2f74..c3679fee1f7 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,17 @@ +2022-02-01 Jakub Jelinek + + PR preprocessor/104147 + * macro.cc (funlike_invocation_p): For padding prefer a token + with val.source non-NULL especially if it has PREV_WHITE set + on val.source->flags. Add gcc_assert that CPP_PADDING tokens + don't have PREV_WHITE set in flags. + +2022-02-01 Jakub Jelinek + + * directives.cc (destringize_and_run): Push &pfile->avoid_paste + instead of a copy of pfile->directive_result for the CPP_PADDING + case. + 2022-01-24 Marek Polacek PR preprocessor/104030 diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 3be01f7c48d..b37c28dba07 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,25 @@ +2022-02-01 Tom de Vries + + * testsuite/libgomp.oacc-c-c++-common/private-atomic-1.c: Remove + PR83812 workaround. + * testsuite/libgomp.oacc-fortran/private-atomic-1-vector.f90: Same. + * testsuite/libgomp.oacc-fortran/private-atomic-1-worker.f90: Same. + +2022-02-01 Tom de Vries + + * testsuite/libgomp.oacc-c-c++-common/broadcast-many.c: Reduce + num_workers for nvidia accelerator to fix libgomp error 'insufficient + resources'. + * testsuite/libgomp.oacc-c-c++-common/par-loop-comb-reduction-4.c: + Same. + * testsuite/libgomp.oacc-c-c++-common/reduction-7.c: Same. + +2022-02-01 Tom de Vries + + * testsuite/libgomp.fortran/examples-4/declare_target-1.f90: Reduce + recursion depth. + * testsuite/libgomp.fortran/examples-4/declare_target-2.f90: Same. + 2022-01-31 Martin Liska * acinclude.m4: Detect *_ld_is_mold and use it. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index dc5aa17bb5e..5635f43db45 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,47 @@ +2022-02-02 Jonathan Wakely + + * testsuite/27_io/filesystem/iterators/error_reporting.cc: Use + autoconf macro to check whether d_type is present. + * testsuite/experimental/filesystem/iterators/error_reporting.cc: + Likewise. + +2022-02-01 Jonathan Wakely + + * testsuite/27_io/filesystem/iterators/97731.cc: New test. + * testsuite/27_io/filesystem/iterators/recursive_directory_iterator.cc: + Check follow_directory_symlink option. + * testsuite/experimental/filesystem/iterators/recursive_directory_iterator.cc: + Likewise. + +2022-02-01 Jonathan Wakely + + * src/c++17/fs_dir.cc (recursive_directory_iterator::increment): + Reset state to past-the-end iterator on error. + (fs::recursive_directory_iterator::pop(error_code&)): Likewise. + (fs::recursive_directory_iterator::pop()): Check _M_dirs before + it might get reset. + * src/filesystem/dir.cc (recursive_directory_iterator): Likewise, + for the TS implementation. + * testsuite/27_io/filesystem/iterators/error_reporting.cc: New test. + * testsuite/experimental/filesystem/iterators/error_reporting.cc: New test. + +2022-02-01 Jonathan Wakely + + * include/bits/fs_fwd.h (filesystem::perms): Fix comment. + +2022-02-01 Jonathan Wakely + + PR libstdc++/104301 + * acinclude.m4 (GLIBCXX_ENABLE_CSTDIO): Print different messages + for stdio_pure and stdio_posix options. + * configure: Regenerate. + +2022-02-01 Thomas Rodgers + + * include/bits/atomic_wait.h: Change memory order from + Acquire/Release with relaxed loads to SeqCst+Release for + accesses to the waiter's count. + 2022-01-31 Martin Liska * acinclude.m4: Detect *_ld_is_mold and use it.