diff options
author | GCC Administrator <gccadmin@gcc.gnu.org> | 2020-10-30 00:16:29 +0000 |
---|---|---|
committer | GCC Administrator <gccadmin@gcc.gnu.org> | 2020-10-30 00:16:29 +0000 |
commit | 4f0606fe4bbf1346f83dd4d0c9060c6b46672a7d (patch) | |
tree | 467d88884131daeed858269e1a756d1e79063fcb /gcc | |
parent | ffe6b4101501b5ada6f09a1fdf3822a23b68b5aa (diff) | |
download | gcc-4f0606fe4bbf1346f83dd4d0c9060c6b46672a7d.zip gcc-4f0606fe4bbf1346f83dd4d0c9060c6b46672a7d.tar.gz gcc-4f0606fe4bbf1346f83dd4d0c9060c6b46672a7d.tar.bz2 |
Daily bump.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 171 | ||||
-rw-r--r-- | gcc/DATESTAMP | 2 | ||||
-rw-r--r-- | gcc/c/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/cp/ChangeLog | 92 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog | 92 |
5 files changed, 363 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 58ed7b1..3291758 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,174 @@ +2020-10-29 Richard Biener <rguenther@suse.de> + + * tree-ssa-pre.c (compute_avail): Free operands consistently. + * tree-vect-loop.c (vectorizable_phi): Make sure all operand + defs vectors are released. + +2020-10-29 Jan Hubicka <jh@suse.cz> + + * vec.h (vec<T, va_heap, vl_ptr>::copy): Pass mem stat info. + +2020-10-29 Jan Hubicka <jh@suse.cz> + + * wide-int.h (trailing_wide_ints <N>): Turn len to array of structures + so it does not imply typeless storage. + (trailing_wide_ints <N>::operator): update + (trailing_wide_ints <N>::operator []): Update. + +2020-10-29 Joseph Myers <joseph@codesourcery.com> + + * ginclude/stdbool.h [__STDC_VERSION__ > 201710L] (true, false): + Define with type _Bool. + +2020-10-29 Aldy Hernandez <aldyh@redhat.com> + + PR tree-optimization/97505 + * vr-values.c (vr_values::extract_range_basic): Enable + trap again for everything except UBSAN builtins. + +2020-10-29 Richard Sandiford <richard.sandiford@arm.com> + + * tree-vectorizer.h (vect_transform_slp_perm_load): Take an + optional extra parameter. + * tree-vect-slp.c (vect_transform_slp_perm_load): Calculate + the number of loads as well as the number of permutes, taking + the counting loop from... + * tree-vect-stmts.c (vect_model_load_cost): ...here. Use the + value computed by vect_transform_slp_perm_load for ncopies. + +2020-10-29 Martin Liska <mliska@suse.cz> + + PR lto/97508 + * langhooks.c (lhd_begin_section): Call get_section with + not_existing = true. + * output.h (get_section): Add new argument. + * varasm.c (get_section): Fail when NOT_EXISTING is true + and a section already exists. + * ipa-cp.c (ipcp_write_summary): Remove. + (ipcp_read_summary): Likewise. + * ipa-fnsummary.c (ipa_fn_summary_read): Always read jump + functions summary. + (ipa_fn_summary_write): Always stream it. + +2020-10-29 Richard Biener <rguenther@suse.de> + + * tree-vect-slp.c (vect_bb_slp_scalar_cost): Pass + SLP_TREE_VECTYPE to record_stmt_cost. + +2020-10-29 Martin Liska <mliska@suse.cz> + + * optc-gen.awk: Check that params start with -param=. + * params.opt: Fix ipa-jump-function-lookups. + +2020-10-29 Alexandre Oliva <oliva@adacore.com> + + * tree-ssa-math-opts.c (sincos_stats): Add conv_removed. + (execute_cse_conv_1): New. + (execute_cse_sincos_1): Call it. Fix return within + FOR_EACH_IMM_USE_STMT. + (pass_cse_sincos::execute): Report conv_inserted. + +2020-10-29 Xuepeng Guo <xuepeng.guo@intel.com> + Hongyu Wang <hongyu.wang@intel.com> + Hongtao Liu <hongtao.liu@intel.com> + + * common/config/i386/cpuinfo.h (get_available_features): + Detect KL, AESKLE and WIDEKL features. + * common/config/i386/i386-common.c + (OPTION_MASK_ISA_KL_SET): New. + (OPTION_MASK_ISA_WIDEKL_SET): Likewise. + (OPTION_MASK_ISA_KL_UNSET): Likewise. + (OPTION_MASK_ISA_WIDEKL_UNSET): Likewise. + (OPTION_MASK_ISA2_AVX2_UNSET): Likewise. + (OPTION_MASK_ISA2_AVX_UNSET): Likewise. + (OPTION_MASK_ISA2_SSE4_2_UNSET): Likewise. + (OPTION_MASK_ISA2_SSE4_1_UNSET): Likewise. + (OPTION_MASK_ISA2_SSE4_UNSET): Likewise. + (OPTION_MASK_ISA2_SSSE3_UNSET): Likewise. + (OPTION_MASK_ISA2_SSE3_UNSET): Likewise. + (OPTION_MASK_ISA2_SSE2_UNSET): Likewise. + (OPTION_MASK_ISA2_SSE_UNSET): Likewise. + (ix86_handle_option): Handle kl and widekl, add dependency chain + for KL and SSE2. + * common/config/i386/i386-cpuinfo.h (enum processor_features): + (FEATURE_KL, FEATURE_AESKLE, FEATURE_WIDEKL): New. + * common/config/i386/i386-isas.h: Add ISA_NAMES_TABLE_ENTRY + for KL, AESKLE and WIDEKL. + * config.gcc: Add keylockerintrin.h. + * doc/invoke.texi: Document new option -mkl and -mwidekl. + * doc/extend.texi: Document kl and widekl. + * config/i386/cpuid.h (bit_KL, bit_AESKLE, bit_WIDEKL): New. + * config/i386/i386-builtin-types.def ((UINT, UINT, V2DI, V2DI, PVOID), + (UINT, UINT, V2DI, PVOID), (VOID, V2DI, V2DI, V2DI, UINT), + (UINT8, PV2DI, V2DI, PCVOID), (UINT8, PV2DI, PCV2DI, PCVOID)): New + function types. + * config/i386/i386-builtin.def: Add + __builtin_ia32_loadiwkey, + __builtin_ia32_aesdec128kl_u8, + __builtin_ia32_aesdec256kl_u8, + __builtin_ia32_aesenc128kl_u8, + __builtin_ia32_aesenc256kl_u8, + __builtin_ia32_aesdecwide128kl_u8, + __builtin_ia32_aesdecwide256kl_u8, + __builtin_ia32_aesencwide128kl_u8, + __builtin_ia32_aesencwide256kl_u8, + __builtin_ia32_encodekey128_u32, + __builtin_ia32_encodekey256_u32. + * config/i386/i386-c.c (ix86_target_macros_internal): Handle + kl and widekl. + * config/i386/i386-options.c (isa2_opts): Add -mkl and -mwidekl. + (ix86_option_override_internal): Handle KL and WIDEKL. + (ix86_valid_target_attribute_inner_p): Add attribute for kl and widekl. + * config/i386/i386-expand.c + (ix86_expand_builtin): Expand Keylocker Builtins. + * config/i386/i386.h (TARGET_KL): New. + (TARGET_KL_P): Likewise. + (TARGET_WIDEKL): Likewise. + (TARGET_WIDEKL_P): Likewise. + (PTA_KL): Likewise. + (PTA_WIDEKL): Likewise. + (PTA_TIGERLAKE): Add PTA_KL, PTA_WIDEKL. + (PTA_ALDERLAKE): Likewise. + * config/i386/i386.opt: Add new option mkl and mwidekl. + * config/i386/keylockerintrin.h: New header file for Keylocker. + * config/i386/immintrin.h: Include keylockerintrin.h. + * config/i386/predicates.md (encodekey128_operation): New + predicate. + (encodekey256_operation): Likewise. + (aeswidekl_operation): Likewise. + * config/i386/sse.md (UNSPECV_LOADIWKEY): New. + (UNSPECV_AESDEC128KLU8): Likewise. + (UNSPECV_AESENC128KLU8): Likewise. + (UNSPECV_AESDEC256KLU8): Likewise. + (UNSPECV_AESENC256KLU8): Likewise. + (UNSPECV_AESDECWIDE128KLU8): Likewise. + (UNSPECV_AESENCWIDE128KLU8): Likewise. + (UNSPECV_AESDECWIDE256KLU8): Likewise. + (UNSPECV_AESENCWIDE256KLU8): Likewise. + (UNSPECV_ENCODEKEY128U32): Likewise. + (UNSPECV_ENCODEKEY256U32): Likewise. + (encodekey128u32): New expander. + (encodekey256u32): Likewise. + (aes<aeswideklvariant>u8): Likewise. + (loadiwkey): New insn pattern. + (*encodekey128u32): Likewise. + (*encodekey256u32): Likewise. + (aes<aesklvariant>u8): Likewise. + (*aes<aeswideklvariant>u8): Likewise. + +2020-10-29 Richard Biener <rguenther@suse.de> + + * tree-vect-slp.c (vect_build_slp_tree_2): Allow splatting + not vectorizable loads. + (vect_build_slp_instance): Amend dumping with address. + (vect_slp_convert_to_external): Likewise. + +2020-10-29 Andrew MacLeod <amacleod@redhat.com> + + PR tree-optimization/97609 + * gimple-range-cache.cc (non_null_ref::process_name): Call + infer_nonnull_range directly instead of infer_value_range. + 2020-10-29 David Malcolm <dmalcolm@redhat.com> * Makefile.in (ANALYZER_OBJS): Add analyzer/complexity.o. diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 8559f6c..d724ea4 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20201029 +20201030 diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 89913b7..ca844ca 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,10 @@ +2020-10-29 Asher Gordon <AsDaGo@posteo.net> + + * c-typeck.c (free_all_tagged_tu_seen_up_to): Replace free + with XDELETE. + (finish_init): Likewise. + (pop_init_level): Likewise. + 2020-10-28 Joseph Myers <joseph@codesourcery.com> * c-decl.c (store_parm_decls_newstyle): Use pedwarn_c11 not diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index aebf247..2ece896 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,95 @@ +2020-10-29 Marek Polacek <polacek@redhat.com> + + DR 625 + PR c++/97479 + * parser.c (cp_parser_type_id_1): Reject using auto as + a template-argument in C++20. + +2020-10-29 Marek Polacek <polacek@redhat.com> + + PR c++/93107 + * pt.c (do_auto_deduction): Call resolve_nondeduced_context for + the elements of a { } list. + +2020-10-29 Marek Polacek <polacek@redhat.com> + + * typeck.c (do_warn_enum_conversions): Don't warn for SPACESHIP_EXPR. + (cp_build_binary_op): Reject float <=> enum or enum <=> float. Use + CP_INTEGRAL_TYPE_P instead of INTEGRAL_OR_ENUMERATION_TYPE_P. + +2020-10-29 Patrick Palka <ppalka@redhat.com> + + * constraint.cc (get_normalized_constraints): Remove 'args' + parameter. Pass NULL_TREE as the initial template arguments to + normalize_expression. + (get_normalized_constraints_from_info): Remove 'args' parameter + and adjust the call to get_normalized_constraints. + (get_normalized_constraints_from_decl): Remove 'args' local + variable and adjust call to get_normalized_constraints_from_info. + (normalize_concept_definition): Remove 'args' local variable + and adjust call to get_normalized_constraints. + (normalize_constraint_expression): Remove the two-parameter + overload. Remove 'args' parameter from the three-parameter + overload and update function comment accordingly. Remove + default argument from 'diag' parameter. Adjust call to + get_normalized_constraints. + (finish_nested_requirement): Adjust call to + normalize_constraint_expression. + (strictly_subsumes): Remove 'args' parameter. Adjust call to + get_normalized_constraints_from_info. + (weakly_subsumes): Likewise. + * cp-tree.h (strictly_subsumes): Remove 'args' parameter. + (weakly_subsumes): Likewise. + * pt.c (process_partial_specialization): Adjust call to + strictly_subsumes. + (is_compatible_template_arg): Adjust call to weakly_subsumes. + +2020-10-29 Patrick Palka <ppalka@redhat.com> + + PR c++/97412 + * constraint.cc (normalize_concept_check): Don't call + tsubst_template_args when 'args' is NULL. + +2020-10-29 Jason Merrill <jason@redhat.com> + + PR c++/97388 + * constexpr.c (cxx_eval_outermost_constant_expr): Revert to + original expression if evaluation sets non_constant_p. + +2020-10-29 Jakub Jelinek <jakub@redhat.com> + Jason Merrill <jason@redhat.com> + + PR c++/97388 + * constexpr.c (cxx_bind_parameters_in_call): Set non_constant_args + if the parameter type has a non-trivial destructor. + (cxx_eval_call_expression): Only unshare arguments if we're + memoizing this evaluation. + +2020-10-29 Jakub Jelinek <jakub@redhat.com> + + PR c++/95808 + * cp-tree.h (enum cp_tree_index): Add CPTI_HEAP_VEC_UNINIT_IDENTIFIER + and CPTI_HEAP_VEC_IDENTIFIER. + (heap_vec_uninit_identifier, heap_vec_identifier): Define. + * decl.c (initialize_predefined_identifiers): Initialize those + identifiers. + * constexpr.c (cxx_eval_call_expression): Reject array allocations + deallocated with non-array deallocation or non-array allocations + deallocated with array deallocation. + (non_const_var_error): Handle heap_vec_uninit_identifier and + heap_vec_identifier too. + (cxx_eval_constant_expression): Handle also heap_vec_uninit_identifier + and in that case during initialization replace it with + heap_vec_identifier. + (find_heap_var_refs): Handle heap_vec_uninit_identifier and + heap_vec_identifier too. + +2020-10-29 Nathan Sidwell <nathan@acm.org> + + * pt.c (push_template_decl): Do not give function-scope entities + other than implicit typedefs a template header. Do not readd + template info to a redeclared template. + 2020-10-28 Marek Polacek <polacek@redhat.com> * decl.c (grokdeclarator): Offer a fix-it hint for the "unnecessary diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7f784b9..99c3889 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,95 @@ +2020-10-29 Marek Polacek <polacek@redhat.com> + + DR 625 + PR c++/97479 + * g++.dg/cpp0x/auto3.C: Update dg-error. + * g++.dg/cpp0x/auto9.C: Likewise. + * g++.dg/cpp2a/concepts-pr84979-2.C: Likewise. + * g++.dg/cpp2a/concepts-pr84979-3.C: Likewise. + * g++.dg/cpp2a/concepts-pr84979.C: Likewise. + * g++.dg/DRs/dr625.C: New test. + +2020-10-29 Marek Polacek <polacek@redhat.com> + + PR c++/93107 + * g++.dg/cpp0x/initlist-deduce3.C: New test. + +2020-10-29 Marek Polacek <polacek@redhat.com> + + * g++.dg/cpp2a/enum-conv1.C: Remove unused code. + * g++.dg/cpp2a/spaceship-err5.C: New test. + +2020-10-29 Patrick Palka <ppalka@redhat.com> + + PR c++/97412 + * g++.dg/cpp2a/concepts-variadic2.C: New test. + +2020-10-29 Jason Merrill <jason@redhat.com> + + PR c++/97388 + * g++.dg/cpp2a/constexpr-dtor8.C: New test. + +2020-10-29 Jakub Jelinek <jakub@redhat.com> + Jason Merrill <jason@redhat.com> + + PR c++/97388 + * g++.dg/cpp2a/constexpr-dtor5.C: New test. + * g++.dg/cpp2a/constexpr-dtor6.C: New test. + * g++.dg/cpp2a/constexpr-dtor7.C: New test. + +2020-10-29 Jakub Jelinek <jakub@redhat.com> + + PR c++/95808 + * g++.dg/cpp2a/constexpr-new15.C: New test. + +2020-10-29 Joseph Myers <joseph@codesourcery.com> + + * gcc.dg/c11-bool-1.c, gcc.dg/c2x-bool-1.c, gcc.dg/c99-bool-4.c: + New tests. + +2020-10-29 Jakub Jelinek <jakub@redhat.com> + + * gcc.dg/pr97596.c: Require int128 effective target. + +2020-10-29 Andrew MacLeod <amacleod@redhat.com> + + * gcc.dg/pr97596.c: New. + +2020-10-29 Alexandre Oliva <oliva@adacore.com> + + * gnat.dg/sin_cos.ads: New. + * gnat.dg/sin_cos.adb: New. + * gcc.dg/sin_cos.c: New. + +2020-10-29 liuhongt <hongtao.liu@intel.com> + + * gcc.target/i386/keylocker-aesdec128kl.c: New test. + * gcc.target/i386/keylocker-aesdec256kl.c: Likewise. + * gcc.target/i386/keylocker-aesdecwide128kl.c: Likewise. + * gcc.target/i386/keylocker-aesdecwide256kl.c: Likewise. + * gcc.target/i386/keylocker-aesenc128kl.c: Likewise. + * gcc.target/i386/keylocker-aesencwide128kl.c: Likewise. + * gcc.target/i386/keylocker-aesencwide256kl.c: Likewise. + * gcc.target/i386/keylocker-encodekey128.c: Likewise. + * gcc.target/i386/keylocker-encodekey256.c: Likewise. + * gcc.target/i386/keylocker-loadiwkey.c: Likewise. + * g++.dg/other/i386-2.C: Add -mkl and -mwidekl. + * g++.dg/other/i386-3.C: Likewise. + * gcc.target/i386/sse-12.c: Likewise. + * gcc.target/i386/sse-13.c: Likewise. + * gcc.target/i386/sse-14.c: Likewise. + * gcc.target/i386/sse-22.c: Add kl and widekl. + * gcc.target/i386/sse-23.c: Likewise. + * gcc.target/i386/funcspec-56.inc: Add new target attribute test. + +2020-10-29 Richard Biener <rguenther@suse.de> + + * gcc.dg/vect/bb-slp-pr65935.c: Adjust. + +2020-10-29 Andrew MacLeod <amacleod@redhat.com> + + * g++.dg/pr97609.C: New. + 2020-10-29 David Malcolm <dmalcolm@redhat.com> PR analyzer/97608 |