From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id 21BE93858D29; Thu, 22 Jul 2021 00:17:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 21BE93858D29 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: GCC Administrator To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r12-2461] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/master X-Git-Oldrev: 893b12cc12877aca1c9df6272123b26eddf12722 X-Git-Newrev: 419c6c68e60adc8801b44dab72ebcd680cfe1d97 Message-Id: <20210722001724.21BE93858D29@sourceware.org> Date: Thu, 22 Jul 2021 00:17:24 +0000 (GMT) X-BeenThere: libstdc++-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jul 2021 00:17:24 -0000 https://gcc.gnu.org/g:419c6c68e60adc8801b44dab72ebcd680cfe1d97 commit r12-2461-g419c6c68e60adc8801b44dab72ebcd680cfe1d97 Author: GCC Administrator Date: Thu Jul 22 00:16:46 2021 +0000 Daily bump. Diff: --- c++tools/ChangeLog | 14 +++ gcc/ChangeLog | 222 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/analyzer/ChangeLog | 55 ++++++++++++ gcc/c-family/ChangeLog | 6 ++ gcc/c/ChangeLog | 9 ++ gcc/cp/ChangeLog | 16 ++++ gcc/fortran/ChangeLog | 31 +++++++ gcc/testsuite/ChangeLog | 87 +++++++++++++++++++ libatomic/ChangeLog | 6 ++ libgomp/ChangeLog | 12 +++ libstdc++-v3/ChangeLog | 7 ++ 12 files changed, 466 insertions(+), 1 deletion(-) diff --git a/c++tools/ChangeLog b/c++tools/ChangeLog index c0228cba26e..7778d3fdcbd 100644 --- a/c++tools/ChangeLog +++ b/c++tools/ChangeLog @@ -1,3 +1,17 @@ +2021-07-21 Iain Sandoe + Jakub Jelinek + + PR c++/98821 + * config.h.in: Regenerate. + * configure: Regenerate. + * configure.ac: Configure using C++. Pull logic to + detect enabled checking modes; default to release + checking. + * server.cc (AI_NUMERICSERV): Define a fallback value. + (gcc_assert): New. + (gcc_unreachable): New. + (fancy_abort): Only build when checking is enabled. + 2021-05-25 Jakub Jelinek PR bootstrap/100731 diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5755379e0bf..d450c6bd18d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,225 @@ +2021-07-21 Thomas Schwinge + Joseph Myers + Cesar Philippidis + + * tree-core.h (omp_clause_code): Add 'OMP_CLAUSE_NOHOST'. + * tree.c (omp_clause_num_ops, omp_clause_code_name, walk_tree_1): + Handle it. + * tree-pretty-print.c (dump_omp_clause): Likewise. + * omp-general.c (oacc_verify_routine_clauses): Likewise. + * gimplify.c (gimplify_scan_omp_clauses) + (gimplify_adjust_omp_clauses): Likewise. + * tree-nested.c (convert_nonlocal_omp_clauses) + (convert_local_omp_clauses): Likewise. + * omp-low.c (scan_sharing_clauses): Likewise. + * omp-offload.c (execute_oacc_device_lower): Update. + +2021-07-21 Martin Sebor + + * tree-ssa-alias.c (walk_aliased_vdefs_1): Fix typos in a comment. + +2021-07-21 Bill Schmidt + + * config/rs6000/rs6000-gen-builtins.c (write_init_bif_table): + Implement. + +2021-07-21 Bill Schmidt + + * config/rs6000/rs6000-gen-builtins.c (write_fntype): New + callback function. + (write_fntype_init): New stub function. + (write_init_bif_table): Likewise. + (write_init_ovld_table): New function. + (write_init_file): Implement. + +2021-07-21 Bill Schmidt + + * config/rs6000/rs6000-gen-builtins.c + (write_autogenerated_header): New function. + (write_decls): Likewise. + (write_extern_fntype): New callback function. + (write_header_file): Implement. + +2021-07-21 Bill Schmidt + + * config/rs6000/rs6000-gen-builtins.c (write_defines_file): + Implement. + +2021-07-21 Bill Schmidt + + * config/rs6000/rs6000-gen-builtins.c (complete_vector_type): New + function. + (complete_base_type): Likewise. + (construct_fntype_id): Likewise. + (parse_bif_entry): Call contruct_fntype_id. + (parse_ovld_entry): Likewise. + +2021-07-21 Bill Schmidt + + * config/rs6000/rs6000-gen-builtins.c (ovld_stanza): New struct. + (MAXOVLDSTANZAS): New macro. + (ovld_stanzas): New variable. + (curr_ovld_stanza): Likewise. + (MAXOVLDS): New macro. + (ovlddata): New struct. + (ovlds): New variable. + (curr_ovld): Likewise. + (max_ovld_args): Likewise. + (parse_ovld_entry): New function. + (parse_ovld_stanza): Likewise. + (parse_ovld): Implement. + +2021-07-21 Bill Schmidt + + * config/rs6000/rs6000-gen-builtins.c (parse_bif_attrs): + Implement. + +2021-07-21 Bill Schmidt + + * config/rs6000/rs6000-gen-builtins.c (parse_args): New function. + (parse_prototype): Implement. + +2021-07-21 Bill Schmidt + + * config/rs6000/rs6000-gen-builtins.c (bif_stanza): New enum. + (curr_bif_stanza): New variable. + (stanza_entry): New struct. + (stanza_map): New initialized variable. + (enable_string): Likewise. + (fnkinds): New enum. + (typelist): New struct. + (attrinfo): Likewise. + (MAXRESTROPNDS): New macro. + (prototype): New struct. + (MAXBIFS): New macro. + (bifdata): New struct. + (bifs): New variable. + (curr_bif): Likewise. + (bif_order): Likewise. + (bif_index): Likewise. + (fatal): New function. + (stanza_name_to_stanza): Likewise. + (parse_bif_attrs): New stub function. + (parse_prototype): Likewise. + (parse_bif_entry): New function. + (parse_bif_stanza): Likewise. + (parse_bif): Implement. + (set_bif_order): New function. + (create_bif_order): Implement. + +2021-07-21 Bill Schmidt + + * config/rs6000/rs6000-gen-builtins.c (rbtree.h): New #include. + (num_bifs): New variable. + (num_ovld_stanzas): Likewise. + (num_ovlds): Likewise. + (parse_codes): New enum. + (bif_rbt): New variable. + (ovld_rbt): Likewise. + (fntype_rbt): Likewise. + (bifo_rbt): Likewise. + (parse_bif): New stub function. + (create_bif_order): Likewise. + (parse_ovld): Likewise. + (write_header_file): Likewise. + (write_init_file): Likewise. + (write_defines_file): Likewise. + (delete_output_files): New function. + (main): Likewise. + +2021-07-21 H.J. Lu + + PR target/101549 + * config/i386/i386-builtin.def: Remove OPTION_MASK_ISA_SSE4_2 + from CRC32 _builtin functions. + +2021-07-21 Sebastian Huber + + * coverage.c (build_gcov_info_var_registration): Mark the object placed + in the linker set as referenced so that it does not get optimized away. + +2021-07-21 Kito Cheng + + Revert: + 2021-07-20 Kito Cheng + + * config.gcc (riscv*-*-*): Detect which python is available. + +2021-07-21 Jakub Jelinek + + PR middle-end/101535 + * gimplify.c (omp_check_private): Properly skip ORT_TARGET_DATA + contexts in which decl isn't privatized and for ORT_TARGET return + false if decl is mapped. + +2021-07-21 Richard Sandiford + + * gimple-loop-jam.c: Include tree-ssa-sccvn.h. + (tree_loop_unroll_and_jam): Run value-numbering on a loop that + has been successfully unrolled. + +2021-07-21 Richard Sandiford + + * tree-ssa-loop-manip.c (determine_exit_conditions): Return a null + exit condition if no tail loop is needed, and if the original exit + condition should therefore be kept as-is. + (tree_transform_and_unroll_loop): Handle that case here too. + +2021-07-21 Kewen Lin + + * tree-data-ref.c (free_dependence_relations): Adjust to pass vec + by reference. + (free_data_refs): Likewise. + * tree-data-ref.h (free_dependence_relations): Likewise. + (free_data_refs): Likewise. + * tree-predcom.c (struct chain): Use auto_vec instead of vec for + members. + (struct component): Likewise. + (pcom_worker::pcom_worker): Adjust for auto_vec and renaming changes. + (pcom_worker::~pcom_worker): Likewise. + (pcom_worker::release_chain): Adjust as auto_vec changes. + (pcom_worker::loop): Rename to ... + (pcom_worker::m_loop): ... this. + (pcom_worker::datarefs): Rename to ... + (pcom_worker::m_datarefs): ... this. Use auto_vec instead of vec. + (pcom_worker::dependences): Rename to ... + (pcom_worker::m_dependences): ... this. Use auto_vec instead of vec. + (pcom_worker::chains): Rename to ... + (pcom_worker::m_chains): ... this. Use auto_vec instead of vec. + (pcom_worker::looparound_phis): Rename to ... + (pcom_worker::m_looparound_phis): ... this. Use auto_vec instead of + vec. + (pcom_worker::cache): Rename to ... + (pcom_worker::m_cache): ... this. Use auto_vec instead of vec. + (pcom_worker::release_chain): Adjust for auto_vec changes. + (pcom_worker::release_chains): Adjust for auto_vec and renaming + changes. + (release_component): Remove. + (release_components): Adjust for release_component removal. + (component_of): Adjust to use vec. + (merge_comps): Likewise. + (pcom_worker::aff_combination_dr_offset): Adjust for renaming changes. + (pcom_worker::determine_offset): Likewise. + (class comp_ptrs): Remove. + (pcom_worker::split_data_refs_to_components): Adjust for renaming + changes, for comp_ptrs removal with auto_vec. + (pcom_worker::suitable_component_p): Adjust for renaming changes. + (pcom_worker::filter_suitable_components): Adjust for release_component + removal. + (pcom_worker::valid_initializer_p): Adjust for renaming changes. + (pcom_worker::find_looparound_phi): Likewise. + (pcom_worker::add_looparound_copies): Likewise. + (pcom_worker::determine_roots_comp): Likewise. + (pcom_worker::single_nonlooparound_use): Likewise. + (pcom_worker::execute_pred_commoning_chain): Likewise. + (pcom_worker::execute_pred_commoning): Likewise. + (pcom_worker::try_combine_chains): Likewise. + (pcom_worker::prepare_initializers_chain): Likewise. + (pcom_worker::prepare_initializers): Likewise. + (pcom_worker::prepare_finalizers_chain): Likewise. + (pcom_worker::prepare_finalizers): Likewise. + (pcom_worker::tree_predictive_commoning_loop): Likewise. + 2021-07-20 Martin Sebor PR middle-end/101397 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 4bc9d90e5df..9f48762c747 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20210721 +20210722 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index f32fe08318b..272bf15cc16 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,58 @@ +2021-07-21 David Malcolm + + PR analyzer/101547 + * sm-file.cc (file_leak::emit): Handle m_arg being NULL. + (file_leak::describe_final_event): Handle ev.m_expr being NULL. + +2021-07-21 David Malcolm + + PR analyzer/101522 + * store.cc (binding_cluster::purge_state_involving): Don't change + m_map whilst iterating through it. + +2021-07-21 David Malcolm + + * region-model.cc (region_model::handle_phi): Add "old_state" + param and use it. + (region_model::update_for_phis): Update so that all of the phi + stmts are effectively handled simultaneously, rather than in + order. + * region-model.h (region_model::handle_phi): Add "old_state" + param. + * state-purge.cc (self_referential_phi_p): Replace with... + (name_used_by_phis_p): ...this new function. + (state_purge_per_ssa_name::process_point): Update to use the + above, so that all phi stmts at a basic block are effectively + considered simultaneously, and only consider the phi arguments for + the pertinent in-edge. + * supergraph.cc (cfg_superedge::get_phi_arg_idx): New. + (cfg_superedge::get_phi_arg): Use the above. + * supergraph.h (cfg_superedge::get_phi_arg_idx): New decl. + +2021-07-21 David Malcolm + + * state-purge.cc (state_purge_annotator::add_node_annotations): + Rather than erroneously always using the NULL in-edge, determine + each relevant in-edge, and print the appropriate data for each + in-edge. Use print_needed to print the data as comma-separated + lists of SSA names. + (print_vec_of_names): Add "within_table" param and use it. + (state_purge_annotator::add_stmt_annotations): Factor out + collation and printing code into... + (state_purge_annotator::print_needed): ...this new function. + * state-purge.h (state_purge_annotator::print_needed): New decl. + +2021-07-21 David Malcolm + + * program-point.cc (function_point::print): Show src BB index at + BEFORE_SUPERNODE. + +2021-07-21 David Malcolm + + * svalue.cc (infix_p): New. + (binop_svalue::dump_to_pp): Use it to print MIN_EXPR and MAX_EXPR + in prefix form, rather than infix. + 2021-07-19 David Malcolm PR analyzer/101503 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 87d658afb1b..55f18d991f9 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,9 @@ +2021-07-21 Thomas Schwinge + Joseph Myers + Cesar Philippidis + + * c-pragma.h (pragma_omp_clause): Add 'PRAGMA_OACC_CLAUSE_NOHOST'. + 2021-07-20 Martin Sebor * c-common.c (c_build_shufflevector): Adjust by-value argument to diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 9cd1dd65ba5..367c9c72b4e 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,12 @@ +2021-07-21 Thomas Schwinge + Joseph Myers + Cesar Philippidis + + * c-parser.c (c_parser_omp_clause_name): Handle 'nohost'. + (c_parser_oacc_all_clauses): Handle 'PRAGMA_OACC_CLAUSE_NOHOST'. + (OACC_ROUTINE_CLAUSE_MASK): Add 'PRAGMA_OACC_CLAUSE_NOHOST'. + * c-typeck.c (c_finish_omp_clauses): Handle 'OMP_CLAUSE_NOHOST'. + 2021-07-20 Martin Sebor * c-tree.h (c_build_function_call_vec): Adjust by-value argument to diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index bb46293ab24..37ea7f5c3ab 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,19 @@ +2021-07-21 Thomas Schwinge + Joseph Myers + Cesar Philippidis + + * parser.c (cp_parser_omp_clause_name): Handle 'nohost'. + (cp_parser_oacc_all_clauses): Handle 'PRAGMA_OACC_CLAUSE_NOHOST'. + (OACC_ROUTINE_CLAUSE_MASK): Add 'PRAGMA_OACC_CLAUSE_NOHOST'. + * pt.c (tsubst_omp_clauses): Handle 'OMP_CLAUSE_NOHOST'. + * semantics.c (finish_omp_clauses): Likewise. + +2021-07-21 Jakub Jelinek + + PR c++/101516 + * semantics.c (finish_omp_reduction_clause): Also call + complete_type_or_else and return true if it fails. + 2021-07-19 Iain Sandoe PR c++/95520 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index f1fe435a3cd..1c6aa03f1b7 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,34 @@ +2021-07-21 Thomas Schwinge + Joseph Myers + Cesar Philippidis + + * dump-parse-tree.c (show_attr): Update. + * gfortran.h (symbol_attribute): Add 'oacc_routine_nohost' member. + (gfc_omp_clauses): Add 'nohost' member. + * module.c (ab_attribute): Add 'AB_OACC_ROUTINE_NOHOST'. + (attr_bits, mio_symbol_attribute): Update. + * openmp.c (omp_mask2): Add 'OMP_CLAUSE_NOHOST'. + (gfc_match_omp_clauses): Handle 'OMP_CLAUSE_NOHOST'. + (OACC_ROUTINE_CLAUSES): Add 'OMP_CLAUSE_NOHOST'. + (gfc_match_oacc_routine): Update. + * trans-decl.c (add_attributes_to_decl): Update. + * trans-openmp.c (gfc_trans_omp_clauses): Likewise. + +2021-07-21 Harald Anlauf + + PR fortran/101514 + * target-memory.c (gfc_interpret_derived): Size of array component + of derived type can only be computed here for explicit shape. + * trans-types.c (gfc_get_nodesc_array_type): Do not dereference + NULL pointers. + +2021-07-21 Tobias Burnus + + * decl.c (gfc_verify_c_interop_param): Update for F2008 + F2018 + changes; reject unsupported bits with 'Error: Sorry,'. + * trans-expr.c (gfc_conv_procedure_call): Fix condition to + For using CFI descriptor with characters. + 2021-07-18 Harald Anlauf PR fortran/101084 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2a1f24b68d2..141e9482bde 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,90 @@ +2021-07-21 David Malcolm + + PR analyzer/101547 + * gcc.dg/analyzer/pr101547.c: New test. + +2021-07-21 David Malcolm + + PR analyzer/101522 + * g++.dg/analyzer/pr101522.C: New test. + +2021-07-21 Thomas Schwinge + Joseph Myers + Cesar Philippidis + + * c-c++-common/goacc/classify-routine-nohost.c: New file. + * c-c++-common/goacc/classify-routine.c: Update. + * c-c++-common/goacc/routine-2.c: Likewise. + * c-c++-common/goacc/routine-nohost-1.c: New file. + * c-c++-common/goacc/routine-nohost-2.c: Likewise. + * g++.dg/goacc/template.C: Update. + * gfortran.dg/goacc/classify-routine-nohost.f95: New file. + * gfortran.dg/goacc/classify-routine.f95: Update. + * gfortran.dg/goacc/pure-elemental-procedures-2.f90: Likewise. + * gfortran.dg/goacc/routine-6.f90: Likewise. + * gfortran.dg/goacc/routine-intrinsic-2.f: Likewise. + * gfortran.dg/goacc/routine-module-1.f90: Likewise. + * gfortran.dg/goacc/routine-module-2.f90: Likewise. + * gfortran.dg/goacc/routine-module-3.f90: Likewise. + * gfortran.dg/goacc/routine-module-mod-1.f90: Likewise. + * gfortran.dg/goacc/routine-multiple-directives-1.f90: Likewise. + * gfortran.dg/goacc/routine-multiple-directives-2.f90: Likewise. + +2021-07-21 Thomas Schwinge + + * g++.dg/goacc/template.C: Fix '#pragma atomic update' typo. + +2021-07-21 David Malcolm + + * gcc.dg/analyzer/explode-2.c: Remove xfail. + * gcc.dg/analyzer/explode-2a.c: Remove expected leak warning on + while stmt. + * gcc.dg/analyzer/phi-2.c: New test. + +2021-07-21 Bill Schmidt + + PR target/101531 + * gcc.target/powerpc/pr101129.c: Adjust. + +2021-07-21 H.J. Lu + + PR target/101549 + * gcc.target/i386/crc32-6.c: New test. + +2021-07-21 Harald Anlauf + + PR fortran/101514 + * gfortran.dg/pr101514.f90: New test. + +2021-07-21 Jakub Jelinek + + PR middle-end/101535 + * c-c++-common/gomp/pr101535-1.c: New test. + * c-c++-common/gomp/pr101535-2.c: New test. + +2021-07-21 Jakub Jelinek + + PR c++/101516 + * g++.dg/gomp/pr101516.C: New test. + +2021-07-21 Tobias Burnus + + * gfortran.dg/iso_c_binding_char_1.f90: Update dg-error. + * gfortran.dg/pr32599.f03: Use -std=-f2003 + update comment. + * gfortran.dg/bind_c_char_10.f90: New test. + * gfortran.dg/bind_c_char_6.f90: New test. + * gfortran.dg/bind_c_char_7.f90: New test. + * gfortran.dg/bind_c_char_8.f90: New test. + * gfortran.dg/bind_c_char_9.f90: New test. + +2021-07-21 Richard Sandiford + + * gcc.dg/unroll-10.c: New test. + +2021-07-21 Richard Sandiford + + * gcc.dg/unroll-9.c: New test/ + 2021-07-20 Martin Sebor PR middle-end/101397 diff --git a/libatomic/ChangeLog b/libatomic/ChangeLog index a24ca8ae364..04b53ef17e5 100644 --- a/libatomic/ChangeLog +++ b/libatomic/ChangeLog @@ -1,3 +1,9 @@ +2021-07-21 Martin Sebor + + PR bootstrap/101379 + * config/linux/arm/host-config.h (__kernel_helper_version): New + function. Adjust shadow macro. + 2021-01-15 Jakub Jelinek PR target/70454 diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index d1daeb8898c..59fa36c0f9b 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,15 @@ +2021-07-21 Thomas Schwinge + Joseph Myers + Cesar Philippidis + + * testsuite/libgomp.oacc-c-c++-common/routine-nohost-1.c: New + file. + * testsuite/libgomp.oacc-c-c++-common/routine-nohost-2.c: + Likewise. + * testsuite/libgomp.oacc-c-c++-common/routine-nohost-2_2.c: + Likewise. + * testsuite/libgomp.oacc-fortran/routine-nohost-1.f90: Likewise. + 2021-07-20 Thomas Schwinge PR target/101484 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 3267ea0e761..bc7ce61bd72 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,10 @@ +2021-07-21 Jonathan Wakely + + PR libstdc++/101542 + * include/ext/rope (sequence_buffer): Add move constructor and + move assignment operator. + * testsuite/ext/rope/101542.cc: New test. + 2021-07-20 Jonathan Wakely PR libstdc++/101510