diff options
author | GCC Administrator <gccadmin@gcc.gnu.org> | 2021-09-02 00:16:59 +0000 |
---|---|---|
committer | GCC Administrator <gccadmin@gcc.gnu.org> | 2021-09-02 00:16:59 +0000 |
commit | e11c6046f9c8bc891a67f37f0260ef4ece482f5d (patch) | |
tree | a3d71d23785568530f760b9953fb09d363d22793 | |
parent | 165446a1e81f5bb9597289e783af9ee67e1fe5ba (diff) | |
download | gcc-e11c6046f9c8bc891a67f37f0260ef4ece482f5d.zip gcc-e11c6046f9c8bc891a67f37f0260ef4ece482f5d.tar.gz gcc-e11c6046f9c8bc891a67f37f0260ef4ece482f5d.tar.bz2 |
Daily bump.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | gcc/ChangeLog | 134 | ||||
-rw-r--r-- | gcc/DATESTAMP | 2 | ||||
-rw-r--r-- | gcc/c-family/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/c/ChangeLog | 24 | ||||
-rw-r--r-- | gcc/cp/ChangeLog | 39 | ||||
-rw-r--r-- | gcc/fortran/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/objc/ChangeLog | 29 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog | 113 | ||||
-rw-r--r-- | libcpp/ChangeLog | 39 | ||||
-rw-r--r-- | libgcc/ChangeLog | 4 | ||||
-rw-r--r-- | libiberty/ChangeLog | 7 | ||||
-rw-r--r-- | libphobos/ChangeLog | 9 |
13 files changed, 413 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2021-09-01 YunQiang Su <syq@debian.org> + + * MAINTAINERS: Add myself for write after approval. + 2021-08-31 Andrew Burgess <andrew.burgess@embecosm.com> * 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 <jlaw@localhost.localdomain> + + 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 <apinski@marvell.com> + + PR target/101934 + * config/aarch64/aarch64.c (aarch64_expand_setmem): + Check STRICT_ALIGNMENT before creating an overlapping + store. + +2021-09-01 Martin Sebor <msebor@redhat.com> + + * 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 <thomas@codesourcery.com> + + * tree.c (walk_tree_1) <OMP_CLAUSE>: Simplify. + +2021-09-01 Iain Sandoe <iain@sandoe.co.uk> + + * 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 <jakub@redhat.com> + + 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 <mliska@suse.cz> + + * 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 <rguenther@suse.de> + + 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 <rguenther@suse.de> + + 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 <yunqiang.su@cipunited.com> + + * 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 <jakub@redhat.com> + + 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 <hongtao.liu@intel.com> + + * emit-rtl.c (validate_subreg): Get rid of all float-int + special cases. + +2021-09-01 liuhongt <hongtao.liu@intel.com> + + Revert: + 2021-08-30 liuhongt <hongtao.liu@intel.com> + + * 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 <thomas@codesourcery.com> * tree.c (walk_tree_1) <OMP_CLAUSE_TILE>: 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 <iain@sandoe.co.uk> + + * c-attribs.c (handle_unavailable_attribute): New. + 2021-08-30 Jason Merrill <jason@redhat.com> * 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 <iain@sandoe.co.uk> + + * 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 <roger@nextmovesoftware.com> + Joseph Myers <joseph@codesourcery.com> + + 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 <marcel@codesourcery.com> * 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 <iain@sandoe.co.uk> + + * 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 <iain@sandoe.co.uk> + + * coroutines.cc (build_actor_fn): Add begin/finish clauses + to the initial test in the actor function. + +2021-09-01 Iain Sandoe <iain@sandoe.co.uk> + + * coroutines.cc (await_statement_walker): Use build_stmt and + add_stmt instead of build1 and finish_expr_stmt. + 2021-08-31 Jason Merrill <jason@redhat.com> * 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 <anlauf@gmx.de> + + 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 <anlauf@gmx.de> 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 <iain@sandoe.co.uk> + + 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 <iain@sandoe.co.uk> + + * 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 <iain@sandoe.co.uk> * 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 <jlaw@localhost.localdomain> + + PR tree-optimization/102152 + * gcc.dg/pr102152.c: New test + +2021-09-01 Andrew Pinski <apinski@marvell.com> + + PR target/101934 + * gcc.target/aarch64/memset-strict-align-1.c: New test. + +2021-09-01 Jakub Jelinek <jakub@redhat.com> + + 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 <apinski@marvell.com> + + PR testsuite/51748 + * gcc.misc-tests/linkage.exp: Add mips*-linux-* support. + +2021-09-01 Martin Sebor <msebor@redhat.com> + + * 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 <jakub@redhat.com> + + 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 <polacek@redhat.com> + + PR c++/101592 + * g++.dg/warn/Wlogical-op-3.C: New test. + +2021-09-01 Iain Sandoe <iain@sandoe.co.uk> + + * 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 <jakub@redhat.com> + + PR tree-optimization/102124 + * gcc.dg/torture/pr102124.c: New test. + +2021-09-01 Richard Biener <rguenther@suse.de> + + 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 <rguenther@suse.de> + + PR tree-optimization/102139 + * gcc.dg/torture/pr102139.c: New testcase. + +2021-09-01 Jakub Jelinek <jakub@redhat.com> + + PR tree-optimization/102141 + * gcc.dg/pr102141.c: New test. + +2021-09-01 Richard Biener <rguenther@suse.de> + + PR tree-optimization/102149 + * gcc.dg/torture/pr102149.c: New testcase. + +2021-09-01 Roger Sayle <roger@nextmovesoftware.com> + Joseph Myers <joseph@codesourcery.com> + + PR c/79412 + * gcc.dg/pr79412.c: New test case. + * gcc.dg/typedef-var-2.c: Update expeted errors. + 2021-08-31 Harald Anlauf <anlauf@gmx.de> 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 <jakub@redhat.com> + + 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 <jason@redhat.com> + + * macro.c (replace_args): When __VA_OPT__ is on the LHS of ##, + remove trailing avoid_paste tokens. + +2021-09-01 Jakub Jelinek <jakub@redhat.com> + + 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 <msebor@redhat.com> * 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 <sebastian.huber@embedded-brains.de> + + * unwind-arm-common.inc (abort): Remove. + 2021-08-31 Richard Sandiford <richard.sandiford@arm.com> * 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 <iain@sandoe.co.uk> + + * 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 <ibuclaw@gdcproject.org> * 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 <ibuclaw@gdcproject.org> + + * m4/druntime/os.m4: Update comment for DRUNTIME_OS_SOURCES. + +2021-09-01 Iain Buclaw <ibuclaw@gdcproject.org> + + * src/Makefile.am: Don't add zlib when ENABLE_LIBDRUNTIME_ONLY. + * src/Makefile.in: Regenerate. + 2021-08-30 Iain Buclaw <ibuclaw@gdcproject.org> * configure: Regenerate. |