Daily bump.
This commit is contained in:
parent
5a3bf28119
commit
ea34e2edd3
9 changed files with 355 additions and 1 deletions
127
gcc/ChangeLog
127
gcc/ChangeLog
|
@ -1,3 +1,130 @@
|
|||
2021-05-20 Clement Chigot <clement.chigot@atos.net>
|
||||
David Edelsohn <dje.gcc@gmail.com>
|
||||
|
||||
* collect2.c (scan_prog_file): Issue non-fatal warning for
|
||||
non-COFF files.
|
||||
|
||||
2021-05-20 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* 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 <indu.bhagat@oracle.com>
|
||||
|
||||
* 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 <indu.bhagat@oracle.com>
|
||||
|
||||
* 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 <msebor@redhat.com>
|
||||
|
||||
PR middle-end/100684
|
||||
* tree-ssa-ccp.c (pass_post_ipa_warn::execute): Handle C++ lambda.
|
||||
|
||||
2021-05-20 Uroš Bizjak <ubizjak@gmail.com>
|
||||
|
||||
PR target/100701
|
||||
* config/i386/i386.md (isa): Remove x64_bmi.
|
||||
(enabled): Remove x64_bmi.
|
||||
* config/i386/mmx.md (mmx_andnot<MMXMODEI:mode>3):
|
||||
Remove general register alternative.
|
||||
(*andnot<VI_32:mode>3): Ditto.
|
||||
(*mmx_<any_logic:code><MMXMODEI:mode>3): Ditto.
|
||||
(*<any_logic:code><VI_32:mode>3): Ditto.
|
||||
|
||||
2021-05-20 Kewen Lin <linkw@linux.ibm.com>
|
||||
|
||||
* config/arm/arm.c: Include head files tree-vectorizer.h and
|
||||
cfgloop.h.
|
||||
|
||||
2021-05-20 Uroš Bizjak <ubizjak@gmail.com>
|
||||
|
||||
PR target/100637
|
||||
* config/i386/mmx.md (Yv_Yw): Revert adding V4QI and V2HI modes.
|
||||
(*<plusminus:insn><VI_32:mode>3): Use Yw instad of <Yv_Yw> constrint.
|
||||
(<s>mulv4hi3_highpart): New expander.
|
||||
(*<s>mulv2hi3_highpart): New insn pattern.
|
||||
(<s>mulv2hi3_higpart): New expander.
|
||||
(*<any_shift:insn>v2hi3): New insn pattern.
|
||||
(<any_shift:insn>v2hi3): New expander.
|
||||
* config/i386/sse.md (smulhrsv2hi3): New expander.
|
||||
(*smulhrsv2hi3): New insn pattern.
|
||||
|
||||
2021-05-20 Kewen Lin <linkw@linux.ibm.com>
|
||||
|
||||
* 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 <christophe.lyon@linaro.org>
|
||||
Torbjörn Svensson <torbjorn.svensson@st.com>
|
||||
|
||||
PR c/42579
|
||||
* doc/cpp.texi (Common Predefined Macros): Document __FILE_NAME__.
|
||||
|
||||
2021-05-20 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR middle-end/99928
|
||||
* gimplify.c (gimplify_scan_omp_clauses) <case OMP_CLAUSE_LINEAR>: For
|
||||
explicit linear clause when combined with target, make it map(tofrom:)
|
||||
instead of no clause or firstprivate.
|
||||
|
||||
2021-05-20 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR tree-optimization/94589
|
||||
* match.pd ((X & Y) == X -> (X & ~Y) == 0): Simplify even in presence
|
||||
of integral conversions.
|
||||
|
||||
2021-05-19 Andrew MacLeod <amacleod@redhat.com>
|
||||
|
||||
* gimple-range.cc (fur_source::get_operand): New.
|
||||
|
|
|
@ -1 +1 @@
|
|||
20210520
|
||||
20210521
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
2021-05-20 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* c.opt (Wc++11-extensions, Wc++14-extensions)
|
||||
(Wc++17-extensions, Wc++20-extensions, Wc++23-extensions): New
|
||||
options.
|
||||
|
||||
2021-05-20 Indu Bhagat <indu.bhagat@oracle.com>
|
||||
|
||||
* c-lex.c (init_c_lex): Use dwarf_debuginfo_p.
|
||||
|
||||
2021-05-20 Indu Bhagat <indu.bhagat@oracle.com>
|
||||
|
||||
* 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 <msebor@redhat.com>
|
||||
|
||||
PR c/100619
|
||||
|
|
|
@ -1,3 +1,54 @@
|
|||
2021-05-20 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* 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 <jason@redhat.com>
|
||||
|
||||
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 <jwakely@redhat.com>
|
||||
|
||||
* 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 <jason@redhat.com>
|
||||
|
||||
PR c++/100634
|
||||
* pt.c (invalid_nontype_parm_type_p): Return true for COMPLEX_TYPE.
|
||||
|
||||
2021-05-20 Jason Merrill <jason@redhat.com>
|
||||
|
||||
PR c++/100659
|
||||
* cp-tree.h (CONST_DECL_USING_P): Check for null TREE_TYPE.
|
||||
|
||||
2021-05-19 Jason Merrill <jason@redhat.com>
|
||||
|
||||
PR c++/100367
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
2021-05-20 Marcel Vollweiler <marcel@codesourcery.com>
|
||||
|
||||
* openmp.c (gfc_match_omp_clauses): Support map-type-modifier 'close'.
|
||||
|
||||
2021-05-18 Tobias Burnus <tobias@codesourcery.com>
|
||||
|
||||
PR fortran/100642
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
2021-05-20 Indu Bhagat <indu.bhagat@oracle.com>
|
||||
|
||||
* objc-act.c (synth_module_prologue): Use uint32_t instead of enum
|
||||
debug_info_type.
|
||||
|
||||
2021-05-10 Martin Liska <mliska@suse.cz>
|
||||
|
||||
* objc-act.c (objc_string_ref_type_p): Use startswith
|
||||
|
|
|
@ -1,3 +1,85 @@
|
|||
2021-05-20 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* g++.dg/cpp2a/desig19.C: New test.
|
||||
|
||||
2021-05-20 Jason Merrill <jason@redhat.com>
|
||||
|
||||
PR c++/100489
|
||||
* g++.dg/cpp2a/desig18.C: New test.
|
||||
|
||||
2021-05-20 Indu Bhagat <indu.bhagat@oracle.com>
|
||||
|
||||
* gcc.dg/pch/valid-1.c: Adjust diagnostic message in testcase.
|
||||
* lib/dg-pch.exp: Adjust diagnostic message.
|
||||
|
||||
2021-05-20 Martin Sebor <msebor@redhat.com>
|
||||
|
||||
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 <bernd.edlinger@hotmail.de>
|
||||
|
||||
* g++.dg/modules/omp-1_c.C: Fix testcase.
|
||||
|
||||
2021-05-20 Uroš Bizjak <ubizjak@gmail.com>
|
||||
|
||||
PR target/100701
|
||||
* gcc.target/i386/pr100701.c: New test.
|
||||
|
||||
2021-05-20 Marcel Vollweiler <marcel@codesourcery.com>
|
||||
|
||||
* 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 <ebotcazou@adacore.com>
|
||||
|
||||
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 <ubizjak@gmail.com>
|
||||
|
||||
PR target/100637
|
||||
* gcc.target/i386/pr100637-1w.c (shl, ashr, lshr): New tests.
|
||||
|
||||
2021-05-20 Christophe Lyon <christophe.lyon@linaro.org>
|
||||
Torbjörn Svensson <torbjorn.svensson@st.com>
|
||||
|
||||
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 <tobias@codesourcery.com>
|
||||
|
||||
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 <jakub@redhat.com>
|
||||
|
||||
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 <jakub@redhat.com>
|
||||
|
||||
PR preprocessor/100646
|
||||
* gcc.dg/cpp/pr100646-1.c: New test.
|
||||
* gcc.dg/cpp/pr100646-2.c: New test.
|
||||
|
||||
2021-05-20 Jason Merrill <jason@redhat.com>
|
||||
|
||||
PR c++/100634
|
||||
* g++.dg/cpp2a/nontype-complex1.C: New test.
|
||||
|
||||
2021-05-20 Jason Merrill <jason@redhat.com>
|
||||
|
||||
PR c++/100659
|
||||
* g++.dg/parse/access13.C: New test.
|
||||
|
||||
2021-05-19 Martin Sebor <msebor@redhat.com>
|
||||
|
||||
PR c/100619
|
||||
|
|
|
@ -1,3 +1,17 @@
|
|||
2021-05-20 Christophe Lyon <christophe.lyon@linaro.org>
|
||||
Torbjörn Svensson <torbjorn.svensson@st.com>
|
||||
|
||||
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 <jakub@redhat.com>
|
||||
|
||||
PR preprocessor/100646
|
||||
* lex.c (cpp_directive_only_process): Treat end of file as termination
|
||||
for !is_block comments.
|
||||
|
||||
2021-05-12 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR preprocessor/100392
|
||||
|
|
|
@ -1,3 +1,57 @@
|
|||
2021-05-20 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* include/bits/random.tcc (__representable_as_double)
|
||||
(__p1_representable_as_double): Add "" to static asserts.
|
||||
|
||||
2021-05-20 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
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 <ppalka@redhat.com>
|
||||
|
||||
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 <joern.rennecke@riscy-ip.com>
|
||||
|
||||
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 <ppalka@redhat.com>
|
||||
|
||||
PR libstdc++/100631
|
||||
|
|
Loading…
Add table
Reference in a new issue