From b2748138c05c6fba1a34f54980b6382bc6332f56 Mon Sep 17 00:00:00 2001 From: GCC Administrator Date: Wed, 8 Sep 2021 00:16:23 +0000 Subject: [PATCH] Daily bump. --- gcc/ChangeLog | 150 ++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c-family/ChangeLog | 4 ++ gcc/c/ChangeLog | 5 ++ gcc/cp/ChangeLog | 14 ++++ gcc/fortran/ChangeLog | 12 ++++ gcc/testsuite/ChangeLog | 64 +++++++++++++++++ libgfortran/ChangeLog | 20 ++++++ libgomp/ChangeLog | 12 ++++ 9 files changed, 282 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a658c3b383b..4283c00f272 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,153 @@ +2021-09-07 Takayuki 'January June' Suwa + + PR target/102115 + * config/xtensa/xtensa.c (xtensa_emit_move_sequence): Add + 'CONST_INT_P (src)' to the condition of the block that tries to + eliminate literal when loading integer contant. + +2021-09-07 David Faust + + * doc/extend.texi (BPF Type Attributes) New node. + Document new preserve_access_index attribute. + Document new preserve_access_index builtin. + * doc/invoke.texi: Document -mco-re and -mno-co-re options. + +2021-09-07 David Faust + + * config/bpf/bpf.c: Adjust includes. + (bpf_handle_preserve_access_index_attribute): New function. + (bpf_attribute_table): Use it here. + (bpf_builtins): Add BPF_BUILTIN_PRESERVE_ACCESS_INDEX. + (bpf_option_override): Handle "-mco-re" option. + (bpf_asm_init_sections): New. + (TARGET_ASM_INIT_SECTIONS): Redefine. + (bpf_file_end): New. + (TARGET_ASM_FILE_END): Redefine. + (bpf_init_builtins): Add "__builtin_preserve_access_index". + (bpf_core_compute, bpf_core_get_index): New. + (is_attr_preserve_access): New. + (bpf_expand_builtin): Handle new builtins. + (bpf_core_newdecl, bpf_core_is_maybe_aggregate_access): New. + (bpf_core_walk): New. + (bpf_resolve_overloaded_builtin): New. + (TARGET_RESOLVE_OVERLOADED_BUILTIN): Redefine. + (handle_attr): New. + (pass_bpf_core_attr): New RTL pass. + * config/bpf/bpf-passes.def: New file. + * config/bpf/bpf-protos.h (make_pass_bpf_core_attr): New. + * config/bpf/coreout.c: New file. + * config/bpf/coreout.h: Likewise. + * config/bpf/t-bpf (TM_H): Add $(srcdir)/config/bpf/coreout.h. + (coreout.o): New rule. + (PASSES_EXTRA): Add $(srcdir)/config/bpf/bpf-passes.def. + * config.gcc (bpf): Add coreout.h to extra_headers. + Add coreout.o to extra_objs. + Add $(srcdir)/config/bpf/coreout.c to target_gtfiles. + +2021-09-07 David Faust + + * btfout.c (get_btf_id): Function is no longer static. + * ctfc.h: Expose it here. + +2021-09-07 David Faust + + * ctfc.c (ctf_lookup_tree_type): New function. + * ctfc.h: Likewise. + +2021-09-07 David Faust + + * ctfc.c (ctf_dtd_lookup): Function is no longer static. + * ctfc.h: Analogous change. + +2021-09-07 David Faust + + * dwarf2out.c (lookup_type_die): Function is no longer static. + * dwarf2out.h: Expose it here. + +2021-09-07 Indu Bhagat + + * dwarf2ctf.c (ctf_debug_finalize): Make it static. + (ctf_debug_early_finish): New definition. + (ctf_debug_finish): Likewise. + * dwarf2ctf.h (ctf_debug_finalize): Remove declaration. + (ctf_debug_early_finish): New declaration. + (ctf_debug_finish): Likewise. + * dwarf2out.c (dwarf2out_finish): Invoke ctf_debug_finish. + (dwarf2out_early_finish): Invoke ctf_debug_early_finish. + +2021-09-07 Indu Bhagat + + * config/bpf/bpf.c (bpf_option_override): For BPF backend, disable LTO + support when compiling for CO-RE. + * config/bpf/bpf.opt: Add new command line option -mco-re. + +2021-09-07 Indu Bhagat + + * flag-types.h (enum debug_info_type): Add new enum + DINFO_TYPE_BTF_WITH_CORE. + (BTF_WITH_CORE_DEBUG): New bitmask. + * flags.h (btf_with_core_debuginfo_p): New declaration. + * opts.c (btf_with_core_debuginfo_p): New definition. + +2021-09-07 Jason Merrill + + * tree.h (error_operand_p): Change to inline function. + +2021-09-07 Aldy Hernandez + + * tree-ssa-threadedge.c (forwarder_block_p): Rename to... + (empty_block_with_phis_p): ...this. + (potentially_threadable_block): Same. + (jump_threader::thread_through_normal_block): Same. + +2021-09-07 Eric Botcazou + + PR debug/101947 + * dwarf2out.c (mark_base_types): New overloaded function. + (dwarf2out_early_finish): Invoke it on the COMDAT type list as well + as the compilation unit, and call move_marked_base_types afterward. + +2021-09-07 H.J. Lu + + PR target/85819 + * config/i386/i386-expand.c (ix86_expand_convert_uns_sisf_sse): + Enable FMA. + (ix86_expand_vector_convert_uns_vsivsf): Likewise. + +2021-09-07 Richard Biener + + PR tree-optimization/102226 + * tree-vect-loop.c (vect_transform_cycle_phi): Record + the converted value for the epilogue PHI use. + +2021-09-07 Martin Liska + + PR gcov-profile/80223 + * ipa-inline.c (can_inline_edge_p): Similarly to sanitizer + options, do not inline when no_profile_instrument_function + attributes are different in early inliner. It's fine to inline + it after PGO instrumentation. + +2021-09-07 Richard Biener + + PR tree-optimization/101555 + * tree-ssa-pre.c (translate_vuse_through_block): Do not + perform an alias walk to determine the validity of the + mem at the start of the block which is already guaranteed + by means of prune_clobbered_mems. + (phi_translate_1): Pass edge to translate_vuse_through_block. + +2021-09-07 Xionghu Luo + + PR target/97142 + * config/rs6000/rs6000.md (fmod3): New define_expand. + (remainder3): Likewise. + +2021-09-07 YunQiang Su + + * config/mips/mips.c (mips_file_start): add .module for + arch and ase. + 2021-09-06 Roger Sayle * wide-int.cc (wi::clz): Reorder tests to ensure the result diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index c6c78865a08..f1d7f5b06bc 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20210907 +20210908 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index abc4c76bf0b..3d40b9aed9a 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,7 @@ +2021-09-07 Marcel Vollweiler + + * c-omp.c (c_finish_omp_flush): Handle MEMMODEL_SEQ_CST. + 2021-09-03 Eric Botcazou * c-ada-spec.c (dump_ads): Generate pragmas to disable style checks diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index e501dc90ca9..9deeb0e3f7e 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,8 @@ +2021-09-07 Marcel Vollweiler + + * c-parser.c (c_parser_omp_flush): Parse 'seq_cst' clause on 'flush' + directive. + 2021-09-01 Iain Sandoe * c-decl.c (enum deprecated_states): Add unavailable state. diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 6d8a6d32794..2b4bbdc18e9 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,17 @@ +2021-09-07 Jakub Jelinek + + PR c++/100495 + * constexpr.c (maybe_save_constexpr_fundef): Save body even for + constexpr deleting dtors. + (cxx_eval_call_expression): Don't use DECL_CLONED_FUNCTION for + deleting dtors. + +2021-09-07 Marcel Vollweiler + + * parser.c (cp_parser_omp_flush): Parse 'seq_cst' clause on 'flush' + directive. + * semantics.c (finish_omp_flush): Handle MEMMODEL_SEQ_CST. + 2021-09-03 Iain Sandoe * coroutines.cc (register_local_var_uses): Do not mangle diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 6306971b8b1..6c479da6e1c 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,15 @@ +2021-09-07 Harald Anlauf + + PR fortran/101327 + * expr.c (find_array_element): When bounds cannot be determined as + constant, return error instead of aborting. + +2021-09-07 Marcel Vollweiler + + * openmp.c (gfc_match_omp_flush): Parse 'seq_cst' clause on 'flush' + directive. + * trans-openmp.c (gfc_trans_omp_flush): Handle OMP_MEMORDER_SEQ_CST. + 2021-09-03 Tobias Burnus * decl.c (gfc_verify_c_interop_param): Reject pointer with diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 29cb5219ac2..92c978e4979 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,67 @@ +2021-09-07 David Faust + + * gcc.target/bpf/core-attr-1.c: New test. + * gcc.target/bpf/core-attr-2.c: Likewise. + * gcc.target/bpf/core-attr-3.c: Likewise. + * gcc.target/bpf/core-attr-4.c: Likewise + * gcc.target/bpf/core-builtin-1.c: Likewise + * gcc.target/bpf/core-builtin-2.c: Likewise. + * gcc.target/bpf/core-builtin-3.c: Likewise. + * gcc.target/bpf/core-section-1.c: Likewise. + +2021-09-07 Hans-Peter Nilsson + + * gcc.dg/no_profile_instrument_function-attr-2.c: Fix + typo in last change. + +2021-09-07 Harald Anlauf + + PR fortran/101327 + * gfortran.dg/pr101327.f90: New test. + +2021-09-07 Indu Bhagat + + * gcc.target/bpf/core-lto-1.c: New test. + +2021-09-07 Jakub Jelinek + + PR c++/100495 + * g++.dg/cpp2a/constexpr-new21.C: New test. + +2021-09-07 H.J. Lu + + PR target/85819 + * gcc.target/i386/pr85819-1a.c: New test. + * gcc.target/i386/pr85819-1b.c: Likewise. + * gcc.target/i386/pr85819-2a.c: Likewise. + * gcc.target/i386/pr85819-2b.c: Likewise. + * gcc.target/i386/pr85819-2c.c: Likewise. + * gcc.target/i386/pr85819-3.c: Likewise. + +2021-09-07 Richard Biener + + PR tree-optimization/102226 + * g++.dg/vect/pr102226.cc: New testcase. + +2021-09-07 Marcel Vollweiler + + * c-c++-common/gomp/flush-1.c: Add test case for 'seq_cst'. + * c-c++-common/gomp/flush-2.c: Add test case for 'seq_cst'. + * g++.dg/gomp/attrs-1.C: Adapt test to handle all flush clauses. + * g++.dg/gomp/attrs-2.C: Adapt test to handle all flush clauses. + * gfortran.dg/gomp/flush-1.f90: Add test case for 'seq_cst'. + * gfortran.dg/gomp/flush-2.f90: Add test case for 'seq_cst'. + +2021-09-07 Martin Liska + + PR gcov-profile/80223 + * gcc.dg/no_profile_instrument_function-attr-2.c: New test. + +2021-09-07 Xionghu Luo + + PR target/97142 + * gcc.target/powerpc/pr97142.c: New test. + 2021-09-06 H.J. Lu PR target/89984 diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index e27093dac97..89ef63db8d1 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,23 @@ +2021-09-07 Tobias Burnus + + * Makefile.am (gfor_built_src): Depend on + include/ISO_Fortran_binding.h not on ISO_Fortran_binding.h. + (ISO_Fortran_binding.h): Rename make target to ... + (include/ISO_Fortran_binding.h): ... this. + * Makefile.in: Regenerate. + +2021-09-07 Sandra Loosemore + + * ISO_Fortran_binding-1-tmpl.h: Deleted. + * ISO_Fortran_binding-2-tmpl.h: Deleted. + * ISO_Fortran_binding-3-tmpl.h: Deleted. + * ISO_Fortran_binding.h: New file to replace the above. + * Makefile.am (gfor_cdir): Remove MULTISUBDIR. + (ISO_Fortran_binding.h): Simplify to just copy the file. + * Makefile.in: Regenerated. + * mk-kinds-h.sh: Revert pieces no longer needed for + ISO_Fortran_binding.h. + 2021-09-02 Sandra Loosemore José Rui Faustino de Sousa diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index d8624032cd4..7175309f3ea 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,15 @@ +2021-09-07 Tobias Burnus + + * libgomp.texi (OpenMP Implementation Status): Extend + OpenMP 5.0 section. + (OpenACC Profiling Interface): Fix typo. + +2021-09-07 Tobias Burnus + + * libgomp.texi (Enabling OpenMP): Refer to OMP spec in general + not to 4.5; link to new section. + (OpenMP Implementation Status): New. + 2021-09-06 Thomas Schwinge * testsuite/libgomp.c/target-43.c: '-latomic' for nvptx offloading.