From e11c6046f9c8bc891a67f37f0260ef4ece482f5d Mon Sep 17 00:00:00 2001 From: GCC Administrator Date: Thu, 2 Sep 2021 00:16:59 +0000 Subject: [PATCH] Daily bump. --- ChangeLog | 4 ++ gcc/ChangeLog | 134 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c-family/ChangeLog | 4 ++ gcc/c/ChangeLog | 24 +++++++++ gcc/cp/ChangeLog | 39 ++++++++++++++ gcc/fortran/ChangeLog | 6 +++ gcc/objc/ChangeLog | 29 +++++++++++ gcc/testsuite/ChangeLog | 113 ++++++++++++++++++++++++++++++++++++++++ libcpp/ChangeLog | 39 ++++++++++++++ libgcc/ChangeLog | 4 ++ libiberty/ChangeLog | 7 +++ libphobos/ChangeLog | 9 ++++ 13 files changed, 413 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c72cbca..1c3ddb3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2021-09-01 YunQiang Su + + * MAINTAINERS: Add myself for write after approval. + 2021-08-31 Andrew Burgess * Makefile.def: Add all-gdb dependency on all-libbacktrace. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2cd34aa..d7f4787 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,137 @@ +2021-09-01 Jeff Law + + PR tree-optimization/102152 + * tree-ssa-dom.c (dom_opt_dom_walker::optimize_stmt): Reduce a vector + comparison to a scalar comparison before calling + update_stmt_if_modified. + +2021-09-01 Andrew Pinski + + PR target/101934 + * config/aarch64/aarch64.c (aarch64_expand_setmem): + Check STRICT_ALIGNMENT before creating an overlapping + store. + +2021-09-01 Martin Sebor + + * gimple-ssa-warn-access.cc (get_size_range): Add argument. + (check_access): Pass additional argument. + (check_memop_access): Remove template and make a member function. + (maybe_check_dealloc_call): Make a pass_waccess member function. + (class pass_waccess): Add, rename, and remove members. + (pass_waccess::pass_waccess): Adjust to name change. + (pass_waccess::~pass_waccess): Same. + (check_alloca): Make a member function. + (check_alloc_size_call): Same. + (check_strcat): Same. + (check_strncat): Same. + (check_stxcpy): Same. + (check_stxncpy): Same. + (check_strncmp): Same. + (maybe_warn_rdwr_sizes): Rename... + (pass_waccess::maybe_check_access_sizes): ...to this. + (pass_waccess::check_call): Adjust to name changes. + (pass_waccess::maybe_check_dealloc_call): Make a pass_waccess member + function. + (pass_waccess::execute): Adjust to name changes. + * gimple-ssa-warn-access.h (check_memop_access): Remove. + * pointer-query.cc (access_ref::phi): Handle null pointer. + (access_ref::inform_access): Same. + (pointer_query::put_ref): Modify a cached value, not a copy of it. + (pointer_query::dump): New function. + (compute_objsize_r): Avoid overwriting access_ref::bndrng. Cache + more results. + * pointer-query.h (pointer_query::dump): Declare. + * tree-ssa-strlen.c (get_range): Simplify. Use function query. + (dump_strlen_info): Use function query. + (printf_strlen_execute): Factor code out into pointer_query::put_ref. + +2021-09-01 Thomas Schwinge + + * tree.c (walk_tree_1) : Simplify. + +2021-09-01 Iain Sandoe + + * doc/extend.texi: Document unavailable attribute. + * print-tree.c (print_node): Handle unavailable attribute. + * tree-core.h (struct tree_base): Add a bit to carry unavailability. + * tree.c (error_unavailable_use): New. + * tree.h (TREE_UNAVAILABLE): New. + (error_unavailable_use): New. + +2021-09-01 Jakub Jelinek + + PR tree-optimization/102124 + * tree-vect-patterns.c (vect_recog_widen_op_pattern): For ORIG_CODE + MINUS_EXPR, if itype is unsigned with smaller precision than type, + add an extra cast to signed variant of itype to ensure sign-extension. + +2021-09-01 Martin Liska + + * graph.c (draw_cfg_node_succ_edges): Do not color fallthru + edges and rather use colors for TRUE and FALSE edges. + +2021-09-01 Richard Biener + + PR tree-optimization/93491 + * tree-ssa-pre.c (compute_avail): Set BB_MAY_NOTRETURN + after processing the stmt itself. Do not consider + pure functions possibly not returning. Properly avoid + adding possibly trapping calls to EXP_GEN when there's + a preceeding possibly not returning call. + * tree-ssa-sccvn.c (vn_reference_may_trap): Conservatively + not handle calls. + +2021-09-01 Richard Biener + + PR tree-optimization/102139 + * tree-vectorizer.h (vec_base_alignments): Adjust hash-map + type to record a std::pair of the stmt-info and the innermost + loop behavior. + (dr_vec_info::group): New member. + * tree-vect-data-refs.c (vect_record_base_alignment): Adjust. + (vect_compute_data_ref_alignment): Verify the recorded + base alignment can be used. + (data_ref_pair): Remove. + (dr_group_sort_cmp): Adjust. + (vect_analyze_data_ref_accesses): Store the group-ID in the + dr_vec_info and operate on a vector of dr_vec_infos. + +2021-09-01 YunQiang Su + + * read-md.c (md_reader::handle_enum): support value assignation. + * doc/md.texi: record define_c_enum value assignation support. + +2021-09-01 Jakub Jelinek + + PR tree-optimization/102141 + * gimple-ssa-store-merging.c (bswap_view_convert): Add BEFORE + argument. If false, emit stmts after gsi instead of before, and + with GSI_NEW_STMT. + (bswap_replace): Adjust callers. When converting output of bswap, + emit VIEW_CONVERT prepratation stmts after a copy of gsi instead + of before it. + +2021-09-01 liuhongt + + * emit-rtl.c (validate_subreg): Get rid of all float-int + special cases. + +2021-09-01 liuhongt + + Revert: + 2021-08-30 liuhongt + + * expmed.c (extract_bit_field_1): Make sure we're playing with + integral modes before call extract_integral_bit_field. + (extract_integral_bit_field): Add a parameter of type + scalar_int_mode which corresponds to of tmode. + And call extract_and_convert_fixed_bit_field instead of + extract_fixed_bit_field and convert_extracted_bit_field. + (extract_and_convert_fixed_bit_field): New function, it's a + combination of extract_fixed_bit_field and + convert_extracted_bit_field. + 2021-08-31 Thomas Schwinge * tree.c (walk_tree_1) : Handle three operands. diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 97ea5d4..c1532a2 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20210901 +20210902 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index d3a48ff..a5bf82c 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,7 @@ +2021-09-01 Iain Sandoe + + * c-attribs.c (handle_unavailable_attribute): New. + 2021-08-30 Jason Merrill * c.opt: Add -Wmissing-requires. diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index a175f36..e501dc9 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,27 @@ +2021-09-01 Iain Sandoe + + * c-decl.c (enum deprecated_states): Add unavailable state. + (merge_decls): Copy unavailability. + (quals_from_declspecs): Handle unavailable case. + (start_decl): Amend the logic handling suppression of nested + deprecation states to include unavailability. + (smallest_type_quals_location): Amend comment. + (grokdeclarator): Handle the unavailable deprecation state. + (declspecs_add_type): Set TREE_UNAVAILABLE from the decl specs. + * c-tree.h (struct c_declspecs): Add unavailable_p. + * c-typeck.c (build_component_ref): Handle unavailability. + (build_external_ref): Likewise. + +2021-09-01 Roger Sayle + Joseph Myers + + PR c/79412 + * c-decl.c (duplicate_decls): On significant mismatches, mark the + types of both (non-function) decls as error_mark_node, so that the + middle-end can see the code is malformed. + (free_attr_access_data): Don't process if the type has been set to + error_mark_node. + 2021-08-31 Marcel Vollweiler * c-parser.c (c_parser_omp_clause_device): Parse device-modifiers 'device_num' diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index b443247..d969b31 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,42 @@ +2021-09-01 Iain Sandoe + + * call.c (build_over_call): Handle unavailable state in addition to + deprecation. + * class.c (type_build_ctor_call): Likewise. + (type_build_dtor_call): Likewise. + * cp-tree.h: Rename cp_warn_deprecated_use to + cp_handle_deprecated_or_unavailable. + * decl.c (duplicate_decls): Merge unavailability. + (grokdeclarator): Handle unavailability in addition to deprecation. + (type_is_unavailable): New. + (grokparms): Handle unavailability in addition to deprecation. + * decl.h (enum deprecated_states): Add + UNAVAILABLE_DEPRECATED_SUPPRESS. + * decl2.c (cplus_decl_attributes): Propagate unavailability to + templates. + (cp_warn_deprecated_use): Rename to ... + (cp_handle_deprecated_or_unavailable): ... this and amend to handle + the unavailable case. It remains a warning in the case of deprecation + but becomes an error in the case of unavailability. + (cp_warn_deprecated_use_scopes): Handle unavailability. + (mark_used): Likewise. + * parser.c (cp_parser_template_name): Likewise. + (cp_parser_template_argument): Likewise. + (cp_parser_parameter_declaration_list): Likewise. + * typeck.c (build_class_member_access_expr): Likewise. + (finish_class_member_access_expr): Likewise. + * typeck2.c (build_functional_cast_1): Likewise. + +2021-09-01 Iain Sandoe + + * coroutines.cc (build_actor_fn): Add begin/finish clauses + to the initial test in the actor function. + +2021-09-01 Iain Sandoe + + * coroutines.cc (await_statement_walker): Use build_stmt and + add_stmt instead of build1 and finish_expr_stmt. + 2021-08-31 Jason Merrill * coroutines.cc (flatten_await_stmt): Fix copyo. diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index e30d165..9fafc5e 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,9 @@ +2021-09-01 Harald Anlauf + + PR fortran/56985 + * resolve.c (resolve_common_vars): Fix grammar and improve wording + of error message rejecting an unlimited polymorphic in COMMON. + 2021-08-31 Harald Anlauf PR fortran/100950 diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog index e2d452f..668be66 100644 --- a/gcc/objc/ChangeLog +++ b/gcc/objc/ChangeLog @@ -1,3 +1,32 @@ +2021-09-01 Iain Sandoe + + PR objc/101718 + * objc-next-runtime-abi-02.c (build_v2_build_objc_method_call): + Revise for cases where scalar objects use an sret parameter. + (next_runtime_abi_02_build_objc_method_call): Likwise. + +2021-09-01 Iain Sandoe + + * objc-act.c (objc_add_property_declaration): Register unavailable + attribute. + (maybe_make_artificial_property_decl): Set available. + (objc_maybe_build_component_ref): Generalise to the method prototype + to count availability. + (objc_build_class_component_ref): Likewise. + (build_private_template): Likewise. + (objc_decl_method_attributes): Handle unavailable attribute. + (lookup_method_in_hash_lists): Amend comments. + (objc_finish_message_expr): Handle unavailability in addition to + deprecation. + (start_class): Likewise. + (finish_class): Likewise. + (lookup_protocol): Likewise. + (objc_declare_protocol): Likewise. + (start_protocol): Register unavailable attribute. + (really_start_method): Likewise. + (objc_gimplify_property_ref): Emit error on encountering an + unavailable entity (and a warning for a deprecated one). + 2021-08-19 Iain Sandoe * objc-next-runtime-abi-02.c (objc_next_runtime_abi_02_init): diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1bab525..cef16da 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,116 @@ +2021-09-01 Jeff Law + + PR tree-optimization/102152 + * gcc.dg/pr102152.c: New test + +2021-09-01 Andrew Pinski + + PR target/101934 + * gcc.target/aarch64/memset-strict-align-1.c: New test. + +2021-09-01 Jakub Jelinek + + PR c++/100977 + * g++.dg/cpp23/normalize1.C: New test. + * g++.dg/cpp23/normalize2.C: New test. + * g++.dg/cpp23/normalize3.C: New test. + * g++.dg/cpp23/normalize4.C: New test. + * g++.dg/cpp23/normalize5.C: New test. + * g++.dg/cpp23/normalize6.C: New test. + * g++.dg/cpp23/normalize7.C: New test. + * g++.dg/cpp23/ucnid-1-utf8.C: New test. + * g++.dg/cpp23/ucnid-2-utf8.C: New test. + * gcc.dg/cpp/ucnid-4.c: Don't expect + "not valid at the start of an identifier" errors. + * gcc.dg/cpp/ucnid-4-utf8.c: Likewise. + * gcc.dg/cpp/ucnid-5-utf8.c: New test. + +2021-09-01 Andrew Pinski + + PR testsuite/51748 + * gcc.misc-tests/linkage.exp: Add mips*-linux-* support. + +2021-09-01 Martin Sebor + + * gcc.dg/Wstringop-overflow-11.c: Remove xfails. + * gcc.dg/Wstringop-overflow-12.c: Same. + * gcc.dg/Wstringop-overflow-43.c: Add xfails. + * gcc.dg/Wstringop-overflow-73.c: New test. + +2021-09-01 Jakub Jelinek + + PR preprocessor/101488 + * c-c++-common/cpp/va-opt-3.c: Adjust expected output. + * c-c++-common/cpp/va-opt-7.c: New test. + +2021-09-01 Marek Polacek + + PR c++/101592 + * g++.dg/warn/Wlogical-op-3.C: New test. + +2021-09-01 Iain Sandoe + + * g++.dg/ext/attr-unavailable-1.C: New test. + * g++.dg/ext/attr-unavailable-2.C: New test. + * g++.dg/ext/attr-unavailable-3.C: New test. + * g++.dg/ext/attr-unavailable-4.C: New test. + * g++.dg/ext/attr-unavailable-5.C: New test. + * g++.dg/ext/attr-unavailable-6.C: New test. + * g++.dg/ext/attr-unavailable-7.C: New test. + * g++.dg/ext/attr-unavailable-8.C: New test. + * g++.dg/ext/attr-unavailable-9.C: New test. + * gcc.dg/attr-unavailable-1.c: New test. + * gcc.dg/attr-unavailable-2.c: New test. + * gcc.dg/attr-unavailable-3.c: New test. + * gcc.dg/attr-unavailable-4.c: New test. + * gcc.dg/attr-unavailable-5.c: New test. + * gcc.dg/attr-unavailable-6.c: New test. + * obj-c++.dg/attributes/method-unavailable-1.mm: New test. + * obj-c++.dg/attributes/method-unavailable-2.mm: New test. + * obj-c++.dg/attributes/method-unavailable-3.mm: New test. + * obj-c++.dg/property/at-property-unavailable-1.mm: New test. + * obj-c++.dg/property/at-property-unavailable-2.mm: New test. + * obj-c++.dg/property/dotsyntax-unavailable-1.mm: New test. + * objc.dg/attributes/method-unavailable-1.m: New test. + * objc.dg/attributes/method-unavailable-2.m: New test. + * objc.dg/attributes/method-unavailable-3.m: New test. + * objc.dg/property/at-property-unavailable-1.m: New test. + * objc.dg/property/at-property-unavailable-2.m: New test. + * objc.dg/property/dotsyntax-unavailable-1.m: New test. + +2021-09-01 Jakub Jelinek + + PR tree-optimization/102124 + * gcc.dg/torture/pr102124.c: New test. + +2021-09-01 Richard Biener + + PR tree-optimization/93491 + * gcc.dg/torture/pr93491.c: New testcase. + * gcc.dg/tree-ssa/pr88087.c: Change to valid PRE opportunity. + +2021-09-01 Richard Biener + + PR tree-optimization/102139 + * gcc.dg/torture/pr102139.c: New testcase. + +2021-09-01 Jakub Jelinek + + PR tree-optimization/102141 + * gcc.dg/pr102141.c: New test. + +2021-09-01 Richard Biener + + PR tree-optimization/102149 + * gcc.dg/torture/pr102149.c: New testcase. + +2021-09-01 Roger Sayle + Joseph Myers + + PR c/79412 + * gcc.dg/pr79412.c: New test case. + * gcc.dg/typedef-var-2.c: Update expeted errors. + 2021-08-31 Harald Anlauf PR fortran/100950 diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 2585deb..35f952d 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,42 @@ +2021-09-01 Jakub Jelinek + + PR c++/100977 + * include/cpplib.h (struct cpp_options): Add cxx23_identifiers. + * charset.c (CXX23, NXX23): New enumerators. + (CID, NFC, NKC, CTX): Renumber. + (ucn_valid_in_identifier): Implement P1949R7 - use CXX23 and + NXX23 flags for cxx23_identifiers. For start character in + non-pedantic mode, allow characters that are allowed as start + characters in any of the supported language modes, rather than + disallowing characters allowed only as non-start characters in + current mode but for characters from other language modes allowing + them even if they are never allowed at start. + * init.c (struct lang_flags): Add cxx23_identifiers. + (lang_defaults): Add cxx23_identifiers column. + (cpp_set_lang): Initialize CPP_OPTION (pfile, cxx23_identifiers). + * lex.c (warn_about_normalization): If cxx23_identifiers, use + cpp_pedwarning_with_line instead of cpp_warning_with_line for + "is not in NFC" diagnostics. + * makeucnid.c: Adjust usage comment. + (CXX23, NXX23): New enumerators. + (all_languages): Add CXX23. + (not_NFC, not_NFKC, maybe_not_NFC): Renumber. + (read_derivedcore): New function. + (write_table): Print also CXX23 and NXX23 columns. + (main): Require 5 arguments instead of 4, call read_derivedcore. + * ucnid.h: Regenerated using Unicode 13.0.0 files. + +2021-09-01 Jason Merrill + + * macro.c (replace_args): When __VA_OPT__ is on the LHS of ##, + remove trailing avoid_paste tokens. + +2021-09-01 Jakub Jelinek + + PR preprocessor/101488 + * macro.c (replace_args): Fix up handling of CPP_PADDING tokens at the + start or end of __VA_OPT__ arguments when preceeded or followed by ##. + 2021-08-31 Martin Sebor * include/line-map.h (class rich_location): Disable copying and diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 3d9bd00..593e642 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,7 @@ +2021-09-01 Sebastian Huber + + * unwind-arm-common.inc (abort): Remove. + 2021-08-31 Richard Sandiford * config/aarch64/value-unwind.h: Add missing runtime exception diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index ced7173..7c337c2 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,10 @@ +2021-09-01 Iain Sandoe + + * configure: Regenerate. + * configure.ac: Do not search for sbrk on Darwin. + * xmalloc.c: Do not declare sbrk unless it has been found + by configure. + 2021-08-29 Iain Buclaw * d-demangle.c (dlang_identifier): Skip over fake parent manglings. diff --git a/libphobos/ChangeLog b/libphobos/ChangeLog index d9efdad..fa1aef7 100644 --- a/libphobos/ChangeLog +++ b/libphobos/ChangeLog @@ -1,3 +1,12 @@ +2021-09-01 Iain Buclaw + + * m4/druntime/os.m4: Update comment for DRUNTIME_OS_SOURCES. + +2021-09-01 Iain Buclaw + + * src/Makefile.am: Don't add zlib when ENABLE_LIBDRUNTIME_ONLY. + * src/Makefile.in: Regenerate. + 2021-08-30 Iain Buclaw * configure: Regenerate. -- 2.7.4