Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Sat, 18 Dec 2021 00:16:23 +0000 (00:16 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Sat, 18 Dec 2021 00:16:23 +0000 (00:16 +0000)
ChangeLog
gcc/ChangeLog
gcc/DATESTAMP
gcc/c-family/ChangeLog
gcc/c/ChangeLog
gcc/cp/ChangeLog
gcc/testsuite/ChangeLog
libgcc/ChangeLog

index b4023cc..8ac5502 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2021-12-17  Martin Liska  <mliska@suse.cz>
+
+       * config.sub: Sync from master.
+
+2021-12-17  Martin Liska  <mliska@suse.cz>
+
+       Revert:
+       2021-12-16  Matthias Seidel  <mseidel@apache.org>
+
+       * config.sub: Fix typo.
+
 2021-12-16  Matthias Seidel  <mseidel@apache.org>
 
        * config.sub: Fix typo.
index 02e8f71..4166e06 100644 (file)
@@ -1,3 +1,133 @@
+2021-12-17  Marek Polacek  <polacek@redhat.com>
+
+       PR c/103649
+       * attribs.c (handle_ignored_attributes_option): Create the fake
+       attribute with max_length == -2.
+       (attribute_ignored_p): New overloads.
+       * attribs.h (attribute_ignored_p): Declare them.
+       * tree-core.h (struct attribute_spec): Document that max_length
+       can be -2.
+
+2021-12-17  Segher Boessenkool  <segher@kernel.crashing.org>
+
+       PR target/103624
+       * config/rs6000/rs6000-builtins.def (__builtin_darn): Expand to
+       darn_64_di.  Add {32bit} attribute.  Return long.
+       (__builtin_darn_32): Expand to darn_32_di.  Add {32bit} attribute.
+       Return long.
+       (__builtin_darn_raw): Expand to darn_raw_di.  Add {32bit} attribute.
+       Return long.
+       * config/rs6000/rs6000-call.c (rs6000_expand_builtin): Expand the darn
+       builtins to the _si variants for -m32.
+       * config/rs6000/rs6000.md (UNSPECV_DARN_32, UNSPECV_DARN_RAW): Delete.
+       (UNSPECV_DARN): Update comment.
+       (darn_32, darn_raw, darn): Delete.
+       (darn_32_<mode>, darn_64_<mode>, darn_raw_<mode> for GPR): New.
+       (@darn<mode> for GPR): New.
+
+2021-12-17  Bill Schmidt  <wschmidt@linux.ibm.com>
+
+       * config/rs6000/rs6000-overload.def (__builtin_vec_promote): Add second
+       argument.
+
+2021-12-17  Richard Sandiford  <richard.sandiford@arm.com>
+
+       PR tree-optimization/103744
+       * tree-vect-stmts.c (vectorizable_load): Handle multi-vector
+       SLP gather loads.
+
+2021-12-17  Martin Liska  <mliska@suse.cz>
+
+       * doc/invoke.texi: Rename to -fstack-protector.
+
+2021-12-17  Martin Liska  <mliska@suse.cz>
+
+       * doc/invoke.texi: Fix spelling issues.
+
+2021-12-17  Tamar Christina  <tamar.christina@arm.com>
+
+       PR tree-optimization/103741
+       * tree-vect-stmts.c (vectorizable_operation): Check for boolean.
+
+2021-12-17  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * config/darwin-driver.c (darwin_driver_init): Exit from the
+       option handling early if the command line is definitely enpty.
+       * config/darwin.h (SUBTARGET_DRIVER_SELF_SPECS): Remove
+       setting for the default content of weak_reference_mismatches.
+
+2021-12-17  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * config/rs6000/darwin.h: Drop trailing _x from the
+       builtin_decls array name.
+
+2021-12-17  Haochen Jiang  <haochen.jiang@intel.com>
+
+       PR target/100738
+       * config/i386/sse.md (*avx_cmp<mode>3_lt, *avx_cmp<mode>3_ltint):
+       Remove MEM_P restriction and add force_reg for operands[2].
+       (*avx_cmp<mode>3_ltint_not): Add new define_insn_and_split.
+
+2021-12-17  Siddhesh Poyarekar  <siddhesh@gotplt.org>
+
+       * builtins.def (BUILT_IN_DYNAMIC_OBJECT_SIZE): New builtin.
+       * tree-object-size.h: Move object size type bits enum from
+       tree-object-size.c and add new value OST_DYNAMIC.
+       * builtins.c (expand_builtin, fold_builtin_2): Handle it.
+       (fold_builtin_object_size): Handle new builtin and adjust for
+       change to compute_builtin_object_size.
+       * tree-object-size.c: Include builtins.h.
+       (compute_builtin_object_size): Adjust.
+       (early_object_sizes_execute_one,
+       dynamic_object_sizes_execute_one): New functions.
+       (object_sizes_execute): Rename insert_min_max_p argument to
+       early.  Handle BUILT_IN_DYNAMIC_OBJECT_SIZE and call the new
+       functions.
+       * doc/extend.texi (__builtin_dynamic_object_size): Document new
+       builtin.
+
+2021-12-17  Siddhesh Poyarekar  <siddhesh@gotplt.org>
+
+       * tree-object-size.h (compute_builtin_object_size): Return tree
+       instead of HOST_WIDE_INT.
+       * builtins.c (fold_builtin_object_size): Adjust.
+       * gimple-fold.c (gimple_fold_builtin_strncat): Likewise.
+       * ubsan.c (instrument_object_size): Likewise.
+       * tree-object-size.c (object_size): New structure.
+       (object_sizes): Change type to vec<object_size>.
+       (initval): New function.
+       (unknown): Use it.
+       (size_unknown_p, size_initval, size_unknown): New functions.
+       (object_sizes_unknown_p): Use it.
+       (object_sizes_get): Return tree.
+       (object_sizes_initialize): Rename from object_sizes_set_force
+       and set VAL parameter type as tree.  Add new parameter WHOLEVAL.
+       (object_sizes_set): Set VAL parameter type as tree and adjust
+       implementation.  Add new parameter WHOLEVAL.
+       (size_for_offset): New function.
+       (decl_init_size): Adjust comment.
+       (addr_object_size): Change PSIZE parameter to tree and adjust
+       implementation.  Add new parameter PWHOLESIZE.
+       (alloc_object_size): Return tree.
+       (compute_builtin_object_size): Return tree in PSIZE.
+       (expr_object_size, call_object_size, unknown_object_size):
+       Adjust for object_sizes_set change.
+       (merge_object_sizes): Drop OFFSET parameter and adjust
+       implementation for tree change.
+       (plus_stmt_object_size): Call collect_object_sizes_for directly
+       instead of merge_object_size and call size_for_offset to get net
+       size.
+       (cond_expr_object_size, collect_object_sizes_for,
+       object_sizes_execute): Adjust for change of type from
+       HOST_WIDE_INT to tree.
+       (check_for_plus_in_loops_1): Likewise and skip non-positive
+       offsets.
+
+2021-12-17  Jason Merrill  <jason@redhat.com>
+
+       PR c++/103681
+       * common.opt (fabi-version): Add v17.
+
 2021-12-16  Uroš Bizjak  <ubizjak@gmail.com>
 
        PR target/103571
index 7b090eb..676dfba 100644 (file)
@@ -1 +1 @@
-20211217
+20211218
index e2dcb93..da83507 100644 (file)
@@ -1,3 +1,8 @@
+2021-12-17  Jason Merrill  <jason@redhat.com>
+
+       PR c++/103681
+       * c-opts.c (c_common_post_options): Update defaults.
+
 2021-12-16  Martin Liska  <mliska@suse.cz>
 
        PR target/103709
index e9c054d..212d4c7 100644 (file)
@@ -1,3 +1,11 @@
+2021-12-17  Marek Polacek  <polacek@redhat.com>
+
+       PR c/103649
+       * c-decl.c (c_warn_unused_attributes): Don't warn for
+       attribute_ignored_p.
+       * c-parser.c (c_parser_std_attribute): Skip parsing of the attribute
+       arguments when the attribute is ignored.
+
 2021-12-14  Jakub Jelinek  <jakub@redhat.com>
 
        PR c/103587
index b8a0726..a668f9f 100644 (file)
@@ -1,3 +1,48 @@
+2021-12-17  Marek Polacek  <polacek@redhat.com>
+
+       PR c/103649
+       * parser.c (cp_parser_declaration): Don't warn for attribute_ignored_p.
+       (cp_parser_std_attribute): Skip parsing of the attribute
+       arguments when the attribute is ignored.
+
+2021-12-17  Marek Polacek  <polacek@redhat.com>
+
+       PR c++/103749
+       * decl.c (lookup_and_check_tag): Give an error when a class was
+       declared as template but no template header has been provided.
+       * pt.c (do_class_deduction): Don't deduce CLASSTYPE_ERRONEOUS
+       types.
+
+2021-12-17  Iain Sandoe  <iain@sandoe.co.uk>
+
+       PR c++/100127
+       * coroutines.cc (coro_rewrite_function_body): Handle initial
+       await expressions that try to produce a reference value.
+
+2021-12-17  Iain Sandoe  <iain@sandoe.co.uk>
+
+       PR c++/100772
+       * coroutines.cc (morph_fn_to_coro): Convert function parms
+       from reference before constructing any operator-new args
+       list.
+
+2021-12-17  Jason Merrill  <jason@redhat.com>
+
+       * constraint.cc (deduce_concept_introduction): Adjust comment.
+
+2021-12-17  Jason Merrill  <jason@redhat.com>
+
+       PR c++/103681
+       * cp-tree.h (struct lang_type): Add non_pod_aggregate.
+       (CLASSTYPE_NON_POD_AGGREGATE): New.
+       * class.c (check_field_decls): Set it.
+       (check_bases_and_members): Check it.
+       (check_non_pod_aggregate): New.
+       (enum eoc_mode): New.
+       (end_of_class): Always include non-empty fields.
+       Add eoc_nv_or_dsize mode.
+       (include_empty_classes, layout_class_type): Adjust.
+
 2021-12-16  Marek Polacek  <polacek@redhat.com>
 
        PR c++/99980
index 919710f..f97d77d 100644 (file)
@@ -1,3 +1,117 @@
+2021-12-17  Marek Polacek  <polacek@redhat.com>
+
+       PR c/103649
+       * c-c++-common/Wno-attributes-6.c: New test.
+
+2021-12-17  David Edelsohn  <dje.gcc@gmail.com>
+
+       * gcc.target/powerpc/fold-vec-insert-float-p9.c
+
+2021-12-17  Olivier Hainque  <hainque@adacore.com>
+
+       * gcc.target/powerpc/pr97142.c: Add -mdejagnu-cpu=power7
+       to the dg-options.
+
+2021-12-17  Marek Polacek  <polacek@redhat.com>
+
+       PR c++/103749
+       * g++.dg/template/redecl4.C: Adjust dg-error.
+       * g++.dg/diagnostic/redeclaration-2.C: New test.
+
+2021-12-17  Segher Boessenkool  <segher@kernel.crashing.org>
+
+       PR target/103624
+       * gcc.target/powerpc/darn-0.c: Remove target clause.
+       * gcc.target/powerpc/darn-1.c: Remove target clause. Remove lp64
+       requirement.  Change return type to long.
+       * gcc.target/powerpc/darn-2.c: Ditto.
+       * gcc.target/powerpc/darn-3.c: Remove target clause.
+
+2021-12-17  Iain Sandoe  <iain@sandoe.co.uk>
+
+       PR c++/100127
+       * g++.dg/coroutines/pr100127.C: New test.
+
+2021-12-17  Iain Sandoe  <iain@sandoe.co.uk>
+
+       PR c++/100772
+       * g++.dg/coroutines/pr100772-a.C: New test.
+       * g++.dg/coroutines/pr100772-b.C: New test.
+
+2021-12-17  Iain Sandoe  <iain@sandoe.co.uk>
+
+       PR c++/96517
+       * g++.dg/coroutines/pr96517.C: New test.
+
+2021-12-17  David Edelsohn  <dje.gcc@gmail.com>
+
+       * gcc.target/powerpc/pragma-optimize.c: Require ifunc support.
+
+2021-12-17  Richard Sandiford  <richard.sandiford@arm.com>
+
+       PR tree-optimization/103744
+       * gcc.dg/vect/pr103744-1.c: New test.
+       * gcc.dg/vect/pr103744-2.c: Likewise.
+
+2021-12-17  Tamar Christina  <tamar.christina@arm.com>
+
+       PR tree-optimization/103741
+       * gcc.target/aarch64/pr103741.c: New test.
+
+2021-12-17  Haochen Jiang  <haochen.jiang@intel.com>
+
+       PR target/100738
+       * g++.target/i386/avx512vl-pr100738-1.C: New test.
+
+2021-12-17  Siddhesh Poyarekar  <siddhesh@gotplt.org>
+
+       * g++.dg/ext/builtin-dynamic-object-size1.C: New test.
+       * g++.dg/ext/builtin-dynamic-object-size2.C: Likewise.
+       * gcc.dg/builtin-dynamic-alloc-size.c: Likewise.
+       * gcc.dg/builtin-dynamic-object-size-1.c: Likewise.
+       * gcc.dg/builtin-dynamic-object-size-10.c: Likewise.
+       * gcc.dg/builtin-dynamic-object-size-11.c: Likewise.
+       * gcc.dg/builtin-dynamic-object-size-12.c: Likewise.
+       * gcc.dg/builtin-dynamic-object-size-13.c: Likewise.
+       * gcc.dg/builtin-dynamic-object-size-14.c: Likewise.
+       * gcc.dg/builtin-dynamic-object-size-15.c: Likewise.
+       * gcc.dg/builtin-dynamic-object-size-16.c: Likewise.
+       * gcc.dg/builtin-dynamic-object-size-17.c: Likewise.
+       * gcc.dg/builtin-dynamic-object-size-18.c: Likewise.
+       * gcc.dg/builtin-dynamic-object-size-19.c: Likewise.
+       * gcc.dg/builtin-dynamic-object-size-2.c: Likewise.
+       * gcc.dg/builtin-dynamic-object-size-3.c: Likewise.
+       * gcc.dg/builtin-dynamic-object-size-4.c: Likewise.
+       * gcc.dg/builtin-dynamic-object-size-5.c: Likewise.
+       * gcc.dg/builtin-dynamic-object-size-6.c: Likewise.
+       * gcc.dg/builtin-dynamic-object-size-7.c: Likewise.
+       * gcc.dg/builtin-dynamic-object-size-8.c: Likewise.
+       * gcc.dg/builtin-dynamic-object-size-9.c: Likewise.
+       * gcc.dg/builtin-object-size-16.c: Adjust to allow inclusion
+       from builtin-dynamic-object-size-16.c.
+       * gcc.dg/builtin-object-size-17.c: Likewise.
+
+2021-12-17  Siddhesh Poyarekar  <siddhesh@gotplt.org>
+
+       * gcc.dg/builtin-object-size-1.c (test9): New test.
+       (main): Call it.
+       * gcc.dg/builtin-object-size-2.c (test8): New test.
+       (main): Call it.
+       * gcc.dg/builtin-object-size-3.c (test9): New test.
+       (main): Call it.
+       * gcc.dg/builtin-object-size-4.c (test8): New test.
+       (main): Call it.
+       * gcc.dg/builtin-object-size-5.c (test5, test6, test7): New
+       tests.
+
+2021-12-17  Jason Merrill  <jason@redhat.com>
+
+       PR c++/103681
+       * g++.dg/abi/macro0.C: Update value.
+       * g++.dg/abi/no_unique_address6.C: New test.
+       * g++.dg/abi/nsdmi-aggr1.C: New test.
+       * g++.dg/abi/nsdmi-aggr1a.C: New test.
+
 2021-12-16  Sandra Loosemore  <sandra@codesourcery.com>
 
        * gcc.dg/20021029-1.c: Build with -G0 for nios2.
index a8d55a9..2c6c35e 100644 (file)
@@ -1,3 +1,14 @@
+2021-12-17  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * config.host: Add shim declaration header to powerpc*-darwin builds.
+       * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
+       file.
+       * config/t-darwin-ehs: Add dependencies to the shared unwinder
+       objects.
+       * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
+       the shared EH lib.  Add all-multi to the dependencies for the
+       libgcc_s.1.dylib redirections.
+
 2021-12-13  Olivier Hainque  <hainque@adacore.com>
 
        * config.host (powerpc*-*-vxworks7*): Remove