aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog127
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/c-family/ChangeLog17
-rw-r--r--gcc/cp/ChangeLog51
-rw-r--r--gcc/fortran/ChangeLog4
-rw-r--r--gcc/objc/ChangeLog5
-rw-r--r--gcc/testsuite/ChangeLog82
7 files changed, 287 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 88ce3e9..26b9963 100644
--- a/gcc/ChangeLog
+++ b/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.
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index e63f6d4..6e5d5d3 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20210520
+20210521
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 6fd6790..6dc0400 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -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
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 3f7cf15..d20edfb 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -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
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index aa8426f..7fabe76 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -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
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog
index 9474135..7ae02af 100644
--- a/gcc/objc/ChangeLog
+++ b/gcc/objc/ChangeLog
@@ -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
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 740f985..03db569 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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