From e0f5e7926789f2ddeabb5b0266958532a43cc155 Mon Sep 17 00:00:00 2001 From: GCC Administrator Date: Wed, 2 Dec 2020 00:16:41 +0000 Subject: [PATCH] Daily bump. --- gcc/ChangeLog | 174 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c-family/ChangeLog | 29 ++++++++ gcc/cp/ChangeLog | 25 +++++++ gcc/testsuite/ChangeLog | 111 ++++++++++++++++++++++++++++++ libcpp/ChangeLog | 9 +++ libstdc++-v3/ChangeLog | 51 ++++++++++++++ 7 files changed, 400 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 539130d..c4968b7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,177 @@ +2020-12-01 Eugene Rozenfeld + + PR tree-optimization/96708 + * match.pd: New pattern for comparing X with MAX (X, Y) + or MIN (X, y). + +2020-12-01 Jeff Law + + * config/mcore/t-mcore (MULTILIB_EXCEPTIONS): Define. + +2020-12-01 Martin Sebor + + PR middle-end/97595 + * tree.c (component_ref_size): Fail when DECL_SIZE != TYPE_SIZE. + * tree.h (DECL_SIZE, TYPE_SIZE): Update comment. + +2020-12-01 JeanHeyd Meneide + + * doc/cpp.texi: Document new macros. + +2020-12-01 Martin Sebor + + PR middle-end/97373 + * builtins.c (compute_objsize): Rename... + (compute_objsize_r): to this. Change order and types of arguments. + Use new argument. Adjust calls to self. + (access_ref::get_ref): New member function. + (pointer_query::pointer_query): New member function. + (pointer_query::get_ref): Same. + (pointer_query::put_ref): Same. + (handle_min_max_size): Change order and types of arguments. + (maybe_emit_free_warning): Add a test. + * builtins.h (class pointer_query): New class. + (compute_objsize): Declare an overload. + * gimple-ssa-sprintf.c (get_destination_size): Add argument. + (handle_printf_call): Change argument type. + * tree-ssa-strlen.c (adjust_last_stmt): Add an argument and use it. + (maybe_warn_overflow): Same. + (handle_builtin_strcpy): Same. + (maybe_diag_stxncpy_trunc): Same. + (handle_builtin_memcpy): Change argument type. Adjust calls. + (handle_builtin_strcat): Same. + (handle_builtin_memset): Same. + (handle_store): Same. + (strlen_check_and_optimize_call): Same. + (check_and_optimize_stmt): Same. + (strlen_dom_walker): Add new data members. + (strlen_dom_walker::before_dom_children): Use new member. + (printf_strlen_execute): Dump cache performance counters. Remove + objsize pass cleanup. + * tree-ssa-strlen.h (maybe_diag_stxncpy_trunc): Add argument. + (handle_printf_call): Change argument type. + +2020-12-01 Eric Botcazou + + * function.c (gen_call_used_regs_seq): In a function subject to the + leaf register optimization, skip registers that are not present. + * config/sparc/sparc.c (TARGET_ZERO_CALL_USED_REGS): Define to... + (sparc_zero_call_used_regs): ...this. New function. + +2020-12-01 Iain Sandoe + + * config/darwin.h: Remove unused 'X' specs in the link spec + rather than driver self-specs. + +2020-12-01 Nathan Sidwell + + * params.opt (lazy-modules): New. + * timevar.def (TV_MODULE_IMPORT, TV_MODULE_EXPORT) + (TV_MODULE_MAPPER): New. + +2020-12-01 Jakub Jelinek + + PR rtl-optimization/97459 + * optabs.c (expand_doubleword_mod): Punt early for even op1. + (expand_binop): Don't require lshr_optab double-word handler. + +2020-12-01 Jakub Jelinek + + PR rtl-optimization/97954 + * loop-invariant.c (find_invariant_insn): Punt on JUMP_P insns. + +2020-12-01 Iain Sandoe + + * configure.ac (check leb128 support): Check that assemblers both + accept the LEB128 directives and also give the expected output. + Add a test for uleb128 with the MSB set for a 64 bit value. + * configure: Regenerated. + +2020-12-01 Iain Sandoe + + * configure: Regnerated. + +2020-12-01 Ilya Leoshkevich + + * optabs-tree.c (vec_cmp_icode_p): New function. + (vec_cmp_eq_icode_p): New function. + (expand_vec_cmp_expr_p): Use vec_cmp_icode_p and + vec_cmp_eq_icode_p. + (vcond_icode_p): Use get_rtx_code_1, just to be uniform with + vec_cmp_icode_p. + * optabs.c (unsigned_optab_p): New function. + (insn_predicate_matches_p): New function. + (can_vec_cmp_compare_p): New function. + (can_vcond_compare_p): Use unsigned_optab_p and + insn_predicate_matches_p. + (get_rtx_code): Use get_rtx_code_1. + (get_rtx_code_1): Version of get_rtx_code that returns UNKNOWN + instead of asserting. + * optabs.h (can_vec_cmp_compare_p): New function. + (get_rtx_code_1): New function. + +2020-12-01 Martin Liska + + PR tree-optimization/14799 + PR ipa/88702 + * Makefile.in: Add gimple-if-to-switch.o. + * dbgcnt.def (DEBUG_COUNTER): Add new debug counter. + * passes.def: Include new pass_if_to_switch pass. + * timevar.def (TV_TREE_IF_TO_SWITCH): New timevar. + * tree-pass.h (make_pass_if_to_switch): New. + * tree-ssa-reassoc.c (struct operand_entry): Move to the header. + (dump_range_entry): Move to header file. + (debug_range_entry): Likewise. + (no_side_effect_bb): Make it global. + * tree-switch-conversion.h (simple_cluster::simple_cluster): + Add inline for couple of functions in order to prevent error + about multiple defined symbols. + * gimple-if-to-switch.cc: New file. + * tree-ssa-reassoc.h: New file. + +2020-12-01 Marius Hillenbrand + + * configure.ac: Add configure option + --enable-s390-excess-float-precision and check to derive default + from glibc. + * config/s390/s390.c: Guard s390_excess_precision with an ifdef + for ENABLE_S390_EXCESS_FLOAT_PRECISION. + * doc/install.texi: Document --enable-s390-excess-float-precision. + * configure: Regenerate. + * config.in: Regenerate. + +2020-12-01 Martin Liska + + PR ipa/98057 + * symtab.c (symtab_node::set_section_for_node): Drop + implicit_section if x_section is NULL. + +2020-12-01 Jakub Jelinek + + PR target/98063 + * config/i386/i386-expand.c (ix86_expand_call): Handle non-plt + CM_LARGE_PIC calls. + +2020-12-01 Richard Biener + + PR middle-end/98070 + * builtins.c (builtin_fnspec): realloc is ".Cw ". + +2020-12-01 Jakub Jelinek + + * dwarf2out.c (gen_compile_unit_die): Treat GNU C++20 + like C++14 for -gdwarf-5. + +2020-12-01 Jakub Jelinek + + PR debug/97989 + * gcc.c (cpp_unique_options): Add -dD if %:debug-level-gt(2) + rather than g3|ggdb3|gstabs3|gxcoff3|gvms3. + +2020-12-01 Kito Cheng + + * config.gcc (riscv*-*-*): Drop some commited accidentally code. + 2020-11-30 Jeff Law * symtab.c (set_section_for_node): Add function comment. diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 91326ab..ddafb1c 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20201201 +20201202 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 4d96699..0421c98 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,32 @@ +2020-12-01 JeanHeyd Meneide + + * c-cppbuiltin.c (c_cpp_builtins): Add predefined + {__GNUC_EXECUTION_CHARSET_NAME} and + _WIDE_EXECUTION_CHARSET_NAME} macros. + +2020-12-01 Nathan Sidwell + + * c-common.c (module, import, export): New internal tokens (with + trailing space). + * c-common.h (RID__MODULE, RID__IMPORT & RID__EXPORT): Enumerate + them. + (D_CXX_MODULES, D_CXX_MODULES_FLAGS): Enable them. + * c-cppbuiltin.c (c_cpp_builtins): Feature macro. + +2020-12-01 Nathan Sidwell + + * c-opts.c (c_common_init_options): Ask for module dependencies. + (c_common_handle_option): Handle -Mmodules -Mno-modules. + * c-pch.c (c_common_valid_pch): ... does not play with C++ + modules. + * c.opt (Mmodules, Mno-modules): New preprocessor dependency + options. + (fmodules-ts, fmodule-header, fmodule-implicit-inline) + (fmodule-only, fmodule-mapper, fmodule-lazy) + (fmodule-version-ignore, Winvalid-imported-macros) + (flang-info-include-translate, flang-info-include-translate-not): + New options + 2020-11-28 Eric Botcazou * c-ada-spec.c (dump_nested_type) : Remove obsolete code. diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index cb81f21..9e5c001 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,28 @@ +2020-12-01 Ville Voutilainen + + PR c++/98054 + * cxx-pretty-print.c (pp_cxx_trait_expression): + Add support for __is_nothrow_{assignable,constructible}. + +2020-12-01 Jakub Jelinek + + PR c++/98072 + * parser.c (cp_parser_omp_depobj): Suppress location wrappers when + parsing depend clause. + +2020-12-01 Nathan Sidwell + + * lex.c (init_reswords): Maybe enable module keywords. + +2020-12-01 Nathan Sidwell + + * lang-specs.h: Add module-related options. + +2020-12-01 Iain Sandoe + + * parser.c (cp_parser_declaration): Add a not about where + attributes may be placed. + 2020-11-27 Martin Sebor * error.c (add_quotes): Revert previous change and use pragma to diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b5652ff..5895c70 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,114 @@ +2020-12-01 Eugene Rozenfeld + + * gcc.dg/pr96708-negative.c: New test. + * gcc.dg/pr96708-positive.c: New test. + +2020-12-01 Martin Sebor + + PR middle-end/97595 + * g++.dg/warn/Warray-bounds-14.C: New test. + * g++.dg/warn/Wstringop-overflow-6.C: New test. + +2020-12-01 Jeff Law + + * gcc.dg/tree-ssa/pr96480.c: Disable jump table optimization + +2020-12-01 JeanHeyd Meneide + + * c-c++-common/cpp/wide-narrow-predef-macros.c: New test. + +2020-12-01 Jeff Law + + * gcc.dg/pr46309-2.c: Add -fno-bit-tests and -fno-jump-tables + to avoid compromising the test. + +2020-12-01 Jakub Jelinek + + PR c++/98072 + * c-c++-common/gomp/depobj-2.c: New test. + +2020-12-01 Martin Sebor + + PR middle-end/97373 + * gcc.dg/tree-ssa/builtin-sprintf-warn-25.c: New test. + +2020-12-01 Martin Liska + + * g++.dg/tree-ssa/if-to-switch-1.C: Do not allow newlines + in .* pattern. + * gcc.dg/tree-ssa/if-to-switch-1.c: Likewise. + * gcc.dg/tree-ssa/if-to-switch-2.c: Likewise. + * gcc.dg/tree-ssa/if-to-switch-3.c: Likewise. + * gcc.dg/tree-ssa/if-to-switch-5.c: Likewise. + +2020-12-01 Martin Liska + + PR testsuite/98085 + * g++.dg/tree-ssa/if-to-switch-1.C: Do not expect precise number + of BBs. + * gcc.dg/tree-ssa/if-to-switch-1.c: Likewise. + * gcc.dg/tree-ssa/if-to-switch-2.c: Likewise. Find better name + for the function. + * gcc.dg/tree-ssa/if-to-switch-3.c: Likewise. Find better name + for the function. + * gcc.dg/tree-ssa/if-to-switch-5.c: Likewise. + +2020-12-01 Jakub Jelinek + + PR rtl-optimization/97954 + * gcc.dg/pr97954.c: New test. + +2020-12-01 Matthew Malcomson + + * lib/hwasan-dg.exp (check_effective_target_hwaddress_exec): Fix + check for correct kernel version. + +2020-12-01 Martin Liska + + PR tree-optimization/14799 + PR ipa/88702 + * gcc.dg/tree-ssa/pr96480.c: Disable if-to-switch conversion. + * gcc.dg/tree-ssa/reassoc-32.c: Likewise. + * g++.dg/tree-ssa/if-to-switch-1.C: New test. + * gcc.dg/tree-ssa/if-to-switch-1.c: New test. + * gcc.dg/tree-ssa/if-to-switch-2.c: New test. + * gcc.dg/tree-ssa/if-to-switch-3.c: New test. + * gcc.dg/tree-ssa/if-to-switch-4.c: New test. + * gcc.dg/tree-ssa/if-to-switch-5.c: New test. + * gcc.dg/tree-ssa/if-to-switch-6.c: New test. + * gcc.dg/tree-ssa/if-to-switch-7.c: New test. + * gcc.dg/tree-ssa/if-to-switch-8.c: New test. + +2020-12-01 Marius Hillenbrand + + * gcc.target/s390/float_t-1.c: New test. + * gcc.target/s390/float_t-2.c: New test. + +2020-12-01 Martin Liska + + * g++.dg/torture/pr93347.C: Reduce and remove LIT keywords. + +2020-12-01 Martin Liska + + PR ipa/98057 + * g++.dg/ipa/pr98057.C: New test. + +2020-12-01 Jakub Jelinek + + PR target/98063 + * gcc.target/i386/pr98063.c: New test. + +2020-12-01 Jakub Jelinek + + * g++.dg/debug/dwarf2/lang-cpp17.C: New test. + * g++.dg/debug/dwarf2/lang-cpp20.C: New test. + +2020-12-01 Jakub Jelinek + + PR debug/97989 + * gcc.dg/cpp/pr97989-1.c: New test. + * gcc.dg/cpp/pr97989-2.c: New test. + 2020-11-30 David Malcolm * gcc.dg/plugin/analyzer_gil_plugin.c: New test. diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 56c4b16..83cbde3 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,12 @@ +2020-12-01 JeanHeyd Meneide + + * charset.c (init_iconv_desc): Initialize "to" and "from" fields. + * directives.c (cpp_get_narrow_charset_name): New function. + (cpp_get_wide_charset_name): Likewise. + * include/cpplib.h (cpp_get_narrow_charset_name): Prototype. + (cpp_get_wide_charset_name): Likewise. + * internal.h (cset_converter): Add "to" and "from" fields. + 2020-11-27 Joseph Myers PR preprocessor/97602 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 54d5301..d78021b 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,54 @@ +2020-12-01 Thomas Rodgers + + * include/bits/atomic_base.h: Replace usage of + _GLIBCXX_HAVE_ATOMIC_WAIT with __cpp_lib_atomic_wait. + * include/bits/atomic_timed_wait.h: Likewise. + * include/bits/atomic_wait.h: Define __cpp_lib_atomic_wait + feature test macro. + * include/bits/semaphore_base.h: Replace usage of + _GLIBCXX_HAVE_ATOMIC_WAIT with __cpp_lib_atomic_wait. + * include/std/atomic: Likewise. + * include/std/latch: Likewise. + * include/std/semaphore: Likewise. + * include/std/version: Define __cpp_lib_atomic wait + feature test macro and replace usage of + _GLIBCXX_HAVE_ATOMIC_WAIT. + * testsuite/29_atomics/atomic/wait_notify/1.cc: New test. + * testsuite/29_atomics/atomic/wait_notify/2.cc: Likewise. + +2020-12-01 Michael Weghorn + + * python/libstdcxx/v6/printers.py (StdBitIteratorPrinter) + (StdBitReferencePrinter): Add pretty-printers for + _Bit_reference, _Bit_iterator and _Bit_const_iterator. + * testsuite/libstdc++-prettyprinters/simple.cc: Test + std::_Bit_reference, std::_Bit_iterator and + std::_Bit_const_iterator. + * testsuite/libstdc++-prettyprinters/simple11.cc: Likewise. + +2020-12-01 Jonathan Wakely + + * include/bits/c++config (_GLIBCXX_HAS_BUILTIN): Define macro to + work around different implementations of __has_builtin. + (_GLIBCXX_HAVE_BUILTIN_HAS_UNIQ_OBJ_REP) + (_GLIBCXX_HAVE_BUILTIN_IS_AGGREGATE) + (_GLIBCXX_HAVE_BUILTIN_IS_CONSTANT_EVALUATED) + (_GLIBCXX_HAVE_BUILTIN_IS_SAME, _GLIBCXX_HAVE_BUILTIN_LAUNDER): + Define using _GLIBCXX_HAS_BUILTIN. + +2020-12-01 Jonathan Wakely + + * testsuite/27_io/basic_istream/get/char/lwg3464.cc: Add + dg-timeout-factor directive. + * testsuite/27_io/basic_istream/get/wchar_t/lwg3464.cc: + Likewise. + +2020-12-01 Jonathan Wakely + + PR libstdc++/98003 + * testsuite/27_io/basic_syncbuf/sync_ops/1.cc: Add options for + libatomic. + 2020-11-30 Jonathan Wakely * doc/doxygen/user.cfg.in (INPUT): Add and . -- 2.7.4