summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog18
-rw-r--r--config/ChangeLog7
-rw-r--r--contrib/ChangeLog4
-rw-r--r--gcc/ChangeLog62
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/c-family/ChangeLog7
-rw-r--r--gcc/cp/ChangeLog108
-rw-r--r--gcc/testsuite/ChangeLog54
-rw-r--r--libcc1/ChangeLog9
-rw-r--r--libgfortran/ChangeLog10
-rw-r--r--libiberty/ChangeLog13
-rw-r--r--zlib/ChangeLog7
12 files changed, 300 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index bd01c44c47a..b4023cc7aa8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,21 @@
+2021-12-16 Matthias Seidel <mseidel@apache.org>
+
+ * config.sub: Fix typo.
+
+2021-12-16 H.J. Lu <hjl.tools@gmail.com>
+
+ Revert:
+ 2021-12-15 H.J. Lu <hjl.tools@gmail.com>
+
+ * Makefile.tpl (AR): Add @AR_PLUGIN_OPTION@
+ (RANLIB): Add @RANLIB_PLUGIN_OPTION@.
+ * configure.ac: Include config/gcc-plugin.m4.
+ AC_SUBST AR_PLUGIN_OPTION and RANLIB_PLUGIN_OPTION.
+ * libtool.m4 (_LT_CMD_OLD_ARCHIVE): Pass --plugin to AR and
+ RANLIB if possible.
+ * Makefile.in: Regenerated.
+ * configure: Likewise.
+
2021-12-15 H.J. Lu <hjl.tools@gmail.com>
* Makefile.tpl (BUILD_CFLAGS): New.
diff --git a/config/ChangeLog b/config/ChangeLog
index 7c2d7548a15..5bc7097cde0 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,10 @@
+2021-12-16 H.J. Lu <hjl.tools@gmail.com>
+
+ Revert:
+ 2021-12-16 H.J. Lu <hjl.tools@gmail.com>
+
+ * gcc-plugin.m4 (GCC_PLUGIN_OPTION): New.
+
2021-12-15 H.J. Lu <hjl.tools@gmail.com>
* gcc-plugin.m4 (GCC_PLUGIN_OPTION): New.
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 68273255649..a027d4be080 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,7 @@
+2021-12-16 Xionghu Luo <luoxhu@linux.ibm.com>
+
+ * analyze_brprob_spec.py: Add verbose argument.
+
2021-12-06 Martin Liska <mliska@suse.cz>
* filter-clang-warnings.py: Filter out one warning.
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f2bd21bc4cf..02e8f71cd29 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,65 @@
+2021-12-16 Uroš Bizjak <ubizjak@gmail.com>
+
+ PR target/103571
+ * config/i386/i386.h (VALID_AVX256_REG_MODE): Add V16HFmode.
+ (VALID_AVX256_REG_OR_OI_VHF_MODE): Replace with ...
+ (VALID_AVX256_REG_OR_OI_MODE): ... this. Remove V16HFmode.
+ (VALID_AVX512F_SCALAR_MODE): Remove HImode and HFmode.
+ (VALID_AVX512FP16_SCALAR_MODE): New.
+ (VALID_AVX512F_REG_MODE): Add V32HFmode.
+ (VALID_SSE2_REG_MODE): Add V8HFmode, V4HFmode and V2HFmode.
+ (VALID_SSE2_REG_VHF_MODE): Remove.
+ (VALID_INT_MODE_P): Add V2HFmode.
+ * config/i386/i386.c (function_arg_advance_64):
+ Remove explicit mention of V16HFmode and V32HFmode.
+ (ix86_hard_regno_mode_ok): Remove explicit mention of XImode
+ and V32HFmode, use VALID_AVX512F_REG_OR_XI_MODE instead.
+ Use VALID_AVX512FP_SCALAR_MODE for TARGET_aVX512FP16.
+ Use VALID_AVX256_REG_OR_OI_MODE instead of
+ VALID_AVX256_REG_OR_OI_VHF_MODE and VALID_SSE2_REG_MODE instead
+ of VALID_SSE2_REG_VHF_MODE.
+ (ix86_set_reg_reg_cost): Remove usge of VALID_AVX512FP16_REG_MODE.
+ (ix86_vector_mode_supported): Ditto.
+
+2021-12-16 Martin Liska <mliska@suse.cz>
+
+ PR c++/103696
+ * attribs.c (decl_attributes): Check if
+ target_option_current_node is changed.
+
+2021-12-16 Martin Liska <mliska@suse.cz>
+
+ * doc/invoke.texi: Add missing dash.
+
+2021-12-16 Bill Schmidt <wschmidt@linux.ibm.com>
+
+ * config/rs6000/rs6000-c.c (resolution): New enum.
+ (resolve_vec_mul): New function.
+ (resolve_vec_cmpne): Likewise.
+ (resolve_vec_adde_sube): Likewise.
+ (resolve_vec_addec_subec): Likewise.
+ (resolve_vec_splats): Likewise.
+ (resolve_vec_extract): Likewise.
+ (resolve_vec_insert): Likewise.
+ (resolve_vec_step): Likewise.
+ (find_instance): Likewise.
+ (altivec_resolve_overloaded_builtin): Many cleanups. Call factored-out
+ functions. Move variable declarations closer to uses. Add commentary.
+ Remove unnecessary levels of braces. Avoid use of gotos. Change
+ misleading variable names. Use switches over if-else-if chains.
+
+2021-12-16 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
+
+ PR target/103729
+ * config/aarch64/aarch64-simd.md (aarch64_movv8di): Allow big endian
+ targets to move V8DI.
+
+2021-12-16 Tobias Burnus <tobias@codesourcery.com>
+
+ PR driver/103644
+ * gcc.c (check_offload_target_name): Add 'default' and 'disable'
+ to the candidate list.
+
2021-12-15 Iain Sandoe <iain@sandoe.co.uk>
* configure: Regenerate.
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 4f5ebad187c..7b090ebf531 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20211216
+20211217
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 605a484584e..e2dcb93723e 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,10 @@
+2021-12-16 Martin Liska <mliska@suse.cz>
+
+ PR target/103709
+ * c-pragma.c (handle_pragma_pop_options): Do not check
+ global options modification when an error is seen in parsing
+ of options (pragmas or attributes).
+
2021-12-12 Jonathan Wakely <jwakely@redhat.com>
* known-headers.cc: Define INCLUDE_MEMORY instead of
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index e42770179f2..b8a07266924 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,111 @@
+2021-12-16 Marek Polacek <polacek@redhat.com>
+
+ PR c++/99980
+ * parser.c (cp_parser_single_declaration): Maybe pass
+ CP_PARSER_FLAGS_DELAY_NOEXCEPT down to cp_parser_init_declarator.
+
+2021-12-16 Martin Sebor <msebor@redhat.com>
+
+ PR c++/103703
+ * parser.c (class_decl_loc_t::diag_mismatched_tags): Check for class
+ type before assuming a type is one.
+
+2021-12-16 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/51577
+ PR c++/83035
+ PR c++/100465
+ * call.c (add_operator_candidates): Add lookups parameter.
+ Use it to avoid performing a second unqualified lookup when
+ instantiating a dependent operator expression.
+ (build_new_op): Add lookups parameter and pass it appropriately.
+ * constraint.cc (finish_constraint_binary_op): Use
+ build_min_nt_loc instead of build_x_binary_op.
+ * coroutines.cc (build_co_await): Adjust call to build_new_op.
+ * cp-objcp-common.c (cp_common_init_ts): Mark
+ DEPENDENT_OPERATOR_TYPE appropriately.
+ * cp-tree.def (DEPENDENT_OPERATOR_TYPE): Define.
+ * cp-tree.h (WILDCARD_TYPE_P): Accept DEPENDENT_OPERATOR_TYPE.
+ (FOLD_EXPR_OP_RAW): New, renamed from ...
+ (FOLD_EXPR_OP): ... this. Change this to return the tree_code directly.
+ (DEPENDENT_OPERATOR_TYPE_SAVED_LOOKUPS): Define.
+ (templated_operator_saved_lookups): Define.
+ (build_new_op): Add lookups parameter.
+ (build_dependent_operator_type): Declare.
+ (build_x_indirect_ref): Add lookups parameter.
+ (build_x_binary_op): Likewise.
+ (build_x_unary_op): Likewise.
+ (build_x_compound_expr): Likewise.
+ (build_x_modify_expr): Likewise.
+ * cxx-pretty-print.c (get_fold_operator): Adjust after
+ FOLD_EXPR_OP change.
+ * decl.c (start_preparsed_function): Don't call
+ push_operator_bindings.
+ * decl2.c (grok_array_decl): Adjust calls to build_new_op.
+ * method.c (do_one_comp): Likewise.
+ (build_comparison_op): Likewise.
+ * module.cc (trees_out::type_node): Handle DEPENDENT_OPERATOR_TYPE.
+ (trees_in::tree_node): Likewise.
+ * name-lookup.c (lookup_name): Revert r11-2876 change.
+ (op_unqualified_lookup): Remove.
+ (maybe_save_operator_binding): Remove.
+ (discard_operator_bindings): Remove.
+ (push_operator_bindings): Remove.
+ * name-lookup.h (maybe_save_operator_binding): Remove.
+ (push_operator_bindings): Remove.
+ (discard_operator_bindings): Remove.
+ * parser.c (cp_parser_unary_expression): Adjust calls to build_x_*.
+ (cp_parser_binary_expression): Likewise.
+ (cp_parser_assignment_expression): Likewise.
+ (cp_parser_expression): Likewise.
+ (do_range_for_auto_deduction): Likewise.
+ (cp_convert_range_for): Likewise.
+ (cp_parser_perform_range_for_lookup): Likewise.
+ (cp_parser_template_argument): Likewise.
+ (cp_parser_omp_for_cond): Likewise.
+ (cp_parser_omp_for_incr): Likewise.
+ (cp_parser_omp_for_loop_init): Likewise.
+ (cp_convert_omp_range_for): Likewise.
+ (cp_finish_omp_range_for): Likewise.
+ * pt.c (fold_expression): Adjust after FOLD_EXPR_OP change. Pass
+ templated_operator_saved_lookups to build_x_*.
+ (tsubst_omp_for_iterator): Adjust call to build_x_modify_expr.
+ (tsubst_expr) <case COMPOUND_EXPR>: Pass
+ templated_operator_saved_lookups to build_x_*.
+ (tsubst_copy_and_build) <case INDIRECT_REF>: Likewise.
+ <case tcc_unary>: Likewise.
+ <case tcc_binary>: Likewise.
+ <case MODOP_EXPR>: Likewise.
+ <case COMPOUND_EXPR>: Likewise.
+ (dependent_type_p_r): Return true for DEPENDENT_OPERATOR_TYPE.
+ * ptree.c (cxx_print_type): Handle DEPENDENT_OPERATOR_TYPE.
+ * semantics.c (finish_increment_expr): Adjust call to
+ build_x_unary_op.
+ (finish_unary_op_expr): Likewise.
+ (handle_omp_for_class_iterator): Adjust calls to build_x_*.
+ (finish_omp_cancel): Likewise.
+ (finish_unary_fold_expr): Use build_dependent_operator_type.
+ (finish_binary_fold_expr): Likewise.
+ * tree.c (cp_free_lang_data): Don't call discard_operator_bindings.
+ * typeck.c (rationalize_conditional_expr): Adjust call to
+ build_x_binary_op.
+ (op_unqualified_lookup): Define.
+ (build_dependent_operator_type): Define.
+ (build_x_indirect_ref): Add lookups parameter and use
+ build_dependent_operator_type.
+ (build_x_binary_op): Likewise.
+ (build_x_array_ref): Likewise.
+ (build_x_unary_op): Likewise.
+ (build_x_compound_expr_from_list): Adjust call to
+ build_x_compound_expr.
+ (build_x_compound_expr_from_vec): Likewise.
+ (build_x_compound_expr): Add lookups parameter and use
+ build_dependent_operator_type.
+ (cp_build_modify_expr): Adjust call to build_new_op.
+ (build_x_modify_expr): Add lookups parameter and use
+ build_dependent_operator_type.
+ * typeck2.c (build_x_arrow): Adjust call to build_new_op.
+
2021-12-15 Marek Polacek <polacek@redhat.com>
PR c++/102229
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index a38eac672cc..919710fc1cb 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,57 @@
+2021-12-16 Sandra Loosemore <sandra@codesourcery.com>
+
+ * gcc.dg/20021029-1.c: Build with -G0 for nios2.
+
+2021-12-16 Marek Polacek <polacek@redhat.com>
+
+ PR c++/99980
+ * g++.dg/cpp0x/noexcept71.C: New test.
+
+2021-12-16 Martin Sebor <msebor@redhat.com>
+
+ PR c++/103703
+ * g++.dg/warn/Wmismatched-tags-9.C: New test.
+
+2021-12-16 Martin Sebor <msebor@redhat.com>
+
+ PR testsuite/103751
+ * gcc.dg/Warray-bounds-48.c: Fix member alignment.
+
+2021-12-16 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/51577
+ PR c++/83035
+ PR c++/100465
+ * g++.dg/lookup/operator-3.C: Split out operator overload
+ declarations into ...
+ * g++.dg/lookup/operator-3-ops.h: ... here.
+ * g++.dg/lookup/operator-3a.C: New test.
+ * g++.dg/lookup/operator-4.C: New test.
+ * g++.dg/lookup/operator-4a.C: New test.
+ * g++.dg/lookup/operator-5.C: New test.
+ * g++.dg/lookup/operator-5a.C: New test.
+ * g++.dg/lookup/operator-6.C: New test.
+ * g++.dg/lookup/operator-7.C: New test.
+ * g++.dg/lookup/operator-8.C: New test.
+
+2021-12-16 Uroš Bizjak <ubizjak@gmail.com>
+
+ PR target/103571
+ * gcc.target/i386/pr102812.c (dg-final): Do not scan for movdqa.
+
+2021-12-16 Martin Liska <mliska@suse.cz>
+
+ PR c++/103696
+ * g++.target/i386/pr103696.C: New test.
+
+2021-12-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ * gfortran.dg/iostat_5.f90: New file.
+
+2021-12-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ * gfortran.dg/date_and_time_1.f90: New file.
+
2021-12-15 Marek Polacek <polacek@redhat.com>
PR c++/102229
diff --git a/libcc1/ChangeLog b/libcc1/ChangeLog
index ddf28268a4c..c03d89feba8 100644
--- a/libcc1/ChangeLog
+++ b/libcc1/ChangeLog
@@ -1,3 +1,12 @@
+2021-12-16 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/51577
+ PR c++/83035
+ PR c++/100465
+ * libcp1plugin.cc (plugin_build_unary_expr): Adjust call to
+ build_x_unary_op.
+ (plugin_build_binary_expr): Adjust call to build_x_binary_op.
+
2021-12-15 Iain Sandoe <iain@sandoe.co.uk>
* configure: Regenerate.
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index 90d7daf0175..2f366c87625 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -1,3 +1,13 @@
+2021-12-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ * io/file_pos.c: Fix error code.
+
+2021-12-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ * intrinsics/time_1.h: Prefer clock_gettime() over
+ gettimeofday().
+ * intrinsics/date_and_time.c: Fix timezone wrapping.
+
2021-12-14 Harald Anlauf <anlauf@gmx.de>
PR libfortran/103634
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index e1102eafd85..17e6834b15a 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,16 @@
+2021-12-16 H.J. Lu <hjl.tools@gmail.com>
+
+ Revert:
+ 2021-12-16 H.J. Lu <hjl.tools@gmail.com>
+
+ * Makefile.in (AR): Add @AR_PLUGIN_OPTION@
+ (RANLIB): Add @RANLIB_PLUGIN_OPTION@.
+ (configure_deps): Depend on ../config/gcc-plugin.m4.
+ * configure.ac: AC_SUBST AR_PLUGIN_OPTION and
+ RANLIB_PLUGIN_OPTION.
+ * aclocal.m4: Regenerated.
+ * configure: Likewise.
+
2021-12-15 H.J. Lu <hjl.tools@gmail.com>
* Makefile.in (AR): Add @AR_PLUGIN_OPTION@
diff --git a/zlib/ChangeLog b/zlib/ChangeLog
index c5448427a90..7d6646b829c 100644
--- a/zlib/ChangeLog
+++ b/zlib/ChangeLog
@@ -1,3 +1,10 @@
+2021-12-16 H.J. Lu <hjl.tools@gmail.com>
+
+ Revert:
+ 2021-12-16 H.J. Lu <hjl.tools@gmail.com>
+
+ * configure: Regenerated.
+
2021-12-15 H.J. Lu <hjl.tools@gmail.com>
* configure: Regenerated.