aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2020-10-08 00:16:30 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2020-10-08 00:16:30 +0000
commit6caec77e3be8e2989f723ac7f522885dded6bcfc (patch)
tree18fe983b1dd0b99e019e0e77552c5ee9d4e44a6f
parent6ae17a3b6835b30102607d45ac89c7a668e2c8d4 (diff)
downloadgcc-6caec77e3be8e2989f723ac7f522885dded6bcfc.zip
gcc-6caec77e3be8e2989f723ac7f522885dded6bcfc.tar.gz
gcc-6caec77e3be8e2989f723ac7f522885dded6bcfc.tar.bz2
Daily bump.
-rw-r--r--gcc/ChangeLog90
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/analyzer/ChangeLog9
-rw-r--r--gcc/cp/ChangeLog46
-rw-r--r--gcc/fortran/ChangeLog6
-rw-r--r--gcc/testsuite/ChangeLog66
-rw-r--r--libcc1/ChangeLog5
-rw-r--r--libstdc++-v3/ChangeLog17
8 files changed, 240 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5f9e8ac..3074f90 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,93 @@
+2020-10-07 Aldy Hernandez <aldyh@redhat.com>
+
+ * 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 <rguenther@suse.de>
+
+ 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 <amacleod@redhat.com>
+
+ * value-range.h (irange_allocator::allocate): Allocate in two hunks
+ instead of using the variably-sized trailing array approach.
+
+2020-10-07 David Malcolm <dmalcolm@redhat.com>
+
+ * 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 <mjambor@suse.cz>
+
+ 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 <ams@codesourcery.com>
+
+ * config/gcn/gcn.md (unspec): Add UNSPEC_ADDPTR.
+ (addptrdi3): Add SGPR alternative.
+
+2020-10-07 Mark Wielaard <mark@klomp.org>
+
+ * 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 <jakub@redhat.com>
+
+ * 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 <jakub@redhat.com>
+
+ PR bootstrap/97305
+ * optc-save-gen.awk: Don't declare mask variable if explicit_mask
+ array is not present.
+
+2020-10-07 Jakub Jelinek <jakub@redhat.com>
+
+ * 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 <tdevries@suse.de>
+
+ * tree-ssa-loop-ch.c (ch_base::copy_headers): Add missing NULL test
+ for dump_file.
+
2020-10-06 Andrew MacLeod <amacleod@redhat.com>
* flag-types.h (enum evrp_mode): New enumerated type EVRP_MODE_*.
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 8478d98..df50455 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20201007
+20201008
diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog
index 2e40e81..d8453cb 100644
--- a/gcc/analyzer/ChangeLog
+++ b/gcc/analyzer/ChangeLog
@@ -1,3 +1,12 @@
+2020-10-07 David Malcolm <dmalcolm@redhat.com>
+
+ 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 <dmalcolm@redhat.com>
PR analyzer/95188
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index dcd5fd3..ebf1fb2 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,49 @@
+2020-10-07 Marek Polacek <polacek@redhat.com>
+
+ PR c++/97010
+ * pt.c (tsubst_copy_and_build) <case TEMPLATE_ID_EXPR>: Call
+ tsubst_copy_and_build explicitly instead of using the RECUR macro.
+ Handle a TEMPLATE_ID_EXPR with an IDENTIFIER_NODE as its operand.
+ <case CALL_EXPR>: Perform ADL for a TEMPLATE_ID_EXPR with an
+ IDENTIFIER_NODE as its operand.
+
+2020-10-07 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/88115
+ PR libstdc++/97273
+ * tree.c (cp_tree_equal) <case ALIGNOF_EXPR>: Return false if
+ ALIGNOF_EXPR_STD_P differ.
+
+2020-10-07 Nathan Sidwell <nathan@acm.org>
+
+ * 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 <nathan@acm.org>
+
+ * 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 <nathan@acm.org>
+
+ * tree.c (build_cp_fntype_variant): Clear
+ TYPE_DEPENDENT_P_VALID if necessary.
+
2020-10-06 Marek Polacek <polacek@redhat.com>
PR c++/97297
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 19ad11b..8de4b38 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,9 @@
+2020-10-07 Paul Thomas <pault@gcc.gnu.org>
+
+ PR fortran/47469
+ * trans-expr.c (arrayfunc_assign_needs_temporary): Tidy detection
+ of pointer and allocatable functions.
+
2020-10-04 Harald Anlauf <anlauf@gmx.de>
PR fortran/97272
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 6466356..8ab7fe0 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,69 @@
+2020-10-07 Marek Polacek <polacek@redhat.com>
+
+ PR c++/97010
+ * g++.dg/cpp2a/fn-template21.C: New test.
+ * g++.dg/cpp2a/fn-template22.C: New test.
+
+2020-10-07 Richard Biener <rguenther@suse.de>
+
+ 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 <ppalka@redhat.com>
+
+ PR c++/88115
+ PR libstdc++/97273
+ * g++.dg/template/alignof3.C: New test.
+
+2020-10-07 David Malcolm <dmalcolm@redhat.com>
+
+ PR analyzer/97116
+ * g++.dg/analyzer/pr97116.C: New test.
+
+2020-10-07 David Malcolm <dmalcolm@redhat.com>
+
+ * 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 <nathan@acm.org>
+
+ * 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 <mjambor@suse.cz>
+
+ PR ipa/96394
+ * gcc.dg/tree-prof/pr96394.c: New test.
+
+2020-10-07 Jakub Jelinek <jakub@redhat.com>
+
+ * gcc.dg/gomp/simd-2.c: New test.
+ * gcc.dg/gomp/simd-3.c: New test.
+
2020-10-06 Marek Polacek <polacek@redhat.com>
PR c++/97297
diff --git a/libcc1/ChangeLog b/libcc1/ChangeLog
index 243a1f9..0a98c86 100644
--- a/libcc1/ChangeLog
+++ b/libcc1/ChangeLog
@@ -1,3 +1,8 @@
+2020-10-07 Nathan Sidwell <nathan@acm.org>
+
+ * libcp1plugin.cc (supplement_binding): Rename
+ DECL_BUILTIN_P.
+
2020-10-02 Nathan Sidwell <nathan@acm.org>
* libcp1plugin.cc (libcp1plugin.cc): Drop DECL_ANTICIPATED test.
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 03bc536..4946eea 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,20 @@
+2020-10-07 Jonathan Wakely <jwakely@redhat.com>
+
+ * 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 <jwakely@redhat.com>
+
+ * include/bits/random.h (seed_seq(initializer_list<T>)): 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 <jwakely@redhat.com>
PR libstdc++/90295