From f6e8e2797ebae21e483373e303ec1c7596309625 Mon Sep 17 00:00:00 2001 From: GCC Administrator Date: Wed, 9 Dec 2020 00:16:50 +0000 Subject: [PATCH] Daily bump. --- contrib/ChangeLog | 9 ++++ gcc/ChangeLog | 87 +++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c-family/ChangeLog | 6 +++ gcc/cp/ChangeLog | 106 ++++++++++++++++++++++++++++++++++++++++ gcc/fortran/ChangeLog | 19 +++++++ gcc/testsuite/ChangeLog | 98 +++++++++++++++++++++++++++++++++++++ libgcc/ChangeLog | 5 ++ libgomp/ChangeLog | 4 ++ libstdc++-v3/ChangeLog | 12 +++++ 10 files changed, 347 insertions(+), 1 deletion(-) diff --git a/contrib/ChangeLog b/contrib/ChangeLog index a280c053dea..e040530f5b2 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,12 @@ +2020-12-08 Martin Liska + + * filter-clang-warnings.py: Filter more cases. + +2020-12-08 Martin Liska + + * filter-clang-warnings.py: Modernize and filter 2 more + patterns. + 2020-12-04 Martin Liska * check-params-in-docs.py: use flake8 and add some diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 51ee9f2bbe3..902e496e2d1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,90 @@ +2020-12-08 Martin Liska + + PR tree-optimization/98182 + * gimple-if-to-switch.cc (pass_if_to_switch::execute): Request + chain linkage through false edges only. + +2020-12-08 Nathan Sidwell + + * tree.h (DECL_ALIGN_RAW): New. + (DECL_ALIGN): Use it. + (DECL_WARN_IF_NOT_ALIGN_RAW): New. + (DECL_WARN_IF_NOT_ALIGN): Use it. + (SET_DECL_WARN_IF_NOT_ALIGN): Likewise. + +2020-12-08 Prathamesh Kulkarni + + PR target/66791 + * config/arm/arm_neon.h: Replace calls to __builtin_vmvn* by ~ + in vmvn intrinsics. + * config/arm/arm_neon_builtins.def: Remove entry for vmvn. + +2020-12-08 Jakub Jelinek + + PR target/94440 + * config/i386/i386.opt (ix86_excess_precision, + ix86_unsafe_math_optimizations): New TargetVariables. + * config/i386/i386.h (X87_ENABLE_ARITH, X87_ENABLE_FLOAT): Use + ix86_unsafe_math_optimizations instead of + flag_unsafe_math_optimizations and ix86_excess_precision instead of + flag_excess_precision. + * config/i386/i386.c (ix86_excess_precision): Rename to ... + (ix86_get_excess_precision): ... this. + (TARGET_C_EXCESS_PRECISION): Define to ix86_get_excess_precision. + * config/i386/i386-options.c (ix86_valid_target_attribute_tree, + ix86_option_override_internal): Update ix86_unsafe_math_optimization + from flag_unsafe_math_optimizations and ix86_excess_precision + from flag_excess_precision when constructing target option nodes. + (ix86_set_current_function): If flag_unsafe_math_optimizations + or flag_excess_precision is different from the one recorded + in TARGET_OPTION_NODE, create a new target option node for the + current function and switch to that. + +2020-12-08 Richard Biener + + PR tree-optimization/98192 + * tree-vect-slp.c (vect_build_slp_instance): Get scalar_stmts + by reference. + +2020-12-08 Richard Biener + + PR tree-optimization/98191 + * tree-vect-slp.c (vect_slp_check_for_constructors): Do not + follow a non-SSA def chain. + +2020-12-08 Richard Biener + + PR tree-optimization/97559 + * tree-ssa-sink.c (statement_sink_location): Never ignore + PHIs on sink paths in irreducible regions. + +2020-12-08 Prathamesh Kulkarni + + PR target/97872 + * gimple-isel.cc (gimple_expand_vec_cond_expr): Try to fold + x CMP y ? -1 : 0 to x CMP y. + +2020-12-08 Richard Biener + + PR tree-optimization/98180 + * tree-vect-slp.c (vect_slp_check_for_constructors): Check the + first inserted value has a def. + +2020-12-08 Eric Botcazou + + PR tree-optimization/96344 + * tree-switch-conversion.c (bit_test_cluster::emit): Compute the + range only if an entry test is necessary. Merge the entry test in + the bit test when possible. Use PREC local variable consistently. + When there is only one test, do a single gimplification at the end. + +2020-12-08 Kito Cheng + + PR target/98152 + * config.gcc (riscv*-*-*): Checking python, python3 or python2 + is available, and skip doing with_arch canonicalize if no python + available. + 2020-12-07 Jakub Jelinek PR target/98147 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 0793ecd0c80..c8f34b85e95 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20201208 +20201209 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index b1ea54551b6..79b7bec9cfc 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,9 @@ +2020-12-08 Jakub Jelinek + + PR c++/98187 + * c-pragma.c (omp_pragmas): Remove "master". + (omp_pragmas_simd): Add "master". + 2020-12-07 Marek Polacek PR c++/98126 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 82aedc45016..cb91fedcb2d 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,109 @@ +2020-12-08 Marek Polacek + + PR c++/98103 + * constexpr.c (cxx_eval_dynamic_cast_fn): If the evaluating of vtable + yields a null pointer, give an error and return. Use objtype. + +2020-12-08 Nathan Sidwell + + * class.c (layout_class_type): Call set_instantiating_module. + (build_self_reference): Likewise. + * decl.c (grokfndecl): Call set_originating_module. + (grokvardecl): Likewise. + (grokdeclarator): Likewise. + * pt.c (maybe_new_partial_specialization): Call + set_instantiating_module, propagate DECL_MODULE_EXPORT_P. + (lookup_template_class_1): Likewise. + (tsubst_function_decl): Likewise. + (tsubst_decl, instantiate_template_1): Likewise. + (build_template_decl): Propagate module flags. + (tsubst_template_dcl): Likewise. + (finish_concept_definition): Call set_originating_module. + * module.cc (set_instantiating_module, set_originating_module): Stubs. + +2020-12-08 Jason Merrill + + PR c++/96299 + * cp-tree.h (build_new_op): Add overload that omits some parms. + (genericize_spaceship): Add location_t parm. + * constexpr.c (cxx_eval_binary_expression): Pass it. + * cp-gimplify.c (genericize_spaceship): Pass it. + * method.c (genericize_spaceship): Handle class-type arguments. + (build_comparison_op): Fall back to op + + * call.c (build_new_op_1): Set *overload for ambiguity. + (build_new_method_call_1): Likewise. + +2020-12-08 Bernd Edlinger + + * decl2.c: (is_atomic_expensive_p): New helper function. + (build_atomic_load_byte): Rename to... + (build_atomic_load_type): ... and add new parameter type. + (get_guard_cond): Skip the atomic here if that is expensive. + Use the correct type for the atomic load on certain targets. + +2020-12-08 Nathan Sidwell + + * cp-tree.h (struct tinst_level): Add path & visible fields. + (build_cdtor_clones): Declare. + (match_mergeable_specialization): Use a spec_entry, add insert parm. + * class.c (build_cdtor_clones): Externalize. + * pt.c (push_tinst_level_loc): Clear new fields. + (match_mergeable_specialization): Adjust API. + +2020-12-08 Nathan Sidwell + + * decl2.c (start_objects): Refactor and adjust for named module + initializers. + (finish_objects): Likewise. + (generate_ctor_or_dtor_function): Likewise. + * module.cc (module_initializer_kind) + (module_add_import_initializers): Stubs. + +2020-12-08 Nathan Sidwell + + * Make-lang.in (MODULE_VERSION): Override when DEVPHASE not empty. + * module.cc: Comment. + +2020-12-08 Nathan Sidwell + + * cp-tree.h (mangle_module_substitution, mangle_identifier) + (mangle_module_global_init): Declare. + * mangle.c (struct globals): Add mod field. + (mangle_module_substitution, mangle_identifier) + (mangle_module_global_init): Define. + (write_module, maybe_write_module): New. + (write_name): Call it. + (start_mangling): Clear mod field. + (finish_mangling_internal): Adjust. + * module.cc (mangle_module, mangle_module_fini) + (get_originating_module): Stubs. + +2020-12-08 Nathan Sidwell + + * cp-tree.h (module_token_pre, module_token_cdtor) + (module_token_lang): Declare. + * lex.c: Include langhooks. + (struct module_token_filter): New. + * cp-tree.h (module_token_pre, module_token_cdtor) + (module_token_lang): Define. + * module.cc (get_module, preprocess_module, preprocessed_module): + Nop stubs. + +2020-12-08 Nathan Sidwell + + * Make-lang.in (MODULE_VERSION): Define. + * module.cc: Add includes. + +2020-12-08 Jakub Jelinek + + PR c++/98187 + * parser.c (cp_parser_omp_parallel): For parallel master with + -fopenmp-simd only, just call cp_parser_omp_master instead of + wrapping it in OMP_PARALLEL. + 2020-12-07 Marek Polacek PR c++/98043 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 8357d52f357..bab5f794203 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,22 @@ +2020-12-08 Tobias Burnus + + * dump-parse-tree.c (show_omp_clauses, show_omp_node, + show_code_node): Handle OMP SCAN. + * gfortran.h (enum gfc_statement): Add ST_OMP_SCAN. + (enum): Add OMP_LIST_SCAN_IN and OMP_LIST_SCAN_EX. + (enum gfc_exec_op): Add EXEC_OMP_SCAN. + * match.h (gfc_match_omp_scan): New prototype. + * openmp.c (gfc_match_omp_scan): New. + (gfc_match_omp_taskgroup): Cleanup. + (resolve_omp_clauses, gfc_resolve_omp_do_blocks, + omp_code_to_statement, gfc_resolve_omp_directive): Handle 'omp scan'. + * parse.c (decode_omp_directive, next_statement, + gfc_ascii_statement): Likewise. + * resolve.c (gfc_resolve_code): Handle EXEC_OMP_SCAN. + * st.c (gfc_free_statement): Likewise. + * trans-openmp.c (gfc_trans_omp_clauses, gfc_trans_omp_do, + gfc_split_omp_clauses): Handle 'omp scan'. + 2020-12-05 Paul Thomas PR fortran/98016 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8e2eca8eae4..b22f0d535b8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,101 @@ +2020-12-08 Jakub Jelinek + + PR tree-optimization/98191 + * gcc.dg/torture/pr98191.c: Add dg-additional-options with + -w -Wno-psabi. + +2020-12-08 Marek Polacek + + PR c++/98103 + * g++.dg/ubsan/vptr-18.C: New test. + +2020-12-08 Jason Merrill + + PR c++/96299 + * g++.dg/cpp2a/spaceship-synth-neg2.C: Move error. + * g++.dg/cpp2a/spaceship-p1186.C: New test. + +2020-12-08 Martin Liska + + PR tree-optimization/98182 + * gcc.dg/tree-ssa/if-to-switch-10.c: New test. + * gcc.dg/tree-ssa/pr98182.c: New test. + +2020-12-08 Tobias Burnus + + * gfortran.dg/gomp/reduction4.f90: Update; move FE some tests to ... + * gfortran.dg/gomp/reduction6.f90: ... this new test and ... + * gfortran.dg/gomp/reduction7.f90: ... this new test. + * gfortran.dg/gomp/reduction5.f90: Add dg-error. + * gfortran.dg/gomp/scan-1.f90: New test. + * gfortran.dg/gomp/scan-2.f90: New test. + * gfortran.dg/gomp/scan-3.f90: New test. + * gfortran.dg/gomp/scan-4.f90: New test. + * gfortran.dg/gomp/scan-5.f90: New test. + * gfortran.dg/gomp/scan-6.f90: New test. + * gfortran.dg/gomp/scan-7.f90: New test. + +2020-12-08 Jakub Jelinek + + PR target/94440 + * gcc.target/i386/pr94440-1.c: New file. + * gcc.target/i386/pr94440-2.c: New file. + +2020-12-08 Rainer Orth + + * gcc.target/i386/avx512vpopcntdq-pr97770-2.c: Require + avx512vpopcntdq support. + * gcc.target/i386/avx512vpopcntdqvl-pr97770-1.c: Require + avx512vpopcntdq, avx512vl support. + +2020-12-08 Rainer Orth + + * gcc.target/i386/pr98100.c: Require ifunc support. + +2020-12-08 Richard Biener + + PR testsuite/95900 + * gcc.dg/vect/bb-slp-pr95866.c: Require sse2 for the + BIT_FIELD_REF match. + +2020-12-08 Jakub Jelinek + + * gcc.target/i386/avx512dq-vandnpd-2.c (CALC): Use union + to avoid aliasing violations. + * gcc.target/i386/avx512dq-vandnps-2.c (CALC): Likewise. + * gcc.target/i386/avx512dq-vandpd-2.c (CALC): Likewise. + * gcc.target/i386/avx512dq-vandps-2.c (CALC): Likewise. + * gcc.target/i386/avx512dq-vorpd-2.c (CALC): Likewise. + * gcc.target/i386/avx512dq-vorps-2.c (CALC): Likewise. + * gcc.target/i386/avx512dq-vxorpd-2.c (CALC): Likewise. + * gcc.target/i386/avx512dq-vxorps-2.c (CALC): Likewise. + +2020-12-08 Jakub Jelinek + + PR c++/98187 + * c-c++-common/gomp/pr98187.c: New test. + +2020-12-08 Richard Biener + + PR tree-optimization/98191 + * gcc.dg/torture/pr98191.c: New testcase. + +2020-12-08 Richard Biener + + PR tree-optimization/97559 + * gcc.dg/torture/pr97559-1.c: New testcase. + * gcc.dg/torture/pr97559-2.c: Likewise. + +2020-12-08 Prathamesh Kulkarni + + PR target/97872 + * gcc.target/arm/pr97872.c: New test. + +2020-12-08 Eric Botcazou + + PR target/96470 + * gnat.dg/opt39.adb: Add dg-additional-options for PowerPC. + 2020-12-07 Martin Uecker PR c/97981 diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 9b95f553c9b..3fea7d35ecb 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,8 @@ +2020-12-08 Ian Lance Taylor + + * generic-morestack-thread.c (free_segments): Block signals during + thread exit. + 2020-12-03 Michael Meissner PR libgcc/97543 diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index ff2073709b8..016c8fca67d 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,7 @@ +2020-12-08 Tobias Burnus + + * testsuite/libgomp.fortran/scan-1.f90: New test. + 2020-12-05 Iain Sandoe PR target/97865 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index d3ee18ed7d1..9c4467bb6a9 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,15 @@ +2020-12-08 Jason Merrill + + PR c++/96299 + * testsuite/18_support/comparisons/algorithms/partial_order.cc: + One more line needs to use VERIFY instead of static_assert. + +2020-12-08 Jonathan Wakely + + * doc/xml/manual/appendix_contributing.xml: Use consistent + indentation. + * doc/html/manual/source_code_style.html: Regenerate. + 2020-12-05 Iain Sandoe PR target/97865 -- 2.30.2