diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c2f47525555..c8ceb4b6b77 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,81 @@ +2020-09-22 Jan Hubicka + + * ipa-modref.c (analyze_stmt): Ignore gimple clobber. + +2020-09-22 Jan Hubicka + + * ipa-modref-tree.c: Add namespace selftest. + (modref_tree_c_tests): Rename to ... + (ipa_modref_tree_c_tests): ... this. + * ipa-modref.c (pass_modref): Remove destructor. + (ipa_modref_c_finalize): New function. + * ipa-modref.h (ipa_modref_c_finalize): Declare. + * selftest-run-tests.c (selftest::run_tests): Call + ipa_modref_c_finalize. + * selftest.h (ipa_modref_tree_c_tests): Declare. + * toplev.c: Include ipa-modref-tree.h and ipa-modref.h + (toplev::finalize): Call ipa_modref_c_finalize. + +2020-09-22 David Malcolm + + * doc/analyzer.texi (Other Debugging Techniques): Mention + -fdump-analyzer-json. + * doc/invoke.texi (Static Analyzer Options): Add + -fdump-analyzer-json. + +2020-09-22 David Faust + + * config/bpf/bpf.md: Add defines for signed div and mod operators. + +2020-09-22 Martin Liska + + PR tree-optimization/96979 + * doc/invoke.texi: Document new param max-switch-clustering-attempts. + * params.opt: Add new parameter. + * tree-switch-conversion.c (jump_table_cluster::find_jump_tables): + Limit number of attempts. + (bit_test_cluster::find_bit_tests): Likewise. + +2020-09-22 Stefan Schulze Frielinghaus + + * config/s390/s390.md ("*cmp_ccs_0", "*cmp_ccz_0", + "*cmp_ccs_0_fastmath"): Basically change "*cmp_ccs_0" into + "*cmp_ccz_0" and for fast math add "*cmp_ccs_0_fastmath". + +2020-09-22 Kyrylo Tkachov + + PR target/71233 + * config/aarch64/arm_neon.h (vcls_u8, vcls_u16, vcls_u32, + vclsq_u8, vclsq_u16, vclsq_u32): Define. + +2020-09-22 Kyrylo Tkachov + + PR target/71233 + * config/aarch64/arm_neon.h (vceqq_p64, vceqz_p64, vceqzq_p64): Define. + +2020-09-22 Kyrylo Tkachov + + PR target/71233 + * config/aarch64/arm_neon.h (vadd_p8, vadd_p16, vadd_p64, vaddq_p8, + vaddq_p16, vaddq_p64, vaddq_p128): Define. + +2020-09-22 Jakub Jelinek + + * params.opt (--param=modref-max-tests=): Fix typo in help text: + perofmed -> performed. + * common.opt: Fix typo: incrmeental -> incremental. + * ipa-modref.c: Fix typos: recroding -> recording, becaue -> because, + analsis -> analysis. + (class modref_summaries): Fix typo: betweehn -> between. + (analyze_call): Fix typo: calle -> callee. + (read_modref_records): Fix typo: expcted -> expected. + (pass_ipa_modref::execute): Fix typo: calle -> callee. + +2020-09-22 Jakub Jelinek + + * common.opt (-fipa-modref): Add dot at the end of option help. + * params.opt (--param=modref-max-tests=): Likewise. + 2020-09-21 Marek Polacek * doc/invoke.texi: Document -Wctad-maybe-unsupported. diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index ca3ee10cb82..1a983d8f051 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20200922 +20200923 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index 8241610121f..cd869c232f6 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,86 @@ +2020-09-22 David Malcolm + + * analysis-plan.cc: Include "json.h". + * analyzer.opt (fdump-analyzer-json): New. + * call-string.cc: Include "json.h". + (call_string::to_json): New. + * call-string.h (call_string::to_json): New decl. + * checker-path.cc: Include "json.h". + * constraint-manager.cc: Include "json.h". + (equiv_class::to_json): New. + (constraint::to_json): New. + (constraint_manager::to_json): New. + * constraint-manager.h (equiv_class::to_json): New decl. + (constraint::to_json): New decl. + (constraint_manager::to_json): New decl. + * diagnostic-manager.cc: Include "json.h". + (saved_diagnostic::to_json): New. + (diagnostic_manager::to_json): New. + * diagnostic-manager.h (saved_diagnostic::to_json): New decl. + (diagnostic_manager::to_json): New decl. + * engine.cc: Include "json.h", . + (exploded_node::status_to_str): New. + (exploded_node::to_json): New. + (exploded_edge::to_json): New. + (exploded_graph::to_json): New. + (dump_analyzer_json): New. + (impl_run_checkers): Call it. + * exploded-graph.h (exploded_node::status_to_str): New decl. + (exploded_node::to_json): New. + (exploded_edge::to_json): New. + (exploded_graph::to_json): New. + * pending-diagnostic.cc: Include "json.h". + * program-point.cc: Include "json.h". + (program_point::to_json): New. + * program-point.h (program_point::to_json): New decl. + * program-state.cc: Include "json.h". + (extrinsic_state::to_json): New. + (sm_state_map::to_json): New. + (program_state::to_json): New. + * program-state.h (extrinsic_state::to_json): New decl. + (sm_state_map::to_json): New decl. + (program_state::to_json): New decl. + * region-model-impl-calls.cc: Include "json.h". + * region-model-manager.cc: Include "json.h". + * region-model-reachability.cc: Include "json.h". + * region-model.cc: Include "json.h". + * region-model.h (svalue::to_json): New decl. + (region::to_json): New decl. + * region.cc: Include "json.h". + (region::to_json: New. + * sm-file.cc: Include "json.h". + * sm-malloc.cc: Include "json.h". + * sm-pattern-test.cc: Include "json.h". + * sm-sensitive.cc: Include "json.h". + * sm-signal.cc: Include "json.h". + (signal_delivery_edge_info_t::to_json): New. + * sm-taint.cc: Include "json.h". + * sm.cc: Include "diagnostic.h", "tree-diagnostic.h", and + "json.h". + (state_machine::state::to_json): New. + (state_machine::to_json): New. + * sm.h (state_machine::state::to_json): New. + (state_machine::to_json): New. + * state-purge.cc: Include "json.h". + * store.cc: Include "json.h". + (binding_key::get_desc): New. + (binding_map::to_json): New. + (binding_cluster::to_json): New. + (store::to_json): New. + * store.h (binding_key::get_desc): New decl. + (binding_map::to_json): New decl. + (binding_cluster::to_json): New decl. + (store::to_json): New decl. + * supergraph.cc: Include "json.h". + (supergraph::to_json): New. + (supernode::to_json): New. + (superedge::to_json): New. + * supergraph.h (supergraph::to_json): New decl. + (supernode::to_json): New decl. + (superedge::to_json): New decl. + * svalue.cc: Include "json.h". + (svalue::to_json): New. + 2020-09-21 David Malcolm PR analyzer/97130 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 69523ff8850..8ee29d8124f 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,8 @@ +2020-09-22 Jakub Jelinek + + * c.opt (Wbuiltin-declaration-mismatch): Fix typo in variable name: + warn_builtin_declaraion_mismatch -> warn_builtin_declaration_mismatch. + 2020-09-21 Marek Polacek * c.opt (Wctad-maybe-unsupported): New option. diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index df4b24d2b2e..dc1b0b00ea3 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,29 @@ +2020-09-22 Patrick Palka + + PR c++/95310 + * pt.c (corresponding_template_parameter): Define. + (keep_template_parm): Use it to adjust the given template + parameter to the corresponding in-scope one from ctx_parms. + +2020-09-22 Nathan Sidwell + + * cp-tree.h (xref_tag_from_type): Don't declare. + * decl.c (xref_tag_from_type): Delete. + * pt.c (lookup_template_class_1): Erroneously located class + definitions just give error_mark, don't try and inject it into the + namespace. + +2020-09-22 Jakub Jelinek + + PR c++/97145 + * constexpr.c (cxx_eval_builtin_function_call): Return void_node for + calls to __sanitize_ptr_{sub,cmp} builtins. + +2020-09-22 Nathan Sidwell + + * pt.c (instantiate_class_template_1): Do not repush and unhide + injected friend. + 2020-09-21 Marek Polacek PR c++/90583 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a9a9fc13558..68cdc3153a1 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,72 @@ +2020-09-22 Patrick Palka + + PR c++/95310 + * g++.dg/concepts/diagnostic15.C: New test. + +2020-09-22 Patrick Palka + + PR c++/96652 + * g++.dg/cpp0x/decltype-96652.C: New test. + +2020-09-22 Jakub Jelinek + + PR c++/97145 + * g++.dg/asan/pr97145.C: New test. + +2020-09-22 David Faust + + * gcc.target/bpf/diag-sdiv.c: New test. + * gcc.target/bpf/diag-smod.c: New test. + * gcc.target/bpf/xbpf-sdiv-1.c: New test. + * gcc.target/bpf/xbpf-smod-1.c: New test. + +2020-09-22 Nathan Sidwell + + * g++.old-deja/g++.pt/friend34.C: Check injected friend is still + invisible. + +2020-09-22 Marek Polacek + + * g++.dg/ext/timevar1.C: Also prune N%. + +2020-09-22 Marek Polacek + + * g++.dg/ext/timevar2.C: Also prune N%. + +2020-09-22 Martin Liska + + PR tree-optimization/96979 + * g++.dg/tree-ssa/pr96979.C: New test. + +2020-09-22 Stefan Schulze Frielinghaus + + * gcc.target/s390/load-and-test-fp-1.c: Change test to include all + possible combinations of dead/live registers and comparisons (equality, + relational). + * gcc.target/s390/load-and-test-fp-2.c: Same as load-and-test-fp-1.c + but for fast math. + * gcc.target/s390/load-and-test-fp.h: New test included by + load-and-test-fp-{1,2}.c. + +2020-09-22 Kyrylo Tkachov + + PR target/71233 + * gcc.target/aarch64/simd/vcls_unsigned_1.c: New test. + +2020-09-22 Kyrylo Tkachov + + PR target/71233 + * gcc.target/aarch64/simd/vceq_poly_1.c: New test. + +2020-09-22 Kyrylo Tkachov + + PR target/71233 + * gcc.target/aarch64/simd/vadd_poly_1.c: New test. + +2020-09-22 Jan Hubicka + + * gcc.target/i386/m128-check.h: Add no-strict-aliasing + 2020-09-21 David Malcolm PR analyzer/97130 diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 2e9392f490c..842d8149610 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,9 @@ +2020-09-22 Sergei Trofimovich + + PR gcov-profile/96913 + * libgcov-driver.c (write_one_data): Avoid function pointer + comparison in TOP streaming decision. + 2020-09-17 Torbjörn SVENSSON Christophe Lyon diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 0e3755757d6..bce0bef7ca9 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,13 @@ +2020-09-22 Tobias Burnus + + PR fortran/95654 + * testsuite/libgomp.fortran/pr66199-5.f90: Make stop codes unique. + +2020-09-22 Tom de Vries + + * plugin/plugin-nvptx.c (link_ptx): Print elog if cuLinkComplete call + fails. + 2020-09-16 Nathan Sidwell * testsuite/libgomp.c++/udr-3.C: Add missing ctor. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 71fd7068b4f..4ef7f3feec4 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,84 @@ +2020-09-22 Jonathan Wakely + + PR libstdc++/97167 + * src/c++17/fs_path.cc (path::_Parser::root_path()): Check + for empty string before inspecting the first character. + * testsuite/27_io/filesystem/path/append/source.cc: Append + empty string_view to path. + +2020-09-22 Glen Joseph Fernandes + + * include/bits/align.h (align): Fix overflow handling. + * testsuite/20_util/align/3.cc: New test. + +2020-09-22 Jonathan Wakely + + * include/Makefile.am: Add new headers and adjust for renamed + header. + * include/Makefile.in: Regenerate. + * include/bits/iterator_concepts.h: Adjust for renamed header. + * include/bits/range_access.h (ranges::*): Move to new + header. + * include/bits/ranges_algobase.h: Include new + header instead of . + * include/bits/ranges_algo.h: Include new + header. + * include/bits/range_cmp.h: Moved to... + * include/bits/ranges_cmp.h: ...here. + * include/bits/ranges_base.h: New header. + * include/bits/ranges_util.h: New header. + * include/experimental/string_view: Include new + header. + * include/std/functional: Adjust for renamed header. + * include/std/ranges (ranges::view_base, ranges::enable_view) + (ranges::dangling, ranges::borrowed_iterator_t): Move to new + header. + (ranges::view_interface, ranges::subrange) + (ranges::borrowed_subrange_t): Move to new + header. + * include/std/span: Include new header. + * include/std/string_view: Likewise. + * testsuite/24_iterators/back_insert_iterator/pr93884.cc: Add + missing header. + * testsuite/24_iterators/front_insert_iterator/pr93884.cc: + Likewise. + +2020-09-22 Jonathan Wakely + + PR libstdc++/96803 + * include/std/tuple + (_Tuple_impl(allocator_arg_t, Alloc, const _Tuple_impl&)): + Use correct value category in __use_alloc call. + * testsuite/20_util/tuple/cons/96803.cc: Check with constructors + that require correct value category to be used. + +2020-09-22 Patrick Palka + + * include/std/span (span::front): Remove static_assert. + (span::back): Likewise. + (span::operator[]): Likewise. + * testsuite/23_containers/span/back_neg.cc: Rewrite to verify + that we check the preconditions of back() only when it's called. + * testsuite/23_containers/span/front_neg.cc: Likewise for + front(). + * testsuite/23_containers/span/index_op_neg.cc: Likewise for + operator[]. + +2020-09-22 Patrick Palka + + * include/bits/stl_algo.h (__sample): Exit early when the + input range is empty. + * testsuite/25_algorithms/sample/3.cc: New test. + +2020-09-22 Patrick Palka + + * include/bits/stl_algo.h (for_each_n): Mark constexpr for C++20. + (search): Likewise for the overload that takes a searcher. + * testsuite/25_algorithms/for_each/constexpr.cc: Test constexpr + std::for_each_n. + * testsuite/25_algorithms/search/constexpr.cc: Test constexpr + std::search overload that takes a searcher. + 2020-09-21 Jonathan Wakely * include/bits/c++config (__replacement_assert): Add noreturn