public inbox for libstdc++-cvs@sourceware.org help / color / mirror / Atom feed
From: Giuliano Belinassi <giulianob@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc(refs/users/giulianob/heads/autopar_rebase2)] Daily bump. Date: Tue, 18 Aug 2020 01:41:51 +0000 (GMT) [thread overview] Message-ID: <20200818014151.B84E63857012@sourceware.org> (raw) [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain; charset="us-ascii", Size: 12628 bytes --] https://gcc.gnu.org/g:ba2f2d55e1061479b46a7676243e0fafdbfa7329 commit ba2f2d55e1061479b46a7676243e0fafdbfa7329 Author: GCC Administrator <gccadmin@gcc.gnu.org> Date: Sat Aug 15 00:16:22 2020 +0000 Daily bump. Diff: --- gcc/ChangeLog | 68 ++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/analyzer/ChangeLog | 19 ++++++++ gcc/cp/ChangeLog | 123 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/testsuite/ChangeLog | 34 +++++++++++++ libcc1/ChangeLog | 15 ++++++ libstdc++-v3/ChangeLog | 5 ++ 7 files changed, 265 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e4c0a786ff6..bb7a5750b67 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,71 @@ +2020-08-14 Martin Sebor <msebor@redhat.com> + + PR middle-end/78257 + * builtins.c (expand_builtin_memory_copy_args): Rename called function. + (expand_builtin_stpcpy_1): Remove argument from call. + (expand_builtin_memcmp): Rename called function. + (inline_expand_builtin_bytecmp): Same. + * expr.c (convert_to_bytes): New function. + (constant_byte_string): New function (formerly string_constant). + (string_constant): Call constant_byte_string. + (byte_representation): New function. + * expr.h (byte_representation): Declare. + * fold-const-call.c (fold_const_call): Rename called function. + * fold-const.c (c_getstr): Remove an argument. + (getbyterep): Define a new function. + * fold-const.h (c_getstr): Remove an argument. + (getbyterep): Declare a new function. + * gimple-fold.c (gimple_fold_builtin_memory_op): Rename callee. + (gimple_fold_builtin_string_compare): Same. + (gimple_fold_builtin_memchr): Same. + +2020-08-14 David Malcolm <dmalcolm@redhat.com> + + * doc/analyzer.texi (Overview): Add tip about how to get a + gimple dump if the analyzer ICEs. + +2020-08-14 Uroš Bizjak <ubizjak@gmail.com> + + * config/i386/i386-builtin.def (__builtin_ia32_llwpcb) + (__builtin_ia32_slwpcb, __builtin_ia32_lwpval32) + (__builtin_ia32_lwpval64, __builtin_ia32_lwpins32) + (__builtin_ia32_lwpins64): Use CODE_FOR_nothing. + * config/i386/i386.md (@lwp_llwpcb<mode>): + Implement as parametrized name pattern. + (@lwp_slwpcb<mode>): Ditto. + (@lwp_lwpval<mode>): Ditto. + (@lwp_lwpins<mode>): Ditto. + * config/i386/i386-expand.c (ix86_expand_special_args_builtin) + [case VOID_FTYPE_UINT_UINT_UINT, case VOID_FTYPE_UINT64_UINT_UINT] + [case UCHAR_FTYPE_UINT_UINT_UINT, case UCHAR_FTYPE_UINT64_UINT_UINT]: + Remove. + (ix86_expand_builtin) + [ case IX86_BUILTIN_LLWPCB, case IX86_BUILTIN_LLWPCB]: + Update for parameterized name patterns. + [case IX86_BUILTIN_LWPVAL32, case IX86_BUILTIN_LWPVAL64] + [case IX86_BUILTIN_LWPINS32, case IX86_BUILTIN_LWPINS64]: Expand here. + +2020-08-14 Lewis Hyatt <lhyatt@gmail.com> + + * common.opt: Add new option -fdiagnostics-plain-output. + * doc/invoke.texi: Document it. + * opts-common.c (decode_cmdline_options_to_array): Implement it. + (decode_cmdline_option): Add missing const qualifier to argv. + +2020-08-14 Jakub Jelinek <jakub@redhat.com> + Jonathan Wakely <jwakely@redhat.com> + Jonathan Wakely <jwakely@redhat.com> + + * system.h: Include type_traits. + * vec.h (vec<T, A, vl_embed>::embedded_size): Use offsetof and asserts + on vec_stdlayout, which is conditionally a vec (for standard layout T) + and otherwise vec_embedded. + +2020-08-14 Jojo R <jiejie_rong@c-sky.com> + + * config/csky/csky-elf.h (ASM_SPEC): Use mfloat-abi. + * config/csky/csky-linux-elf.h (ASM_SPEC): mfloat-abi. + 2020-08-13 David Malcolm <dmalcolm@redhat.com> PR analyzer/93032 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index da579e6d532..e6ef660d478 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20200814 +20200815 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index c1fe30fa581..906796523e3 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,22 @@ +2020-08-14 David Malcolm <dmalcolm@redhat.com> + + PR testsuite/96609 + PR analyzer/96616 + * region-model.cc (region_model::get_store_value): Call + maybe_get_constant_value on decl_regions first. + * region-model.h (decl_region::maybe_get_constant_value): New decl. + * region.cc (decl_region::get_stack_depth): Likewise. + (decl_region::maybe_get_constant_value): New. + * store.cc (get_subregion_within_ctor): New. + (binding_map::apply_ctor_to_region): New. + * store.h (binding_map::apply_ctor_to_region): New decl. + +2020-08-14 David Malcolm <dmalcolm@redhat.com> + + PR analyzer/96611 + * store.cc (store::mark_as_escaped): Reject attempts to + get a cluster for an unknown pointer. + 2020-08-13 David Malcolm <dmalcolm@redhat.com> PR analyzer/93032 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 07d32a5f141..0244459e2b8 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,126 @@ +2020-08-14 Nathan Sidwell <nathan@acm.org> + + * name-lookup.h (lookup_name_real, lookup_name_nonclass): Rename + to ... + (lookup_name): ... these new overloads. + * name-lookup.c (identifier_type_value_1): Rename lookup_name_real + call. + (lookup_name_real_1): Rename to ... + (lookup_name_1): ... here. + (lookup_name_real): Rename to ... + (lookup_name): ... here. Rename lookup_name_real_1 call. + (lookup_name_nonclass): Delete. + * call.c (build_operator_new_call): Rename lookup_name_real call. + (add_operator_candidates): Likewise. + (build_op_delete_call): Rename lookup_name_nonclass call. + * parser.c (cp_parser_lookup_name): Likewise. + * pt.c (tsubst_friend_class, lookup_init_capture_pack): Likewise. + (tsubst_expr): Likewise. + * semantics.c (capture_decltype): Likewise. + +2020-08-14 Nathan Sidwell <nathan@acm.org> + + * cp-tree.h (LOOKUP_HIDDEN): Delete. + (LOOKUP_PREFER_RVALUE): Adjust initializer. + * name-lookup.h (enum class LOOK_want): Add HIDDEN_FRIEND and + HIDDEN_LAMBDA flags. + (lookup_name_real): Drop flags parm. + (lookup_qualified_name): Drop find_hidden parm. + * name-lookup.c (class name_lookup): Drop hidden field, adjust + ctors. + (name_lookup::add_overload): Check want for hiddenness. + (name_lookup::process_binding): Likewise. + (name_lookup::search_unqualified): Likewise. + (identifier_type_value_1): Adjust lookup_name_real call. + (set_decl_namespace): Adjust name_lookup ctor. + (qualify_lookup): Drop flags parm, use want for hiddenness. + (lookup_qualified_name): Drop find_hidden parm. + (lookup_name_real_1): Drop flags parm, adjust qualify_lookup + calls. + (lookup_name_real): Drop flags parm. + (lookup_name_nonclass, lookup_name): Adjust lookup_name_real + calls. + (lookup_type_scope_1): Adjust qualify_lookup calls. + * call.c (build_operator_new_call): Adjust lookup_name_real call. + (add_operator_candidates): Likewise. + * coroutines.cc (morph_fn_to_coro): Adjust lookup_qualified_name + call. + * parser.c (cp_parser_lookup_name): Adjust lookup_name_real calls. + * pt.c (check_explicit_specialization): Adjust + lookup_qualified_name call. + (deduction_guides_for): Likewise. + (tsubst_friend_class): Adjust lookup_name_real call. + (lookup_init_capture_pack): Likewise. + (tsubst_expr): Likewise, don't look in namespaces. + * semantics.c (capture_decltype): Adjust lookup_name_real. Don't + look in namespaces. + +2020-08-14 Jason Merrill <jason@redhat.com> + + PR c++/90254 + PR c++/93711 + * cp-tree.h (unsafe_return_slot_p): Declare. + * call.c (is_base_field_ref): Rename to unsafe_return_slot_p. + (build_over_call): Check unsafe_return_slot_p. + (build_special_member_call): Likewise. + * init.c (expand_default_init): Likewise. + * typeck2.c (split_nonconstant_init_1): Likewise. + +2020-08-14 Nathan Sidwell <nathan@acm.org> + + * cp-tree.h (LOOKUP_PREFER_TYPES, LOOKUP_PREFER_NAMESPACES) + (LOOKUP_NAMESPACES_ONLY, LOOKUP_TYPES_ONLY) + (LOOKUP_QUALIFIERS_ONL): Delete. + (LOOKUP_HIDDEN): Adjust. + * name-lookup.h (enum class LOOK_want): New. + (operator|, operator&): Overloads for it. + (lookup_name_real): Replace prefer_type & namespaces_only with + LOOK_want parm. + (lookup_qualified_name): Replace prefer_type with LOOK_want. + (lookup_name_prefer_type): Replace with ... + (lookup_name): ... this. New overload with LOOK_want parm. + * name-lookup.c (struct name_lookup): Replace flags with want and + hidden fields. Adjust constructors. + (name_lookyp::add_overload): Correct hidden stripping test. Update + for new LOOK_want type. + (name_lookup::process_binding): Likewise. + (name_lookup::search_unqualified): Use hidden flag. + (identifier_type_value_1): Adjust lookup_name_real call. + (set_decl_namespace): Adjust name_lookup ctor. + (lookup_flags): Delete. + (qualify_lookup): Add LOOK_want parm, adjust. + (lookup_qualified_name): Replace prefer_type parm with LOOK_want. + (lookup_name_real_1): Replace prefer_type and namespaces_only with + LOOK_want parm. + (lookup_name_real): Likewise. + (lookup_name_nonclass, lookup_name): Adjust lookup_name_real call. + (lookup_name_prefer_type): Rename to ... + (lookup_name): ... here. New overload with LOOK_want parm. + (lookup_type_scope_1): Adjust qualify_lookup calls. + * call.c (build_operator_new_call) + (add_operator_candidates): Adjust lookup_name_real calls. + * coroutines.cc (find_coro_traits_template_decl) + (find_coro_handle_template_decl, morph_fn_to_coro): Adjust + lookup_qualified_name calls. + * cp-objcp-common.c (identifier_global_tag): Likewise. + * decl.c (get_tuple_size, get_tuple_decomp_init): Likewise. + (lookup_and_check_tag): Use lookup_name overload. + * parser.c (cp_parser_userdef_numeric_literal): Adjust + lookup_qualified_name call. + (prefer_arg_type): Drop template_mem_access parm, return LOOK_want + value. + (cp_parser_lookup_name): Adjust lookup_member, lookup_name_real + calls. + * pt.c (check_explicit_specialization): Adjust lookup_qualified_name + call. + (tsubst_copy_and_build, tsubst_qualified_name): Likewise + (deduction_guides_for): Likewise. + (tsubst_friend_class): Adjust lookup_name_real call. + (lookup_init_capture, tsubst_expr): Likewise. + * rtti.c (emit_support_tinfos): Adjust lookup_qualified_name call. + * semantics.c (omp_reduction_lookup): Likewise. + (capture_decltype): Adjust lookup_name_real call. + 2020-08-13 Nathan Sidwell <nathan@acm.org> * name-lookup.h (enum class LOOK_where): New. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 78eecead18c..9e4e5891b17 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,37 @@ +2020-08-14 Martin Sebor <msebor@redhat.com> + + PR middle-end/78257 + * gcc.dg/memchr.c: New test. + * gcc.dg/memcmp-2.c: New test. + * gcc.dg/memcmp-3.c: New test. + * gcc.dg/memcmp-4.c: New test. + +2020-08-14 David Malcolm <dmalcolm@redhat.com> + + PR analyzer/96611 + * gcc.dg/analyzer/pr96611.c: New test. + +2020-08-14 Jason Merrill <jason@redhat.com> + + PR c++/90254 + PR c++/93711 + * g++.dg/cpp1z/aggr-base10.C: New test. + * g++.dg/cpp2a/no_unique_address7.C: New test. + * g++.dg/cpp2a/no_unique_address7a.C: New test. + +2020-08-14 Lewis Hyatt <lhyatt@gmail.com> + + * lib/prune.exp: Change TEST_ALWAYS_FLAGS to use -fdiagnostics-plain-output. + * lib/c-compat.exp: Adapt to the prune.exp change. + +2020-08-14 Tom de Vries <tdevries@suse.de> + + * gcc.dg/torture/pr92088-1.c: Add require-effective-target alloca. + * gcc.dg/torture/pr92088-2.c: Same. + * gcc.dg/torture/pr93124.c: Same. + * gcc.dg/torture/pr94479.c: Same. + * gcc.dg/tree-ssa/builtin-sprintf-warn-22.c: Same. + 2020-08-13 David Malcolm <dmalcolm@redhat.com> PR analyzer/96598 diff --git a/libcc1/ChangeLog b/libcc1/ChangeLog index 56038176efa..fbf238eb8bc 100644 --- a/libcc1/ChangeLog +++ b/libcc1/ChangeLog @@ -1,3 +1,18 @@ +2020-08-14 Nathan Sidwell <nathan@acm.org> + + * libcp1plugin.cc (plugin_build_dependent_expr): Rename + lookup_name_real call. + +2020-08-14 Nathan Sidwell <nathan@acm.org> + + * libcp1plugin.cc (plugin_build_dependent_exp): Adjust + lookup_name_real call. + +2020-08-14 Nathan Sidwell <nathan@acm.org> + + * libcp1plugin.cc (plugin_build_dependent_expr): Adjust + lookup_name_real & lookup_qualified_name calls. + 2020-08-13 Nathan Sidwell <nathan@acm.org> * libcp1plugin.cc (plugin_build_dependent_expr): Likewise. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 9c7fc0ebbd1..fe6884bf337 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2020-08-14 Lewis Hyatt <lhyatt@gmail.com> + + * testsuite/lib/libstdc++.exp: Use the new option + -fdiagnostics-plain-output. + 2020-08-13 Jonathan Wakely <jwakely@redhat.com> * acinclude.m4 (GLIBCXX_ENABLE_CHEADERS): Warn if the c_std
next reply other threads:[~2020-08-18 1:41 UTC|newest] Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-08-18 1:41 Giuliano Belinassi [this message] -- strict thread matches above, loose matches on Subject: below -- 2020-08-18 1:40 Giuliano Belinassi 2020-08-18 1:39 Giuliano Belinassi 2020-08-18 1:37 Giuliano Belinassi 2020-08-18 1:36 Giuliano Belinassi 2020-08-18 1:33 Giuliano Belinassi 2020-08-18 1:32 Giuliano Belinassi 2020-08-18 1:31 Giuliano Belinassi 2020-08-18 1:22 Giuliano Belinassi 2020-08-18 1:22 Giuliano Belinassi 2020-08-18 1:19 Giuliano Belinassi 2020-08-18 1:16 Giuliano Belinassi 2020-08-18 1:14 Giuliano Belinassi 2020-08-18 1:13 Giuliano Belinassi 2020-08-18 1:05 Giuliano Belinassi 2020-08-18 1:01 Giuliano Belinassi 2020-08-18 0:58 Giuliano Belinassi 2020-08-18 0:50 Giuliano Belinassi 2020-08-18 0:47 Giuliano Belinassi 2020-08-18 0:37 Giuliano Belinassi 2020-08-18 0:33 Giuliano Belinassi 2020-08-18 0:29 Giuliano Belinassi 2020-08-18 0:24 Giuliano Belinassi 2020-08-18 0:22 Giuliano Belinassi 2020-08-18 0:18 Giuliano Belinassi 2020-08-18 0:16 Giuliano Belinassi 2020-08-18 0:11 Giuliano Belinassi 2020-08-18 0:08 Giuliano Belinassi 2020-08-18 0:06 Giuliano Belinassi 2020-08-18 0:05 Giuliano Belinassi 2020-08-18 0:05 Giuliano Belinassi 2020-08-18 0:04 Giuliano Belinassi 2020-08-17 23:56 Giuliano Belinassi 2020-08-17 23:51 Giuliano Belinassi 2020-08-17 23:45 Giuliano Belinassi 2020-08-17 23:41 Giuliano Belinassi 2020-08-17 23:37 Giuliano Belinassi 2020-08-17 23:32 Giuliano Belinassi 2020-08-17 23:28 Giuliano Belinassi 2020-08-17 23:23 Giuliano Belinassi 2020-08-17 23:13 Giuliano Belinassi 2020-08-17 23:03 Giuliano Belinassi 2020-08-17 22:57 Giuliano Belinassi 2020-08-17 22:56 Giuliano Belinassi 2020-08-17 22:54 Giuliano Belinassi 2020-08-17 22:49 Giuliano Belinassi 2020-08-17 22:46 Giuliano Belinassi
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20200818014151.B84E63857012@sourceware.org \ --to=giulianob@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ --cc=libstdc++-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).