diff options
author | GCC Administrator <gccadmin@gcc.gnu.org> | 2022-05-11 00:16:40 +0000 |
---|---|---|
committer | GCC Administrator <gccadmin@gcc.gnu.org> | 2022-05-11 00:16:40 +0000 |
commit | e877898911574037af5aaa68ff6451ec5ced20e9 (patch) | |
tree | 3ef127b3f1c73dfc1a9cae1d24430638f49cce7e /gcc | |
parent | a4ad92fc4d0d0cdb003f4355a99132f556a06b0d (diff) | |
download | gcc-e877898911574037af5aaa68ff6451ec5ced20e9.zip gcc-e877898911574037af5aaa68ff6451ec5ced20e9.tar.gz gcc-e877898911574037af5aaa68ff6451ec5ced20e9.tar.bz2 |
Daily bump.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 95 | ||||
-rw-r--r-- | gcc/DATESTAMP | 2 | ||||
-rw-r--r-- | gcc/ada/ChangeLog | 203 | ||||
-rw-r--r-- | gcc/cp/ChangeLog | 62 | ||||
-rw-r--r-- | gcc/fortran/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/po/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog | 91 |
7 files changed, 463 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1717079..c774186 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,98 @@ +2022-05-10 Jakub Jelinek <jakub@redhat.com> + + PR tree-optimization/105528 + * gimple-isel.cc (gimple_expand_vec_set_expr): After gsi_remove + set *gsi to gsi_for_stmt (ass_stmt). Fix up function comment. + +2022-05-10 Segher Boessenkool <segher@kernel.crashing.org> + + * doc/md.texi (Defining Mode Iterators): Correct example replacement + text. + +2022-05-10 Maciej W. Rozycki <macro@embecosm.com> + + * config/riscv/riscv.md (UNSPEC_FMIN, UNSPEC_FMAX): New + constants. + (fmin<mode>3, fmax<mode>3): New insns. + +2022-05-10 Richard Biener <rguenther@suse.de> + + * tree-if-conv.cc (fold_build_cond_expr): Use + match-and-simplify to simplify the condition. + (ifcvt_follow_ssa_use_edges): Remove. + (predicate_scalar_phi): Use follow_all_ssa_edges. + +2022-05-10 Thomas Schwinge <thomas@codesourcery.com> + + PR middle-end/100400 + * omp-oacc-kernels-decompose.cc + (visit_loops_in_gang_single_region) <GIMPLE_OMP_FOR>: Explicitly + call 'internal_error'. + +2022-05-10 Richard Biener <rguenther@suse.de> + + PR middle-end/105537 + * toplev.cc (process_options): Move flag_var_tracking + handling ... + * opts.cc (finish_options): ... here. + +2022-05-10 Martin Liska <mliska@suse.cz> + + * basic-block.h (struct basic_block_d): Use void * + instead PTR. + * cfgloop.h: Likewise. + * cgraph.h: Likewise. + * gengtype-state.cc (state_ident_by_name): Likewise. + (record_type): Likewise. + (read_state_already_seen_type): Likewise. + * gengtype.cc (dump_type): Likewise. + (input_file_by_name): Likewise. + (main): Likewise. + * ggc-common.cc (ggc_cleared_alloc_ptr_array_two_args): Likewise. + * ipa-utils.h (struct ipa_dfs_info): Likewise. + * plugin.cc (htab_hash_plugin): Likewise. + +2022-05-10 Richard Biener <rguenther@suse.de> + + * flags.h (dwarf_debuginfo_p): Add opts argument, guard + API with !GENERATOR_FILE. + * opts.cc (global_options): Poison. + (global_options_set): Likewise. + (finish_options): Refer to options via opts. + +2022-05-10 Uroš Bizjak <ubizjak@gmail.com> + Roger Sayle <roger@nextmovesoftware.com> + + * config/i386/i386.md (*testqi_1_maybe_si): Prefer shorter SImode + alternative when optimizing for size and the immediate operand is + const_0_to_127_operand. + (*andqi_2_maybe_si): Likewise. + * config/i386/predicates.md (const_0_to_127_operand): New predicate. + +2022-05-10 Roger Sayle <roger@nextmovesoftware.com> + + * tree-chrec.cc (chrec_apply): Attempt to fold the linear chrec + "{a, +, a} (x-1)" as "a*x", as the number of loop iterations, x-1, + can't be negative. + +2022-05-10 Eric Botcazou <ebotcazou@adacore.com> + + PR target/105292 + * config/sparc/sparc.cc (sparc_vectorize_vec_perm_const): Return + true only for 8-byte vector modes. + +2022-05-10 Siddhesh Poyarekar <siddhesh@gotplt.org> + + PR middle-end/70090 + * ubsan.cc (ubsan_expand_objsize_ifn): Allow non-constant SIZE. + (instrument_object_size): Get dynamic object size expression. + +2022-05-10 Jiufu Guo <guojiufu@linux.ibm.com> + + PR preprocessor/101168 + * config/rs6000/rs6000-c.cc (rs6000_macro_to_expand): + Avoid empty identifier. + 2022-05-09 Qing Zhao <qing.zhao@oracle.com> PR target/101891 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index faebf4d..3e06743 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20220510 +20220511 diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 3a7b9ee..7e5c660 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,206 @@ +2022-05-10 Martin Liska <mliska@suse.cz> + + * gcc-interface/decl.cc (compare_field_bitpos): Use void * + instead PTR. + * gcc-interface/utils2.cc (compare_elmt_bitpos): Likewise. + +2022-05-10 Eric Botcazou <ebotcazou@adacore.com> + + * fe.h (Is_Expression_Function): Declare. + * sem_util.ads (Is_Expression_Function): Add warning line. + +2022-05-10 Alexandre Oliva <oliva@adacore.com> + + * exp_attr.adb (Expand_N_Attribute_Reference) <Attribute_Valid>: + Drop redundant range check for nonstandard booleans. + +2022-05-10 Alexandre Oliva <oliva@adacore.com> + + * exp_util.adb (Adjust_Result_Type): Leave result in + Standard.Boolean if it's going to be converted to another + boolean type. + * exp_ch4.adb (Expand_N_Type_Conversion): When optimizing, + convert to nonstandard booleans with an if_expression with + boolean literals. + +2022-05-10 Alexandre Oliva <oliva@adacore.com> + + * exp_ch4.adb (Expand_N_If_Expression): Call Adjust_Condition to + handle non-standard booleans. + +2022-05-10 Justin Squirek <squirek@adacore.com> + + * sem_ch8.adb (Use_One_Type): Remove code in charge of setting + Current_Use_Clause when Id is known to be redundant, and modify + the printing of errors associated with redundant use type + clauses so that line number gets included in more cases. + +2022-05-10 Piotr Trojanek <trojanek@adacore.com> + + * sem_warn.adb (Check_Unset_Reference): Use variant of + Earlier_In_Extended_Unit that calls Sloc internally. + +2022-05-10 Piotr Trojanek <trojanek@adacore.com> + + * par-ch10.adb, scng.adb, sem_res.adb, sinfo-utils.adb, + treepr.adb: Simplify calculations with Source_Ptr and Loc + values. + +2022-05-10 Piotr Trojanek <trojanek@adacore.com> + + * sem_res.adb (Resolve_Expression_With_Actions): Fix style in + nested routines. + +2022-05-10 Piotr Trojanek <trojanek@adacore.com> + + * atree.adb, exp_ch6.adb, exp_ch9.adb, ghost.adb, sem_ch3.adb, + sem_ch4.adb, sem_res.adb, sem_util.adb: Use + Is_Rewrite_Substitution where possible. + +2022-05-10 Piotr Trojanek <trojanek@adacore.com> + + * exp_ch11.adb, exp_ch5.adb, exp_prag.adb, gnat_cuda.adb, + sem_ch12.adb, sem_ch3.adb, sem_ch6.adb, sem_util.adb, + treepr.adb: Replace /= and = operators with No and Present, + respectively. + +2022-05-10 Piotr Trojanek <trojanek@adacore.com> + + * sem_warn.adb (Within_Postcondition): Guard against search + going too far. + +2022-05-10 Piotr Trojanek <trojanek@adacore.com> + + * sem_warn.adb (Check_Unset_Reference): The early test was only + saving time of calls to Original_Node, Comes_From_Source and + Nkind, which are all quick and cheap. + +2022-05-10 Piotr Trojanek <trojanek@adacore.com> + + * sem_ch5.adb (Check_Unreachable_Code): Remove inner declare + block; refill code and comments. + +2022-05-10 Piotr Trojanek <trojanek@adacore.com> + + * sem_ch6.adb (Analyze_Subprogram_Body_Helper): Replace + First_Entity/Next_Entity with First_Formal/Next_Formal; rename + E1/E2 to F1/F2. + +2022-05-10 Piotr Trojanek <trojanek@adacore.com> + + * sem_res.adb (Resolve_Declare_Expression): Check expression for + references to unset objects. + (Resolve_Qualified_Expression): Likewise. + * sem_warn.adb (Check_Unset_Reference): Remove handling of + declare and qualified expressions; clarify comment for type + conversions. + +2022-05-10 Piotr Trojanek <trojanek@adacore.com> + + * sem_res.adb (Resolve_Case_Expression): Check alternative + expressions for references to unset objects. + (Resolve_If_Expression): Check condition, then and else + expressions for references to unset objects. + +2022-05-10 Kévin Le Gouguec <legouguec@adacore.com> + + * doc/gnat_rm/implementation_defined_attributes.rst, + doc/gnat_ugn/the_gnat_compilation_model.rst: Fix typos. + * gnat_rm.texi, gnat_ugn.texi: Regenerate. + +2022-05-10 Etienne Servais <servais@adacore.com> + + * sem_ch13.adb (Is_Predicate_Static): Fix typo in comment. + +2022-05-10 Yannick Moy <moy@adacore.com> + + * libgnat/s-valuei.adb: Fix indentation. + * libgnat/s-valuei.ads: Same. + +2022-05-10 Claire Dross <dross@adacore.com> + + * snames.ads-tmpl: Add "Structural" as a name. + * sem_prag.adb: (Analyze_Pragma): Accept modifier "Structural" + in pragmas Loop_Variant and Subprogram_Variant. Check that items + associated to Structural occur alone in the pragma associations. + (Analyze_Subprogram_Variant_In_Decl_Part): Idem. + * exp_prag.adb (Expand_Pragma_Loop_Variant): Discard structural + variants. + (Expand_Pragma_Subprogram_Variant): Idem. + +2022-05-10 Claire Dross <dross@adacore.com> + + * libgnat/s-valint.ads: Add SPARK_Mode and pragma to ignore + assertions in instance and add additional ghost parameters to + the instance of Value_I. + * libgnat/s-vallli.ads: Idem. + * libgnat/s-valllli.ads: Idem. + * libgnat/s-valuei.ads, libgnat/s-valuei.adb: New generic + parameters for ghost functions from System.Valueu. Add + functional contracts. + +2022-05-10 Eric Botcazou <ebotcazou@adacore.com> + + * sem_res.adb (Resolve_Eqyality_Op): Remove obsolete code. + (Resolve_Op_Not): Likewise. + * sem_type.adb (Disambiguate): Add missing test for RM 8.4(10). + * libgnat/s-dwalin.adb (Enable_Cache): Fix ambiguity. + (Symbolic_Address): Likewise. + +2022-05-10 Eric Botcazou <ebotcazou@adacore.com> + + * sem_eval.adb (Eval_Integer_Literal): Fix oversight in entry test. + +2022-05-10 Piotr Trojanek <trojanek@adacore.com> + + * exp_aggr.adb (Expand_N_Aggregate): Replace UI_To_Int with + UI_To_CC; replace magic literals with high-level routines that + recognise wide and wide wide characters; reorder if-then-elsif + condition, because we don't have a routine to detect wide wide + characters. + +2022-05-10 Etienne Servais <servais@adacore.com> + + * scng.adb (Nlit): Error on big UI_Scale. + +2022-05-10 Piotr Trojanek <trojanek@adacore.com> + + * exp_util.adb (Build_Task_Array_Image): Declare expanded + objects as constants. + (Build_Task_Image_Prefix): Likewise. + (Build_Task_Record_Image): Likewise. + +2022-05-10 Marc Poulhiès <poulhies@adacore.com> + + * checks.adb (Determine_Range): Fix range refining. + +2022-05-10 Steve Baird <baird@adacore.com> + + * sem_util.adb (Get_Actual_Subtype): If a new subtype is built, + do not freeze it if Expander_Active is False. The idea here is + to avoid generating an unwanted Freeze_Node for a subtype that + has been conjured up solely for purposes of preanalysis. + +2022-05-10 Piotr Trojanek <trojanek@adacore.com> + + * exp_util.adb (Build_Task_Array_Image): Fix style in the + structure of generated code; add Pref'Length as the component of + the Sum initialization expression. + +2022-05-10 Piotr Trojanek <trojanek@adacore.com> + + * exp_prag.adb (Expand_Pragma_Import_Or_Interface): Use + Get_Char_Code. + * exp_util.adb (Build_Task_Array_Image): Simplify conversion to + Char_Code. + (Build_Task_Image_Prefix): Likewise. + (Build_Task_Record_Image): Likewise. + * cstand.adb (Create_Standard): Use UI_From_Int instead of + UI_From_CC. + * exp_ch11.adb (Expand_N_Exception_Declaration): Likewise. + * sem_res.adb (Patch_Up_Value): Likewise. + * stringt.adb (Write_String_Table_Entry): Use Get_Char_Code. + 2022-05-09 Yannick Moy <moy@adacore.com> * sem_util.adb (Bad_Predicated_Subtype_Use): Add continuation diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index b916096..af341ef 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,65 @@ +2022-05-10 Patrick Palka <ppalka@redhat.com> + + * coroutines.cc (instantiate_coro_traits): Adjust accordingly. + * cp-tree.def: Remove mention of SET_PACK_EXPANSION_PATTERN. + * cp-tree.h (SET_PACK_EXPANSION_PATTERN): Remove. + (SET_ARGUMENT_PACK_ARGS): Remove. + * module.cc (trees_in::tree_node): Adjust accordingly. + * parser.cc (make_char_string_pack): Likewise. + (make_string_pack): Likewise. + * pt.cc (make_pack_expansion): Likewise. + (template_parm_to_arg): Likewise. + (coerce_template_parameter_pack): Likewise. + (extract_fnparm_pack): Likewise. + (extract_locals_r): Likewise. + (make_argument_pack): Likewise. + (tsubst_argument_pack): Likewise. + (lookup_init_capture_pack): Likewise. + (type_unification_real): Likewise. + (unify_pack_expansion): Likewise. + (tsubst_initializer_list): Likewise. + +2022-05-10 Patrick Palka <ppalka@redhat.com> + + * cp-tree.h (PACK_EXPANSION_CHECK): Define. + (PACK_EXPANSION_PATTERN): Use PACK_EXPANSION_CHECK. + (SET_PACK_EXPANSION_PATTERN): Likewise. + (PACK_EXPANSION_PARAMETER_PACKS): Likewise. + (PACK_EXPANSION_EXTRA_ARGS): Likewise. + (PACK_EXPANSION_LOCAL_P): Likewise. + (PACK_EXPANSION_SIZEOF_P): Likewise. + (PACK_EXPANSION_AUTO_P): Likewise. + (PACK_EXPANSION_FORCE_EXTRA_ARGS_P): Likewise. + (ARGUMENT_PACK_CHECK): Define. + (ARGUMENT_PACK_ARGS): Use ARGUMENT_PACK_CHECK. + (SET_ARGUMENT_PACK_ARGS): Likewise. + * parser.cc (cp_parser_sizeof_pack): Check for error_mark_node + before setting PACK_EXPANSION_SIZEOF_P. + +2022-05-10 Nathan Sidwell <nathan@acm.org> + + * cp-tree.h (enum module_kind_bits): Disambiguate purview, + attach, named module vs header-unit. + (global_purview_p, not_module_p): Delete. + (named_module_p): New. + (header_module_p, module_purview_p): Adjust. + (module_attach_p, named_module_purview_p): New. + * decl.cc (duplicate_decls): Adjust. + * module.cc (declare_module, preprocessed_module): Adjust. + * name-lookup.cc (init_global_partition): Adjust. + (get_fixed_binding_slot, pushdecl): Adjust. + * parser.cc (cp_parser_module_declaration): Adjust. + (cp_parser_import_declaration, cp_parser_declaration): Adjust. + +2022-05-10 Jason Merrill <jason@redhat.com> + + PR c++/105529 + * decl.cc (maybe_return_this): Replace... + (finish_constructor_body, finish_destructor_body): ...these. + (finish_function_body): Call it. + * optimize.cc (build_delete_destructor_body): Call it. + * cp-tree.h (maybe_return_this): Declare. + 2022-05-09 Marek Polacek <polacek@redhat.com> PR c++/103539 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 4f63845..828f74d 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,10 @@ +2022-05-10 Harald Anlauf <anlauf@gmx.de> + + PR fortran/105526 + * resolve.cc (check_team): New. + (gfc_resolve_code): Add checks for arguments to coarray intrinsics + FORM TEAM, CHANGE TEAM, and SYNC TEAM. + 2022-05-09 Harald Anlauf <anlauf@gmx.de> PR fortran/105501 diff --git a/gcc/po/ChangeLog b/gcc/po/ChangeLog index 94c1368..d1fad8f 100644 --- a/gcc/po/ChangeLog +++ b/gcc/po/ChangeLog @@ -1,3 +1,7 @@ +2022-05-10 Joseph Myers <joseph@codesourcery.com> + + * hr.po: Update. + 2022-05-09 Joseph Myers <joseph@codesourcery.com> * be.po, da.po, de.po, el.po, es.po, fi.po, fr.po, hr.po, id.po, diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 420f691..2373343 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,94 @@ +2022-05-10 Harald Anlauf <anlauf@gmx.de> + + PR fortran/105526 + * gfortran.dg/coarray_50.f90: New test. + +2022-05-10 H.J. Lu <hjl.tools@gmail.com> + + PR target/105472 + * gcc.target/i386/iamcu/asm-support.S: Add .note.GNU-stack section + only for Linux. + * gcc.target/x86_64/abi/asm-support.S: Likewise. + * gcc.target/x86_64/abi/avx/asm-support.S: Likewise. + * gcc.target/x86_64/abi/avx512f/asm-support.S: Likewise. + * gcc.target/x86_64/abi/avx512fp16/asm-support.S: Likewise. + * gcc.target/x86_64/abi/avx512fp16/m256h/asm-support.S: Likewise. + * gcc.target/x86_64/abi/avx512fp16/m512h/asm-support.S: Likewise. + * gcc.target/x86_64/abi/ms-sysv/do-test.S: Likewise. + +2022-05-10 Jakub Jelinek <jakub@redhat.com> + + PR tree-optimization/105528 + * gcc.dg/pr105528.c: New test. + +2022-05-10 Maciej W. Rozycki <macro@embecosm.com> + + * gcc.target/riscv/fmax-snan.c: New test. + * gcc.target/riscv/fmax.c: New test. + * gcc.target/riscv/fmaxf-snan.c: New test. + * gcc.target/riscv/fmaxf.c: New test. + * gcc.target/riscv/fmin-snan.c: New test. + * gcc.target/riscv/fmin.c: New test. + * gcc.target/riscv/fminf-snan.c: New test. + * gcc.target/riscv/fminf.c: New test. + * gcc.target/riscv/smax-ieee.c: New test. + * gcc.target/riscv/smax.c: New test. + * gcc.target/riscv/smaxf-ieee.c: New test. + * gcc.target/riscv/smaxf.c: New test. + * gcc.target/riscv/smin-ieee.c: New test. + * gcc.target/riscv/smin.c: New test. + * gcc.target/riscv/sminf-ieee.c: New test. + * gcc.target/riscv/sminf.c: New test. + +2022-05-10 Thomas Schwinge <thomas@codesourcery.com> + + PR middle-end/100400 + * c-c++-common/goacc/kernels-decompose-pr100400-1-2.c: Specify + '-Wfatal-errors'. + +2022-05-10 Richard Biener <rguenther@suse.de> + + PR middle-end/105537 + * gcc.dg/torture/pr105537.c: New testcase. + +2022-05-10 Uroš Bizjak <ubizjak@gmail.com> + Roger Sayle <roger@nextmovesoftware.com> + + * gcc.target/i386/and-1.c: New test case. + +2022-05-10 Roger Sayle <roger@nextmovesoftware.com> + + * gcc.dg/tree-ssa/pr65855-2.c: New test case. + +2022-05-10 Claire Dross <dross@adacore.com> + + * gnat.dg/loopvar.adb: Update expected error message. + +2022-05-10 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/equal7.adb: Add expected error messages (code is now + illegal). + +2022-05-10 Eric Botcazou <ebotcazou@adacore.com> + + * gcc.target/sparc/20220510-1.c: New test. + +2022-05-10 Siddhesh Poyarekar <siddhesh@gotplt.org> + + PR middle-end/70090 + * gcc.dg/ubsan/object-size-dyn.c: New test. + +2022-05-10 Jason Merrill <jason@redhat.com> + + PR c++/105529 + * g++.dg/cpp2a/constexpr-dtor13.C: New test. + * g++.dg/cpp2a/constexpr-dtor14.C: New test. + +2022-05-10 Jiufu Guo <guojiufu@linux.ibm.com> + + PR preprocessor/101168 + * g++.target/powerpc/pr101168.C: New test. + 2022-05-09 Marek Polacek <polacek@redhat.com> PR c++/103539 |