From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id 04E963857811; Fri, 21 May 2021 00:17:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 04E963857811 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" From: GCC Administrator To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r12-957] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/master X-Git-Oldrev: 5a3bf28119c7a8d2d43d26b5eee588ee0e4472e5 X-Git-Newrev: ea34e2edd3d7ab245d1f57a1487c10587f324ec6 Message-Id: <20210521001736.04E963857811@sourceware.org> Date: Fri, 21 May 2021 00:17:35 +0000 (GMT) X-BeenThere: libstdc++-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2021 00:17:36 -0000 https://gcc.gnu.org/g:ea34e2edd3d7ab245d1f57a1487c10587f324ec6 commit r12-957-gea34e2edd3d7ab245d1f57a1487c10587f324ec6 Author: GCC Administrator Date: Fri May 21 00:16:57 2021 +0000 Daily bump. Diff: --- gcc/ChangeLog | 127 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c-family/ChangeLog | 17 +++++++ gcc/cp/ChangeLog | 51 +++++++++++++++++++ gcc/fortran/ChangeLog | 4 ++ gcc/objc/ChangeLog | 5 ++ gcc/testsuite/ChangeLog | 82 +++++++++++++++++++++++++++++++ libcpp/ChangeLog | 14 ++++++ libstdc++-v3/ChangeLog | 54 ++++++++++++++++++++ 9 files changed, 355 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 88ce3e9ae7e..26b9963845d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,130 @@ +2021-05-20 Clement Chigot + David Edelsohn + + * collect2.c (scan_prog_file): Issue non-fatal warning for + non-COFF files. + +2021-05-20 Jonathan Wakely + + * doc/invoke.texi (-Wno-c++11-extensions) + (-Wno-c++14-extensions, -Wno-c++17-extensions) + (-Wno-c++20-extensions, -Wno-c++23-extensions): Document + new options. + +2021-05-20 Indu Bhagat + + * config/c6x/c6x.c (c6x_output_file_unwind): Use dwarf_debuginfo_p. + * config/darwin.c (darwin_override_options): Likewise. + * config/i386/cygming.h (DBX_REGISTER_NUMBER): Likewise. + * config/i386/darwin.h (DBX_REGISTER_NUMBER): Likewise. + (DWARF2_FRAME_REG_OUT): Likewise. + * config/mips/mips.c (mips_output_filename): Likewise. + * config/rs6000/rs6000.c (rs6000_xcoff_declare_function_name): + Likewise. + (rs6000_dbx_register_number): Likewise. + * dbxout.c: Include flags.h. + * dwarf2cfi.c (cfi_label_required_p): Likewise. + (dwarf2out_do_frame): Likewise. + * except.c: Include flags.h. + * final.c (dwarf2_debug_info_emitted_p): Likewise. + (final_scan_insn_1): Likewise. + * flags.h (dwarf_debuginfo_p): New function declaration. + * opts.c (dwarf_debuginfo_p): New function definition. + * targhooks.c (default_debug_unwind_info): Use dwarf_debuginfo_p. + * toplev.c (process_options): Likewise. + +2021-05-20 Indu Bhagat + + * common.opt: Change type to support bitmasks. + * flag-types.h (enum debug_info_type): Rename enumerator constants. + (NO_DEBUG): New bitmask. + (DBX_DEBUG): Likewise. + (DWARF2_DEBUG): Likewise. + (XCOFF_DEBUG): Likewise. + (VMS_DEBUG): Likewise. + (VMS_AND_DWARF2_DEBUG): Likewise. + * flags.h (debug_set_to_format): New function declaration. + (debug_set_count): Likewise. + (debug_set_names): Likewise. + * opts.c (debug_type_masks): Array of bitmasks for debug formats. + (debug_set_to_format): New function definition. + (debug_set_count): Likewise. + (debug_set_names): Likewise. + (set_debug_level): Update access to debug_type_names. + * toplev.c: Likewise. + +2021-05-20 Martin Sebor + + PR middle-end/100684 + * tree-ssa-ccp.c (pass_post_ipa_warn::execute): Handle C++ lambda. + +2021-05-20 Uroš Bizjak + + PR target/100701 + * config/i386/i386.md (isa): Remove x64_bmi. + (enabled): Remove x64_bmi. + * config/i386/mmx.md (mmx_andnot3): + Remove general register alternative. + (*andnot3): Ditto. + (*mmx_3): Ditto. + (*3): Ditto. + +2021-05-20 Kewen Lin + + * config/arm/arm.c: Include head files tree-vectorizer.h and + cfgloop.h. + +2021-05-20 Uroš Bizjak + + PR target/100637 + * config/i386/mmx.md (Yv_Yw): Revert adding V4QI and V2HI modes. + (*3): Use Yw instad of constrint. + (mulv4hi3_highpart): New expander. + (*mulv2hi3_highpart): New insn pattern. + (mulv2hi3_higpart): New expander. + (*v2hi3): New insn pattern. + (v2hi3): New expander. + * config/i386/sse.md (smulhrsv2hi3): New expander. + (*smulhrsv2hi3): New insn pattern. + +2021-05-20 Kewen Lin + + * doc/invoke.texi (vect-inner-loop-cost-factor): Document new + parameter. + * params.opt (vect-inner-loop-cost-factor): New. + * targhooks.c (default_add_stmt_cost): Replace hardcoded factor + 50 with LOOP_VINFO_INNER_LOOP_COST_FACTOR, include head file + tree-vectorizer.h and its required ones. + * config/aarch64/aarch64.c (aarch64_add_stmt_cost): Replace + hardcoded factor 50 with LOOP_VINFO_INNER_LOOP_COST_FACTOR. + * config/arm/arm.c (arm_add_stmt_cost): Likewise. + * config/i386/i386.c (ix86_add_stmt_cost): Likewise. + * config/rs6000/rs6000.c (rs6000_add_stmt_cost): Likewise. + * tree-vect-loop.c (vect_compute_single_scalar_iteration_cost): + Likewise. + (_loop_vec_info::_loop_vec_info): Init inner_loop_cost_factor. + * tree-vectorizer.h (_loop_vec_info): Add inner_loop_cost_factor. + (LOOP_VINFO_INNER_LOOP_COST_FACTOR): New macro. + +2021-05-20 Christophe Lyon + Torbjörn Svensson + + PR c/42579 + * doc/cpp.texi (Common Predefined Macros): Document __FILE_NAME__. + +2021-05-20 Jakub Jelinek + + PR middle-end/99928 + * gimplify.c (gimplify_scan_omp_clauses) : For + explicit linear clause when combined with target, make it map(tofrom:) + instead of no clause or firstprivate. + +2021-05-20 Jakub Jelinek + + PR tree-optimization/94589 + * match.pd ((X & Y) == X -> (X & ~Y) == 0): Simplify even in presence + of integral conversions. + 2021-05-19 Andrew MacLeod * gimple-range.cc (fur_source::get_operand): New. diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index e63f6d4142a..6e5d5d3afec 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20210520 +20210521 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 6fd6790098b..6dc0400c955 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,20 @@ +2021-05-20 Jonathan Wakely + + * c.opt (Wc++11-extensions, Wc++14-extensions) + (Wc++17-extensions, Wc++20-extensions, Wc++23-extensions): New + options. + +2021-05-20 Indu Bhagat + + * c-lex.c (init_c_lex): Use dwarf_debuginfo_p. + +2021-05-20 Indu Bhagat + + * c-opts.c (c_common_post_options): Adjust access to debug_type_names. + * c-pch.c (struct c_pch_validity): Use type uint32_t. + (pch_init): Renamed member. + (c_common_valid_pch): Adjust access to debug_type_names. + 2021-05-19 Martin Sebor PR c/100619 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 3f7cf15d5b7..d20edfbed8c 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,54 @@ +2021-05-20 Jason Merrill + + * call.c (reference_binding): Check for designator. + (implicit_conversion_1, build_special_member_call): Likewise. + * decl.c (reshape_init_r): Likewise. + * pt.c (do_class_deduction): Likewise. + * typeck2.c (digest_init_r): Likewise. + +2021-05-20 Jason Merrill + + PR c++/100489 + * decl.c (reshape_init_class): Handle designator for + member of anonymous aggregate here. + * typeck2.c (process_init_constructor_record): Not here. + +2021-05-20 Jonathan Wakely + + * call.c (maybe_warn_array_conv): Use new warning option. + * decl.c (mark_inline_variable, grokdeclarator): Likewise. + * error.c (maybe_warn_cpp0x): Likewise. + * parser.c (cp_parser_primary_expression) + (cp_parser_unqualified_id) + (cp_parser_pseudo_destructor_name) + (cp_parser_lambda_introducer) + (cp_parser_lambda_declarator_opt) + (cp_parser_selection_statement) + (cp_parser_init_statement) + (cp_parser_decomposition_declaration) + (cp_parser_function_specifier_opt) + (cp_parser_static_assert) + (cp_parser_namespace_definition) + (cp_parser_using_declaration) + (cp_parser_asm_definition) + (cp_parser_ctor_initializer_opt_and_function_body) + (cp_parser_initializer_list) + (cp_parser_type_parameter_key) + (cp_parser_member_declaration) + (cp_parser_try_block) + (cp_parser_std_attribute_spec): Likewise. + * pt.c (check_template_variable): Likewise. + +2021-05-20 Jason Merrill + + PR c++/100634 + * pt.c (invalid_nontype_parm_type_p): Return true for COMPLEX_TYPE. + +2021-05-20 Jason Merrill + + PR c++/100659 + * cp-tree.h (CONST_DECL_USING_P): Check for null TREE_TYPE. + 2021-05-19 Jason Merrill PR c++/100367 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index aa8426f2330..7fabe763874 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,7 @@ +2021-05-20 Marcel Vollweiler + + * openmp.c (gfc_match_omp_clauses): Support map-type-modifier 'close'. + 2021-05-18 Tobias Burnus PR fortran/100642 diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog index 94741355e3b..7ae02afc679 100644 --- a/gcc/objc/ChangeLog +++ b/gcc/objc/ChangeLog @@ -1,3 +1,8 @@ +2021-05-20 Indu Bhagat + + * objc-act.c (synth_module_prologue): Use uint32_t instead of enum + debug_info_type. + 2021-05-10 Martin Liska * objc-act.c (objc_string_ref_type_p): Use startswith diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 740f985b8d9..03db5690423 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,85 @@ +2021-05-20 Jason Merrill + + * g++.dg/cpp2a/desig19.C: New test. + +2021-05-20 Jason Merrill + + PR c++/100489 + * g++.dg/cpp2a/desig18.C: New test. + +2021-05-20 Indu Bhagat + + * gcc.dg/pch/valid-1.c: Adjust diagnostic message in testcase. + * lib/dg-pch.exp: Adjust diagnostic message. + +2021-05-20 Martin Sebor + + PR middle-end/100684 + * g++.dg/warn/Wnonnull13.C: New test. + * g++.dg/warn/Wnonnull14.C: New test. + * g++.dg/warn/Wnonnull15.C: New test. + +2021-05-20 Bernd Edlinger + + * g++.dg/modules/omp-1_c.C: Fix testcase. + +2021-05-20 Uroš Bizjak + + PR target/100701 + * gcc.target/i386/pr100701.c: New test. + +2021-05-20 Marcel Vollweiler + + * gfortran.dg/gomp/map-6.f90: New test. + * gfortran.dg/gomp/map-7.f90: New test. + * gfortran.dg/gomp/map-8.f90: New test. + +2021-05-20 Eric Botcazou + + PR testsuite/96488 + * gnat.dg/unchecked_convert5.adb: Do not run on PowerPC64 LE. + * gnat.dg/unchecked_convert6.adb: Likewise. + +2021-05-20 Uroš Bizjak + + PR target/100637 + * gcc.target/i386/pr100637-1w.c (shl, ashr, lshr): New tests. + +2021-05-20 Christophe Lyon + Torbjörn Svensson + + PR c/42579 + * c-c++-common/spellcheck-reserved.c: Add tests for __FILE_NAME__. + * c-c++-common/cpp/file-name-1.c: New test. + +2021-05-20 Tobias Burnus + + PR fortran/96983 + * gfortran.dg/pr96711.f90: Use 2**digit(x) instead of a hard-coded value; + add comments regarding what the code does. + +2021-05-20 Jakub Jelinek + + PR middle-end/99928 + * c-c++-common/gomp/pr99928-4.c: Remove all xfails. + * c-c++-common/gomp/pr99928-5.c: Likewise. + +2021-05-20 Jakub Jelinek + + PR preprocessor/100646 + * gcc.dg/cpp/pr100646-1.c: New test. + * gcc.dg/cpp/pr100646-2.c: New test. + +2021-05-20 Jason Merrill + + PR c++/100634 + * g++.dg/cpp2a/nontype-complex1.C: New test. + +2021-05-20 Jason Merrill + + PR c++/100659 + * g++.dg/parse/access13.C: New test. + 2021-05-19 Martin Sebor PR c/100619 diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 0d2c86fc78e..ea3bec88614 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,17 @@ +2021-05-20 Christophe Lyon + Torbjörn Svensson + + PR c/42579 + * include/cpplib.h (cpp_builtin_type): Add BT_FILE_NAME entry. + * init.c (builtin_array): Likewise. + * macro.c (_cpp_builtin_macro_text): Add support for BT_FILE_NAME. + +2021-05-20 Jakub Jelinek + + PR preprocessor/100646 + * lex.c (cpp_directive_only_process): Treat end of file as termination + for !is_block comments. + 2021-05-12 Jakub Jelinek PR preprocessor/100392 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 48fa7ad83b1..58e0bb28c18 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,57 @@ +2021-05-20 Jonathan Wakely + + * include/bits/random.tcc (__representable_as_double) + (__p1_representable_as_double): Add "" to static asserts. + +2021-05-20 Jonathan Wakely + + PR libstdc++/100676 + * include/bits/c++config (__glibcxx_assert_1): Rename to ... + (__glibcxx_constexpr_assert): ... this. + (__glibcxx_assert_impl): Use __glibcxx_constexpr_assert. + (__glibcxx_assert): Define as either __glibcxx_constexpr_assert + or __glibcxx_assert_impl. + (__glibcxx_assert_2): Remove + * include/debug/macros.h (_GLIBCXX_DEBUG_VERIFY_AT_F): Use + __glibcxx_constexpr_assert instead of __glibcxx_assert_1. + * testsuite/21_strings/basic_string_view/element_access/char/back_constexpr_neg.cc: + Adjust expected error. + * testsuite/21_strings/basic_string_view/element_access/char/constexpr_neg.cc: + Likewise. + * testsuite/21_strings/basic_string_view/element_access/char/front_constexpr_neg.cc: + Likewise. + Likewise. + * testsuite/21_strings/basic_string_view/element_access/wchar_t/back_constexpr_neg.cc: + Likewise. + * testsuite/21_strings/basic_string_view/element_access/wchar_t/constexpr_neg.cc: + Likewise. + * testsuite/21_strings/basic_string_view/element_access/wchar_t/front_constexpr_neg.cc: + Likewise. + * testsuite/23_containers/span/back_neg.cc: Likewise. + * testsuite/23_containers/span/front_neg.cc: Likewise. + * testsuite/23_containers/span/index_op_neg.cc: Likewise. + +2021-05-20 Patrick Palka + + PR libstdc++/100639 + * include/bits/stl_iterator.h (reverse_iterator::difference_type): + In C++20 mode, define in terms of iter_difference_t as per P0896R4. + (reverse_iterator::reference): Likewise, but with iter_reference_t. + (reverse_iterator::value_type): Likewise, but with iter_value_t. + * testsuite/std/ranges/adaptors/reverse.cc (test08): New test. + * testsuite/24_iterators/reverse_iterator/100639.cc: New test. + +2021-05-20 Joern Rennecke + + PR libstdc++/100361 + * include/std/charconv (to_chars): Hide the overloads for + floating-point types for 16 bit targets. + * src/c++17/floating_to_chars.cc: Don't compile for 16 bit targets. + * testsuite/20_util/to_chars/double.cc: Run this test only on + size32plus targets. + * testsuite/20_util/to_chars/float.cc: Likewise. + * testsuite/20_util/to_chars/long_double.cc: Likewise. + 2021-05-18 Patrick Palka PR libstdc++/100631