From 6caec77e3be8e2989f723ac7f522885dded6bcfc Mon Sep 17 00:00:00 2001 From: GCC Administrator Date: Thu, 8 Oct 2020 00:16:30 +0000 Subject: [PATCH] Daily bump. --- gcc/ChangeLog | 90 +++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/analyzer/ChangeLog | 9 +++++ gcc/cp/ChangeLog | 46 +++++++++++++++++++++ gcc/fortran/ChangeLog | 6 +++ gcc/testsuite/ChangeLog | 66 ++++++++++++++++++++++++++++++ libcc1/ChangeLog | 5 +++ libstdc++-v3/ChangeLog | 17 ++++++++ 8 files changed, 240 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5f9e8ac99af..3074f9021f6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,93 @@ +2020-10-07 Aldy Hernandez + + * common.opt (-fevrp-mode): Rename and move... + * params.opt (--param=evrp-mode): ...here. + * gimple-range.h (DEBUG_RANGE_CACHE): Use param_evrp_mode instead + of flag_evrp_mode. + * gimple-ssa-evrp.c (rvrp_folder): Same. + (hybrid_folder): Same. + (execute_early_vrp): Same. + +2020-10-07 Richard Biener + + PR tree-optimization/97307 + * tree-ssa-sink.c (statement_sink_location): Change heuristic + for not skipping stores to look for virtual definitions + rather than uses. + +2020-10-07 Andrew MacLeod + + * value-range.h (irange_allocator::allocate): Allocate in two hunks + instead of using the variably-sized trailing array approach. + +2020-10-07 David Malcolm + + * doc/invoke.texi (-fdiagnostics-plain-output): Add + -fdiagnostics-path-format=separate-events to list of + options injected by -fdiagnostics-plain-output. + * opts-common.c (decode_cmdline_options_to_array): Likewise. + +2020-10-07 Martin Jambor + + PR ipa/96394 + * ipa-prop.c (update_indirect_edges_after_inlining): Do not add + resolved speculation edges to vector of new direct edges even in + presence of multiple speculative direct edges for a single call. + +2020-10-07 Andrew Stubbs + + * config/gcn/gcn.md (unspec): Add UNSPEC_ADDPTR. + (addptrdi3): Add SGPR alternative. + +2020-10-07 Mark Wielaard + + * dwarf2out.c (add_filepath_AT_string): New function. + (asm_outputs_debug_line_str): Likewise. + (add_filename_attribute): Likewise. + (add_comp_dir_attribute): Call add_filepath_AT_string. + (gen_compile_unit_die): Call add_filename_attribute for name. + (init_sections_and_labels): Init debug_line_str_section when + asm_outputs_debug_line_str return true. + (dwarf2out_early_finish): Remove DW_AT_name and DW_AT_comp_dir + hack and call add_filename_attribute for the remap_debug_filename. + +2020-10-07 Jakub Jelinek + + * configure.ac (HAVE_AS_GDWARF_5_DEBUG_FLAG, + HAVE_AS_WORKING_DWARF_4_FLAG): New tests. + * gcc.c (ASM_DEBUG_DWARF_OPTION): Define. + (ASM_DEBUG_SPEC): Use ASM_DEBUG_DWARF_OPTION instead of + "--gdwarf2". Use %{cond:opt1;:opt2} style. + (ASM_DEBUG_OPTION_DWARF_OPT): Define. + (ASM_DEBUG_OPTION_SPEC): Define. + (asm_debug_option): New variable. + (asm_options): Add "%(asm_debug_option)". + (static_specs): Add asm_debug_option entry. + (static_spec_functions): Add dwarf-version-gt. + (debug_level_greater_than_spec_func): New function. + * config/darwin.h (ASM_DEBUG_OPTION_SPEC): Define. + * config/darwin9.h (ASM_DEBUG_OPTION_SPEC): Redefine. + * config.in: Regenerated. + * configure: Regenerated. + +2020-10-07 Jakub Jelinek + + PR bootstrap/97305 + * optc-save-gen.awk: Don't declare mask variable if explicit_mask + array is not present. + +2020-10-07 Jakub Jelinek + + * omp-expand.c (expand_omp_simd): Don't emit MIN_EXPR and PLUS_EXPR + at the end of entry_bb and innermost init_bb, instead force arguments + for MIN_EXPR into temporaries in both cases and jump to a new bb that + performs MIN_EXPR and PLUS_EXPR. + +2020-10-07 Tom de Vries + + * tree-ssa-loop-ch.c (ch_base::copy_headers): Add missing NULL test + for dump_file. + 2020-10-06 Andrew MacLeod * flag-types.h (enum evrp_mode): New enumerated type EVRP_MODE_*. diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 8478d98f282..df504552863 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20201007 +20201008 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index 2e40e81eccb..d8453cb4459 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,12 @@ +2020-10-07 David Malcolm + + PR analyzer/97116 + * sm-malloc.cc (method_p): New. + (describe_argument_index): New. + (inform_nonnull_attribute): Use describe_argument_index. + (possible_null_arg::describe_final_event): Likewise. + (null_arg::describe_final_event): Likewise. + 2020-09-29 David Malcolm PR analyzer/95188 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index dcd5fd383f1..ebf1fb24f4e 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,49 @@ +2020-10-07 Marek Polacek + + PR c++/97010 + * pt.c (tsubst_copy_and_build) : Call + tsubst_copy_and_build explicitly instead of using the RECUR macro. + Handle a TEMPLATE_ID_EXPR with an IDENTIFIER_NODE as its operand. + : Perform ADL for a TEMPLATE_ID_EXPR with an + IDENTIFIER_NODE as its operand. + +2020-10-07 Patrick Palka + + PR c++/88115 + PR libstdc++/97273 + * tree.c (cp_tree_equal) : Return false if + ALIGNOF_EXPR_STD_P differ. + +2020-10-07 Nathan Sidwell + + * cp-tree.h (struct language_function): Delete extern_decl_map. + (DECL_LOCAL_DECL_ALIAS): New. + * name-lookup.h (is_local_extern): Delete. + * name-lookup.c (set_local_extern_decl_linkage): Replace with ... + (push_local_extern_decl): ... this new function. + (do_pushdecl): Call new function after pushing new decl. Unhide + hidden non-functions. + (is_local_extern): Delete. + * decl.c (layout_var_decl): Do not allow VLA local externs. + * decl2.c (mark_used): Also mark DECL_LOCAL_DECL_ALIAS. Drop old + local-extern treatment. + * parser.c (cp_parser_oacc_declare): Deal with local extern aliases. + * pt.c (tsubst_expr): Adjust local extern instantiation. + * cp-gimplify.c (cp_genericize_r): Remap DECL_LOCAL_DECLs. + +2020-10-07 Nathan Sidwell + + * cp-tree.h (DECL_BUILTIN_P): Rename to ... + (DECL_UNDECLARED_BUILTIN_P): ... here. + * decl.c (duplicate_decls): Adjust. + * name-lookup.c (anticipated_builtin_p): Adjust. + (do_nonmember_using_decl): Likewise. + +2020-10-07 Nathan Sidwell + + * tree.c (build_cp_fntype_variant): Clear + TYPE_DEPENDENT_P_VALID if necessary. + 2020-10-06 Marek Polacek PR c++/97297 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 19ad11ba8f1..8de4b38746d 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,9 @@ +2020-10-07 Paul Thomas + + PR fortran/47469 + * trans-expr.c (arrayfunc_assign_needs_temporary): Tidy detection + of pointer and allocatable functions. + 2020-10-04 Harald Anlauf PR fortran/97272 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6466356e2ae..8ab7fe0196e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,69 @@ +2020-10-07 Marek Polacek + + PR c++/97010 + * g++.dg/cpp2a/fn-template21.C: New test. + * g++.dg/cpp2a/fn-template22.C: New test. + +2020-10-07 Richard Biener + + PR tree-optimization/97307 + * gcc.dg/tree-ssa/ssa-sink-17.c: New testcase. + * gcc.dg/vect/pr65947-3.c: XFAIL. + +2020-10-07 Patrick Palka + + PR c++/88115 + PR libstdc++/97273 + * g++.dg/template/alignof3.C: New test. + +2020-10-07 David Malcolm + + PR analyzer/97116 + * g++.dg/analyzer/pr97116.C: New test. + +2020-10-07 David Malcolm + + * g++.dg/analyzer/analyzer.exp (DEFAULT_CXXFLAGS): Remove + -fdiagnostics-path-format=separate-events. + * gcc.dg/analyzer/analyzer.exp (DEFAULT_CFLAGS): Likewise. + * gcc.dg/plugin/diagnostic-path-format-default.c: Rename to... + * gcc.dg/plugin/diagnostic-path-format-plain.c: ...this. Remove + dg-options directive. Copy remainder of test from + diagnostic-path-format-separate-events.c. + * gcc.dg/plugin/diagnostic-test-paths-2.c: Add + -fdiagnostics-path-format=inline-events to options. + Fix expected output for location of conditional within "for" loop. + * gcc.dg/plugin/plugin.exp (plugin_test_list): Update for + renaming. + * gfortran.dg/analyzer/analyzer.exp (DEFAULT_FFLAGS): Remove + -fdiagnostics-path-format=separate-events. + +2020-10-07 Nathan Sidwell + + * g++.dg/cpp0x/lambda/lambda-sfinae1.C: Avoid ill-formed local extern + * g++.dg/init/pr42844.C: Add expected error. + * g++.dg/lookup/extern-redecl1.C: Likewise. + * g++.dg/lookup/koenig15.C: Avoid ill-formed. + * g++.dg/lto/pr95677.C: New. + * g++.dg/other/nested-extern-1.C: Correct expected behabviour. + * g++.dg/other/nested-extern-2.C: Likewise. + * g++.dg/other/nested-extern.cc: Split ... + * g++.dg/other/nested-extern-1.cc: ... here ... + * g++.dg/other/nested-extern-2.cc: ... here. + * g++.dg/template/scope5.C: Avoid ill-formed + * g++.old-deja/g++.law/missed-error2.C: Allow extension. + * g++.old-deja/g++.pt/crash3.C: Add expected error. + +2020-10-07 Martin Jambor + + PR ipa/96394 + * gcc.dg/tree-prof/pr96394.c: New test. + +2020-10-07 Jakub Jelinek + + * gcc.dg/gomp/simd-2.c: New test. + * gcc.dg/gomp/simd-3.c: New test. + 2020-10-06 Marek Polacek PR c++/97297 diff --git a/libcc1/ChangeLog b/libcc1/ChangeLog index 243a1f943a4..0a98c8666ab 100644 --- a/libcc1/ChangeLog +++ b/libcc1/ChangeLog @@ -1,3 +1,8 @@ +2020-10-07 Nathan Sidwell + + * libcp1plugin.cc (supplement_binding): Rename + DECL_BUILTIN_P. + 2020-10-02 Nathan Sidwell * libcp1plugin.cc (libcp1plugin.cc): Drop DECL_ANTICIPATED test. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 03bc536c11a..4946eead651 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,20 @@ +2020-10-07 Jonathan Wakely + + * include/bits/random.h (__detail::_Mod): Avoid divide by zero. + * testsuite/26_numerics/random/linear_congruential_engine/operators/call.cc: + New test. + +2020-10-07 Jonathan Wakely + + * include/bits/random.h (seed_seq(initializer_list)): Rename + parameter to use reserved name. + * include/bits/ranges_algo.h (shift_left, shift_right): Rename + template parameters to use reserved name. + * libsupc++/exception_ptr.h (exception_ptr): Likewise for + parameters and local variables. + * testsuite/17_intro/names.cc: Check "il". Do not check "d" and + "y" in C++20 mode. + 2020-10-06 Jonathan Wakely PR libstdc++/90295 -- 2.30.2