From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id 18EAA3858D20; Wed, 20 Sep 2023 00:18:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 18EAA3858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1695169103; bh=BSTIx1eEx/E5NB7e+inttQxAufaUr07KzE4OAlreKnA=; h=From:To:Subject:Date:From; b=dKDF77srDnOJzXrMuAteRyLqzkCIyisgU/JgvCYuM24AzPiGwpX8Fj/Jt+vdiseu2 lXVC54vctnRS356Xln2ARWH3P7bsqbI1suncGRCAmXh5Pk5dokGEDWylA0mv1Vlo7V yW3ymnqZGY2t2FA21lYBUsDLBrqS0emuZOwnEgJs= 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 r14-4159] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/master X-Git-Oldrev: 6c33fade75a76fa29908fad411b76a3670376152 X-Git-Newrev: 590a8bec3ed92118e084b0a1897d3314a666170e Message-Id: <20230920001823.18EAA3858D20@sourceware.org> Date: Wed, 20 Sep 2023 00:18:23 +0000 (GMT) List-Id: https://gcc.gnu.org/g:590a8bec3ed92118e084b0a1897d3314a666170e commit r14-4159-g590a8bec3ed92118e084b0a1897d3314a666170e Author: GCC Administrator Date: Wed Sep 20 00:17:55 2023 +0000 Daily bump. Diff: --- gcc/ChangeLog | 223 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/ada/ChangeLog | 30 +++++++ gcc/c-family/ChangeLog | 18 ++++ gcc/c/ChangeLog | 16 ++++ gcc/cp/ChangeLog | 70 +++++++++++++++ gcc/fortran/ChangeLog | 7 ++ gcc/lto/ChangeLog | 9 ++ gcc/m2/ChangeLog | 153 +++++++++++++++++++++++++++++++++ gcc/testsuite/ChangeLog | 217 ++++++++++++++++++++++++++++++++++++++++++++++ libcpp/ChangeLog | 13 +++ libgm2/ChangeLog | 32 +++++++ libgomp/ChangeLog | 6 ++ libstdc++-v3/ChangeLog | 4 + 14 files changed, 799 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 347b1ad811c..246aec13542 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,226 @@ +2023-09-19 Ben Boeckel + + * doc/invoke.texi: Document -fdeps-format=, -fdeps-file=, and + -fdeps-target= flags. + * gcc.cc: add defaults for -fdeps-target= and -fdeps-file= when + only -fdeps-format= is specified. + * json.h: Add a TODO item to refactor out to share with + `libcpp/mkdeps.cc`. + +2023-09-19 Ben Boeckel + Jason Merrill + + * gcc.cc (join_spec_func): Add a spec function to join all + arguments. + +2023-09-19 Patrick O'Neill + + * config/riscv/riscv.cc (riscv_legitimize_const_move): Eliminate + src_op_0 var to avoid rtl check error. + +2023-09-19 Aldy Hernandez + + * range-op-float.cc (frelop_early_resolve): Clean-up and remove + special casing. + (operator_not_equal::fold_range): Handle VREL_EQ. + (operator_lt::fold_range): Remove special casing for VREL_EQ. + (operator_gt::fold_range): Same. + (foperator_unordered_equal::fold_range): Same. + +2023-09-19 Javier Martinez + + * doc/extend.texi: Document attributes hot, cold on C++ types. + +2023-09-19 Pat Haugen + + * config/rs6000/rs6000.cc (rs6000_rtx_costs): Check whether the + modulo instruction is disabled. + * config/rs6000/rs6000.h (RS6000_DISABLE_SCALAR_MODULO): New. + * config/rs6000/rs6000.md (mod3, *mod3): Check it. + (define_expand umod3): New. + (define_insn umod3): Rename to *umod3 and check if the modulo + instruction is disabled. + (umodti3, modti3): Check if the modulo instruction is disabled. + +2023-09-19 Gaius Mulley + + * doc/gm2.texi (fdebug-builtins): Correct description. + +2023-09-19 Jeff Law + + * config/iq2000/predicates.md (uns_arith_constant): New predicate. + * config/iq2000/iq2000.md (rotrsi3): Use it. + +2023-09-19 Aldy Hernandez + + * range-op-float.cc (operator_lt::op1_range): Remove known_isnan check. + (operator_lt::op2_range): Same. + (operator_le::op1_range): Same. + (operator_le::op2_range): Same. + (operator_gt::op1_range): Same. + (operator_gt::op2_range): Same. + (operator_ge::op1_range): Same. + (operator_ge::op2_range): Same. + (foperator_unordered_lt::op1_range): Same. + (foperator_unordered_lt::op2_range): Same. + (foperator_unordered_le::op1_range): Same. + (foperator_unordered_le::op2_range): Same. + (foperator_unordered_gt::op1_range): Same. + (foperator_unordered_gt::op2_range): Same. + (foperator_unordered_ge::op1_range): Same. + (foperator_unordered_ge::op2_range): Same. + +2023-09-19 Aldy Hernandez + + * value-range.h (frange::update_nan): New. + +2023-09-19 Aldy Hernandez + + * range-op-float.cc (operator_not_equal::op2_range): New. + * range-op-mixed.h: Add operator_not_equal::op2_range. + +2023-09-19 Andrew MacLeod + + PR tree-optimization/110080 + PR tree-optimization/110249 + * tree-vrp.cc (remove_unreachable::final_p): New. + (remove_unreachable::maybe_register): Rename from + maybe_register_block and call early or final routine. + (fully_replaceable): New. + (remove_unreachable::handle_early): New. + (remove_unreachable::remove_and_update_globals): Remove + non-final processing. + (rvrp_folder::rvrp_folder): Add final flag to constructor. + (rvrp_folder::post_fold_bb): Remove unreachable registration. + (rvrp_folder::pre_fold_stmt): Move unreachable processing to here. + (execute_ranger_vrp): Adjust some call parameters. + +2023-09-19 Richard Biener + + PR c/111468 + * tree-pretty-print.h (op_symbol_code): Add defaulted flags + argument. + * tree-pretty-print.cc (op_symbol): Likewise. + (op_symbol_code): Print TDF_GIMPLE variant if requested. + * gimple-pretty-print.cc (dump_binary_rhs): Pass flags to + op_symbol_code. + (dump_gimple_cond): Likewise. + +2023-09-19 Thomas Schwinge + Pan Li + + * tree-streamer.h (bp_unpack_machine_mode): If + 'ib->file_data->mode_table' not available, apply 1-to-1 mapping. + +2023-09-19 Juzhe-Zhong + + * config/riscv/riscv.cc (riscv_can_change_mode_class): Block unordered VLA and VLS modes. + +2023-09-19 Juzhe-Zhong + + * config/riscv/autovec.md: Extend VLS modes. + * config/riscv/vector.md: Ditto. + +2023-09-19 Richard Biener + + PR tree-optimization/111465 + * tree-ssa-threadupdate.cc (fwd_jt_path_registry::thread_block_1): + Cancel the path when a EDGE_NO_COPY_SRC_BLOCK became non-empty. + +2023-09-19 Juzhe-Zhong + + * config/riscv/autovec.md: Extend VLS floating-point modes. + * config/riscv/vector.md: Ditto. + +2023-09-19 Jakub Jelinek + + * match.pd ((x << c) >> c): Don't call build_nonstandard_integer_type + nor check type_has_mode_precision_p for width larger than [TD]Imode + precision. + (a ? CST1 : CST2): Don't use build_nonstandard_type, just convert + to type. Use boolean_true_node instead of + constant_boolean_node (true, boolean_type_node). Formatting fixes. + +2023-09-19 Juzhe-Zhong + + * config/riscv/autovec.md: Add VLS modes. + * config/riscv/vector.md: Ditto. + +2023-09-19 Jakub Jelinek + + * tree.cc (build_bitint_type): Assert precision is not 0, or + for signed types 1. + (signed_or_unsigned_type_for): Return INTEGER_TYPE for signed variant + of unsigned _BitInt(1). + +2023-09-19 Lehua Ding + + * config/riscv/autovec-opt.md (*_fma): + Removed old combine patterns. + (*single_mult_plus): Ditto. + (*double_mult_plus): Ditto. + (*sign_zero_extend_fma): Ditto. + (*zero_sign_extend_fma): Ditto. + (*double_widen_fma): Ditto. + (*single_widen_fma): Ditto. + (*double_widen_fnma): Ditto. + (*single_widen_fnma): Ditto. + (*double_widen_fms): Ditto. + (*single_widen_fms): Ditto. + (*double_widen_fnms): Ditto. + (*single_widen_fnms): Ditto. + (*reduc_plus_scal_): Adjust name. + (*widen_reduc_plus_scal_): Adjust name. + (*dual_widen_fma): New combine pattern. + (*dual_widen_fmasu): Ditto. + (*dual_widen_fmaus): Ditto. + (*dual_fma): Ditto. + (*single_fma): Ditto. + (*dual_fnma): Ditto. + (*single_fnma): Ditto. + (*dual_fms): Ditto. + (*single_fms): Ditto. + (*dual_fnms): Ditto. + (*single_fnms): Ditto. + * config/riscv/autovec.md (fma4): + Reafctor fma pattern. + (*fma): Removed. + (fnma4): Reafctor. + (*fnma): Removed. + (*fma): Removed. + (*fnma): Removed. + (fms4): Reafctor. + (*fms): Removed. + (fnms4): Reafctor. + (*fnms): Removed. + * config/riscv/riscv-protos.h (prepare_ternary_operands): + Adjust prototype. + * config/riscv/riscv-v.cc (prepare_ternary_operands): Refactor. + * config/riscv/vector.md (*pred_mul_plus_undef): New pattern. + (*pred_mul_plus): Removed. + (*pred_mul_plus_scalar): Removed. + (*pred_mul_plus_extended_scalar): Removed. + (*pred_minus_mul_undef): New pattern. + (*pred_minus_mul): Removed. + (*pred_minus_mul_scalar): Removed. + (*pred_minus_mul_extended_scalar): Removed. + (*pred_mul__undef): New pattern. + (*pred_mul_): Removed. + (*pred_mul__scalar): Removed. + (*pred_mul_neg__undef): New pattern. + (*pred_mul_neg_): Removed. + (*pred_mul_neg__scalar): Removed. + +2023-09-19 Tsukasa OI + + * config/riscv/riscv-vector-builtins.cc + (builtin_decl, expand_builtin): Replace SVE with RVV. + +2023-09-19 Tsukasa OI + + * config/riscv/t-riscv: Add dependencies for riscv-builtins.cc, + riscv-cmo.def and riscv-scalar-crypto.def. + 2023-09-18 Pan Li * config/riscv/autovec.md: Extend to vls mode. diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 6820ee3dc6b..c6af87ba008 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20230919 +20230920 diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 231ce8b8d8e..056adce6961 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,33 @@ +2023-09-19 Richard Wai + + * exp_ch3.adb (Expand_Freeze_Class_Wide_Type): Expanded comments + explaining why TSS Finalize_Address is not generated for + concurrent class-wide types. + * exp_ch7.adb (Make_Finalize_Address_Stmts): Handle cases where the + underlying non-constrained parent type is a concurrent type, and + adjust the designated type to be the corresponding record’s + class-wide type. + +2023-09-19 Richard Wai + + * sem_ch3.adb (Build_Derived_Record_Type): Treat presence of + keyword "synchronized" the same as "limited" when determining if a + private extension is limited. + +2023-09-19 Marc Poulhiès + + * gcc-interface/utils.cc (max_value): New. + * gcc-interface/gigi.h (max_value): New. + * gcc-interface/decl.cc (gnat_to_gnu_entity) : + When computing gnu_min/gnu_max, try to use max_value if there is + an initial expression. + +2023-09-19 Javier Miranda + + * contracts.adb + (Has_Public_Visibility_Of_Subprogram): Add missing support for + child subprograms. + 2023-09-15 Eric Botcazou * gcc-interface/utils.cc (finish_record_type): Round the size in diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 61720c19400..51f5ec5e017 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,21 @@ +2023-09-19 Ben Boeckel + + * c-opts.cc (c_common_handle_option): Add fdeps_file variable and + -fdeps-format=, -fdeps-file=, and -fdeps-target= parsing. + * c.opt: Add -fdeps-format=, -fdeps-file=, and -fdeps-target= + flags. + +2023-09-19 Javier Martinez + + * c-attribs.cc (handle_hot_attribute): remove warning on + RECORD_TYPE and UNION_TYPE when in c_dialect_xx. + (handle_cold_attribute): Likewise. + +2023-09-19 Jakub Jelinek + + * c-common.cc (c_common_signed_or_unsigned_type): Return INTEGER_TYPE + for signed variant of unsigned _BitInt(1). + 2023-09-06 Jakub Jelinek PR c/102989 diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index b2fbf3cabad..ac8ef09065c 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,19 @@ +2023-09-19 Richard Biener + + PR c/111468 + * gimple-parser.cc (c_parser_gimple_binary_expression): Handle __LTGT. + +2023-09-19 Richard Biener + + PR c/111468 + * gimple-parser.cc (c_parser_gimple_binary_expression): Add + return type argument. + (c_parser_gimple_statement): Adjust. + (c_parser_gimple_paren_condition): Likewise. + (c_parser_gimple_binary_expression): Use passed in return type, + add support for - as POINTER_DIFF_EXPR, __UN{LT,LE,GT,GE,EQ}, + __UNORDERED and __ORDERED. + 2023-09-12 Tobias Burnus * c-parser.cc (struct c_omp_loc_tree): New. diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index e028fcee94a..2a9165c9433 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,73 @@ +2023-09-19 Ben Boeckel + + * mapper-client.cc, mapper-client.h (open_module_client): Accept + dependency tracking and track module mapper files as + dependencies. + * module.cc (make_mapper, get_mapper): Pass the dependency + tracking class down. + +2023-09-19 Ben Boeckel + + * module.cc (do_import): Report imported CMI files as + dependencies. + +2023-09-19 Ben Boeckel + + * module.cc (preprocessed_module): Pass whether the module is + exported to dependency tracking. + +2023-09-19 Javier Martinez + + * class.cc (propagate_class_warmth_attribute): New function. + (check_bases_and_members): propagate hot and cold attributes + to all FUNCTION_DECL when the record is marked hot or cold. + * cp-tree.h (maybe_propagate_warmth_attributes): New function. + * decl2.cc (maybe_propagate_warmth_attributes): New function. + * method.cc (lazily_declare_fn): propagate hot and cold + attributes to lazily declared functions when the record is + marked hot or cold. + +2023-09-19 Patrick Palka + + * ptree.cc (cxx_print_type): Remove TYPE_LANG_SPECIFIC + test guarding TYPE_TEMPLATE_INFO. + +2023-09-19 Jason Merrill + + DR 2799 + * class.cc (add_implicit_default_ctor): Split out... + (add_implicitly_declared_members): ...from here. + Also call it when inheriting a default ctor. + +2023-09-19 Marek Polacek + + * call.cc (build_over_call): Set ADDR_EXPR_DENOTES_CALL_P. Don't handle + immediate_invocation_p here. + * constexpr.cc (cxx_eval_call_expression): Use mce_true for + DECL_IMMEDIATE_FUNCTION_P. + (cxx_eval_conditional_expression): Call cp_fold_immediate. + * cp-gimplify.cc (enum fold_flags): Add ff_fold_immediate. + (maybe_replace_decl): Make static. + (cp_fold_r): Expand immediate invocations. + (cp_fold_immediate_r): New. + (cp_fold_immediate): New. + * cp-tree.h (ADDR_EXPR_DENOTES_CALL_P): Define. + (cp_fold_immediate): Declare. + * tree.cc (bot_replace): Don't handle immediate invocations here. + +2023-09-19 Patrick Palka + + PR c++/111419 + * cvt.cc (convert_to_void) : Only call + complete_type if the type is volatile. + : Likewise. + +2023-09-19 Patrick Palka + + PR c++/99631 + * semantics.cc (finish_decltype_type): For an NTTP object, + return its type modulo cv-quals. + 2023-09-18 Patrick Palka PR c++/89231 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 0c95a3a4c78..6e773d98de0 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,10 @@ +2023-09-19 Harald Anlauf + + PR fortran/70231 + * trans-array.cc (trans_array_constructor): In absence of a typespec, + use string length determined by get_array_ctor_strlen() to reasonably + initialize auxiliary variable for bounds-checking. + 2023-09-15 Harald Anlauf PR fortran/30802 diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index 77325bde3cb..d98880e6ad6 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -1,3 +1,12 @@ +2023-09-19 Thomas Schwinge + Pan Li + + * lto-common.cc (lto_mode_identity_table): Remove. + (lto_file_finalize) [!ACCEL_COMPILER]: 'NULL'-intialize + 'file_data->mode_table'. + (lto_fe_init): Don't initialize 'lto_mode_identity_table'. + * lto-common.h (lto_mode_identity_table): Remove. + 2023-07-05 Robin Dapp Juzhe-Zhong diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog index 453daa2b200..41165cc8d88 100644 --- a/gcc/m2/ChangeLog +++ b/gcc/m2/ChangeLog @@ -1,3 +1,156 @@ +2023-09-19 Gaius Mulley + + * Make-lang.in (host_mc_longreal): Detect hosting on powerpc64le + and if so use __float128 for longreal in mc. + (MC_ARGS): Append host_mc_longreal. + * config-make.in (TEST_TARGET_CPU_DEFAULT): New variable. + (TEST_HOST_CPU_DEFAULT): New variable. + * configure: Regenerate. + * configure.ac (M2C_LONGREAL_FLOAT128): New define set if target + is powerpc64le. + (M2C_LONGREAL_PPC64LE): New define set if target is powerpc64le. + * gm2-compiler/M2GCCDeclare.mod: Correct comment case. + * gm2-compiler/M2GenGCC.mod (MaybeDebugBuiltinAlloca): Call + SetLastFunction for the builtin function call. + (MaybeDebugBuiltinMemcpy): Call SetLastFunction for the builtin + function call. + (MaybeDebugBuiltinMemset): New procedure function. + (MakeCopyUse): Use GNU formatting. + (UseBuiltin): Rewrite to check BuiltinExists. + (CodeDirectCall): Rewrite to check BuiltinExists and call + SetLastFunction. + (CodeMakeAdr): Re-format. + * gm2-compiler/M2Options.def (SetDebugBuiltins): New procedure. + * gm2-compiler/M2Options.mod (SetUninitVariableChecking): Allow + "cond" to switch UninitVariableConditionalChecking separately. + (SetDebugBuiltins): New procedure. + * gm2-compiler/M2Quads.def (BuildFunctionCall): Add parameter + ConstExpr. + * gm2-compiler/M2Quads.mod (BuildRealProcedureCall): Add parameter + to BuildRealFuncProcCall. + (BuildRealFuncProcCall): Add ConstExpr parameter. Pass ConstExpr + to BuildFunctionCall. + (BuildFunctionCall): Add parameter ConstExpr. Pass ConstExpr to + BuildRealFunctionCall. + (BuildConstFunctionCall): Add parameter ConstExpr. Pass ConstExpr to + BuildFunctionCall. + (BuildRealFunctionCall): Add parameter ConstExpr. Pass ConstExpr to + BuildRealFuncProcCall. + * gm2-compiler/P3Build.bnf (SetOrDesignatorOrFunction): Pass FALSE + to BuildFunctionCall. + (AssignmentOrProcedureCall): Pass FALSE to BuildFunctionCall. + * gm2-compiler/SymbolTable.def (IsProcedureBuiltinAvailable): New + procedure function. + * gm2-compiler/SymbolTable.mod (CanUseBuiltin): New procedure + function. + (IsProcedureBuiltinAvailable): New procedure function. + * gm2-gcc/m2builtins.cc (DEBUGGING): Undef. + (bf_category): New enum type. + (struct builtin_function_entry): New field function_avail. + (m2builtins_BuiltInMemCopy): Rename from ... + (m2builtins_BuiltinMemCopy): ... this. + (DoBuiltinMemSet): New function. + (m2builtins_BuiltinMemSet): New function. + (do_target_support_exists): New function. + (target_support_exists): New function. + (m2builtins_BuiltinExists): Return true or false. + (m2builtins_BuildBuiltinTree): Rename local variables. + Replace long_double_type_node with GetM2LongRealType. + (m2builtins_init): Use GetM2LongRealType rather than + long_double_type_node. + * gm2-gcc/m2builtins.def (BuiltInMemCopy): Rename to ... + (BuiltinMemCopy): ... this. + (BuiltinMemSet): New procedure function. + * gm2-gcc/m2builtins.h (m2builtins_BuiltInMemCopy): Rename to ... + (m2builtins_BuiltinMemCopy): ... this. + (m2builtins_BuiltinMemSet): New procedure function. + * gm2-gcc/m2configure.cc (m2configure_M2CLongRealFloat128): New + procedure function. + (m2configure_M2CLongRealIBM128): New procedure function. + (m2configure_M2CLongRealLongDouble): New procedure function. + (m2configure_M2CLongRealLongDoublePPC64LE): New procedure function. + * gm2-gcc/m2configure.def (M2CLongRealFloat128): New procedure function. + (M2CLongRealIBM128): New procedure function. + (M2CLongRealLongDouble): New procedure function. + (M2CLongRealLongDoublePPC64LE): New procedure function. + * gm2-gcc/m2configure.h (m2configure_FullPathCPP): New procedure function. + (m2configure_M2CLongRealFloat128): New procedure function. + (m2configure_M2CLongRealIBM128): New procedure function. + (m2configure_M2CLongRealLongDouble): New procedure function. + (m2configure_M2CLongRealLongDoublePPC64LE): New procedure function. + * gm2-gcc/m2convert.cc (m2convert_BuildConvert): Use convert_loc. + * gm2-gcc/m2options.h (M2Options_SetDebugBuiltins): New function. + * gm2-gcc/m2statement.cc (m2statement_BuildAssignmentTree): Set + TREE_USED to true. + (m2statement_BuildGoto):Set TREE_USED to true. + (m2statement_BuildParam): Set TREE_USED to true. + (m2statement_BuildBuiltinCallTree): New function. + (m2statement_BuildFunctValue): Set TREE_USED to true. + * gm2-gcc/m2statement.def (BuildBuiltinCallTree): New procedure function. + * gm2-gcc/m2statement.h (m2statement_BuildBuiltinCallTree): New + procedure function. + * gm2-gcc/m2treelib.cc (m2treelib_DoCall0): Remove spacing. + (m2treelib_DoCall1): Remove spacing. + (m2treelib_DoCall2): Remove spacing. + (m2treelib_DoCall3): Remove spacing. + (add_stmt): Rename parameter. + * gm2-gcc/m2type.cc (build_set_type): Remove spacing. + (build_m2_specific_size_type): Remove spacing. + (finish_build_pointer_type): Remove spacing. + (m2type_BuildVariableArrayAndDeclare): Remove spacing. + (build_m2_short_real_node): Remove spacing. + (build_m2_real_node): Remove spacing. + (build_m2_long_real_node): Use float128_type_node if + M2CLongRealFloat128 is set. + (build_m2_ztype_node): Remove spacing. + (build_m2_long_int_node): Remove spacing. + (build_m2_long_card_node): Remove spacing. + (build_m2_short_int_node): Remove spacing. + (build_m2_short_card_node): Remove spacing. + (build_m2_iso_loc_node): Remove spacing. + (m2type_SameRealType): New function. + (m2type_InitBaseTypes): Create m2_c_type_node using + m2_long_complex_type_node. + (m2type_SetAlignment): Tidy up comment. + * gm2-gcc/m2type.def (SameRealType): New procedure function. + * gm2-gcc/m2type.h (m2type_SameRealType): New procedure function. + * gm2-lang.cc (gm2_langhook_type_for_mode): Build long complex + node from m2 language specific long double node. + * gm2-libs-log/RealConversions.mod (IsNan): New procedure + function. + (doPowerOfTen): Re-implement. + * gm2-libs/Builtins.mod: Add newline. + * gm2-libs/DynamicStrings.def (ReplaceChar): New procedure function. + * gm2-libs/DynamicStrings.mod (ReplaceChar): New procedure function. + * gm2config.aci.in (M2C_LONGREAL_FLOAT128): New config value. + (M2C_LONGREAL_PPC64LE): New config value. + * gm2spec.cc (lang_specific_driver): New local variable + need_default_mabi set to default value depending upon + M2C_LONGREAL_PPC64LE and M2C_LONGREAL_FLOAT128. + * lang.opt (Wcase-enum): Moved to correct section. + * m2pp.cc (m2pp_real_type): New function. + (m2pp_type): Call m2pp_real_type. + (m2pp_print_mode): New function. + (m2pp_simple_type): Call m2pp_simple_type. + (m2pp_float): New function. + (m2pp_expression): Call m2pp_float. + * mc-boot/GDynamicStrings.cc: Rebuild. + * mc-boot/GDynamicStrings.h: Rebuild. + * mc-boot/GFIO.cc: Rebuild. + * mc-boot/GFIO.h: Rebuild. + * mc-boot/GIO.cc: Rebuild. + * mc-boot/GRTint.cc: Rebuild. + * mc-boot/Gdecl.cc: Rebuild. + * mc-boot/GmcOptions.cc: Rebuild. + * mc-boot/GmcOptions.h: Rebuild. + * mc/decl.mod: Rebuild. + * mc/mcOptions.def (getCRealType): New procedure function. + (getCLongRealType): New procedure function. + (getCShortRealType): New procedure function. + * mc/mcOptions.mod (getCRealType): New procedure function. + (getCLongRealType): New procedure function. + (getCShortRealType): New procedure function. + 2023-09-14 Gaius Mulley * gm2-compiler/M2CaseList.mod (NewRanges): Add block diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d2999cef6bd..875a938113f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,220 @@ +2023-09-19 Ben Boeckel + + * g++.dg/modules/depreport-2.modmap: New test. + * g++.dg/modules/depreport-2_a.C: New test. + * g++.dg/modules/depreport-2_b.C: New test. + * g++.dg/modules/test-depfile.py: Support `:|` syntax output + when generating modules. + +2023-09-19 Ben Boeckel + + * g++.dg/modules/depreport-1_a.C: New test. + * g++.dg/modules/depreport-1_b.C: New test. + * g++.dg/modules/test-depfile.py: New tool for validating depfile + information. + * lib/modules.exp: Support for validating depfile contents. + +2023-09-19 Ben Boeckel + + * g++.dg/modules/depflags-f-MD.C: New test. + * g++.dg/modules/depflags-f.C: New test. + * g++.dg/modules/depflags-fi.C: New test. + * g++.dg/modules/depflags-fj-MD.C: New test. + * g++.dg/modules/depflags-fj.C: New test. + * g++.dg/modules/depflags-fjo-MD.C: New test. + * g++.dg/modules/depflags-fjo.C: New test. + * g++.dg/modules/depflags-fo-MD.C: New test. + * g++.dg/modules/depflags-fo.C: New test. + * g++.dg/modules/depflags-j-MD.C: New test. + * g++.dg/modules/depflags-j.C: New test. + * g++.dg/modules/depflags-jo-MD.C: New test. + * g++.dg/modules/depflags-jo.C: New test. + * g++.dg/modules/depflags-o-MD.C: New test. + * g++.dg/modules/depflags-o.C: New test. + * g++.dg/modules/p1689-1.C: New test. + * g++.dg/modules/p1689-1.exp.ddi: New test expectation. + * g++.dg/modules/p1689-2.C: New test. + * g++.dg/modules/p1689-2.exp.ddi: New test expectation. + * g++.dg/modules/p1689-3.C: New test. + * g++.dg/modules/p1689-3.exp.ddi: New test expectation. + * g++.dg/modules/p1689-4.C: New test. + * g++.dg/modules/p1689-4.exp.ddi: New test expectation. + * g++.dg/modules/p1689-5.C: New test. + * g++.dg/modules/p1689-5.exp.ddi: New test expectation. + * g++.dg/modules/modules.exp: Load new P1689 library routines. + * g++.dg/modules/test-p1689.py: New tool for validating P1689 output. + * lib/modules.exp: Support for validating P1689 outputs. + * g++.dg/modules/depflags-fj-MF-share.C: New file. + * g++.dg/modules/p1689-file-default.C: New file. + * g++.dg/modules/p1689-file-default.exp.ddi: New file. + * g++.dg/modules/p1689-target-default.C: New file. + * g++.dg/modules/p1689-target-default.exp.ddi: New file. + +2023-09-19 Aldy Hernandez + + * gcc.dg/tree-ssa/vrp-float-12.c: Moved to... + * gcc.dg/tree-ssa/vrp-float-relations-1.c: ...here. + * gcc.dg/tree-ssa/vrp-float-relations-2.c: New test. + * gcc.dg/tree-ssa/vrp-float-relations-3.c: New test. + * gcc.dg/tree-ssa/vrp-float-relations-4.c: New test. + +2023-09-19 Javier Martinez + + * g++.dg/ext/attr-hotness.C: New test. + +2023-09-19 Pat Haugen + + * gcc.target/powerpc/clone1.c: Add xfails. + * gcc.target/powerpc/clone3.c: Likewise. + * gcc.target/powerpc/mod-1.c: Update scan strings and add xfails. + * gcc.target/powerpc/mod-2.c: Likewise. + * gcc.target/powerpc/p10-vdivq-vmodq.c: Add xfails. + +2023-09-19 Gaius Mulley + + * gm2/extensions/pass/libc.def: Add spacing. + * gm2/pimlib/logitech/run/pass/realconv.mod: Add debugging print. + * gm2/switches/uninit-variable-checking/cascade/fail/switches-uninit-variable-checking-cascade-fail.exp: + Add -fdebug-builtins flag. + * lib/gm2.exp (gm2_target_compile_default): Add + -mabi=ieeelongdouble if the target is powerpc. + (gm2_link_flags): Add + -mabi=ieeelongdouble if the target is powerpc. + * gm2/pim/intrinsic/run/pass/cstub.c: New test. + * gm2/pim/intrinsic/run/pass/cstub.def: New test. + * gm2/pim/intrinsic/run/pass/pim-intrinsic-run-pass.exp: New test. + * gm2/pim/intrinsic/run/pass/test.mod: New test. + * gm2/pim/run/pass/builtins.mod: New test. + * gm2/pim/run/pass/convert1.mod: New test. + * gm2/pim/run/pass/longint1.mod: New test. + * gm2/pim/run/pass/longint2.mod: New test. + * gm2/pim/run/pass/longint3.mod: New test. + * gm2/pim/run/pass/longint4.mod: New test. + * gm2/pim/run/pass/longint5.mod: New test. + * gm2/pim/run/pass/longint6.mod: New test. + * gm2/pim/run/pass/longint7.mod: New test. + * gm2/pim/run/pass/longint8.mod: New test. + +2023-09-19 Harald Anlauf + + PR fortran/70231 + * gfortran.dg/bounds_check_fail_7.f90: New test. + +2023-09-19 Aldy Hernandez + + * gcc.dg/tree-ssa/vrp-float-13.c: New test. + +2023-09-19 Jakub Jelinek + + PR testsuite/111377 + * c-c++-common/analyzer/compound-assignment-1.c (test_5b): Move + closing } to the same line as the call to work-around differences in + diagnostics line. + +2023-09-19 Jason Merrill + + DR 2799 + * g++.dg/cpp0x/inh-ctor38.C: New test. + +2023-09-19 Andrew MacLeod + + PR tree-optimization/110080 + PR tree-optimization/110249 + * g++.dg/pr110249.C: New. + * gcc.dg/pr110080.c: New. + * gcc.dg/pr93917.c: Adjust. + +2023-09-19 Marek Polacek + + * g++.dg/cpp23/consteval-if2.C: Add xfail. + * g++.dg/cpp2a/consteval-memfn1.C: Adjust. + * g++.dg/cpp2a/consteval11.C: Remove dg-message. + * g++.dg/cpp2a/consteval3.C: Remove dg-message and dg-error. + * g++.dg/cpp2a/consteval9.C: Remove dg-message. + * g++.dg/cpp2a/consteval32.C: New test. + * g++.dg/cpp2a/consteval33.C: New test. + * g++.dg/cpp2a/consteval34.C: New test. + * g++.dg/cpp2a/consteval35.C: New test. + +2023-09-19 Richard Biener + + PR c/111468 + * gcc.dg/gimplefe-50.c: Amend. + +2023-09-19 Patrick Palka + + PR c++/111419 + * g++.dg/cpp2a/concepts-requires36.C: New test. + * g++.dg/expr/discarded1.C: New test. + * g++.dg/expr/discarded1a.C: New test. + +2023-09-19 Patrick Palka + + PR c++/99631 + * g++.dg/cpp2a/nontype-class60.C: New test. + +2023-09-19 Juzhe-Zhong + + * gcc.target/riscv/rvv/autovec/vls/def.h: Add FNMS VLS modes tests. + * gcc.target/riscv/rvv/autovec/vls/fnms-1.c: New test. + * gcc.target/riscv/rvv/autovec/vls/fnms-2.c: New test. + * gcc.target/riscv/rvv/autovec/vls/fnms-3.c: New test. + +2023-09-19 Richard Wai + + * gnat.dg/sync_tag_finalize.adb: New test. + +2023-09-19 Richard Wai + + * gnat.dg/sync_tag_discriminals.adb: New test. + * gnat.dg/sync_tag_limited.adb: New test. + +2023-09-19 Juzhe-Zhong + + * gcc.target/riscv/rvv/autovec/vls/def.h: Add unary test. + * gcc.target/riscv/rvv/autovec/vls/neg-2.c: New test. + +2023-09-19 Richard Biener + + PR tree-optimization/111465 + * g++.dg/torture/pr111465.C: New testcase. + +2023-09-19 Richard Biener + + PR c/111468 + * gcc.dg/gimplefe-50.c: New testcase. + * gcc.dg/gimplefe-51.c: Likewise. + +2023-09-19 Juzhe-Zhong + + * gcc.target/riscv/rvv/autovec/vls/def.h: Add FMS tests. + * gcc.target/riscv/rvv/autovec/vls/fma-5.c: New test. + * gcc.target/riscv/rvv/autovec/vls/fma-6.c: New test. + * gcc.target/riscv/rvv/autovec/vls/fma-7.c: New test. + * gcc.target/riscv/rvv/autovec/vls/fms-1.c: New test. + * gcc.target/riscv/rvv/autovec/vls/fms-2.c: New test. + * gcc.target/riscv/rvv/autovec/vls/fms-3.c: New test. + * gcc.target/riscv/rvv/autovec/vls/fnma-5.c: New test. + * gcc.target/riscv/rvv/autovec/vls/fnma-6.c: New test. + * gcc.target/riscv/rvv/autovec/vls/fnma-7.c: New test. + +2023-09-19 Juzhe-Zhong + + * gcc.target/riscv/rvv/autovec/vls/def.h: Add VLS FMA/FNMA test. + * gcc.target/riscv/rvv/autovec/vls/fma-1.c: New test. + * gcc.target/riscv/rvv/autovec/vls/fma-2.c: New test. + * gcc.target/riscv/rvv/autovec/vls/fma-3.c: New test. + * gcc.target/riscv/rvv/autovec/vls/fma-4.c: New test. + * gcc.target/riscv/rvv/autovec/vls/fnma-1.c: New test. + * gcc.target/riscv/rvv/autovec/vls/fnma-2.c: New test. + * gcc.target/riscv/rvv/autovec/vls/fnma-3.c: New test. + * gcc.target/riscv/rvv/autovec/vls/fnma-4.c: New test. + +2023-09-19 Prathamesh Kulkarni + + * gcc.target/aarch64/vect_copy_lane_1.c: Scan for zip1 instead + of ins for float32x2_t, int32x2_t and uint32x2_t tests. + 2023-09-18 Pan Li * gcc.target/riscv/rvv/autovec/vls/def.h: New macros. diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 9897dcf0732..4b15c89fee8 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,16 @@ +2023-09-19 Ben Boeckel + + * include/cpplib.h: Add cpp_fdeps_format enum. + (cpp_options): Add fdeps_format field + (cpp_finish): Add structured dependency fdeps_stream parameter. + * include/mkdeps.h (deps_add_module_target): Add flag for + whether a module is exported or not. + (fdeps_add_target): Add function. + (deps_write_p1689r5): Add function. + * init.cc (cpp_finish): Add new preprocessor parameter used for C++ + module tracking. + * mkdeps.cc (mkdeps): Implement P1689R5 output. + 2023-09-06 Jakub Jelinek PR c/102989 diff --git a/libgm2/ChangeLog b/libgm2/ChangeLog index 8dec03ce3e4..d9c2368e14b 100644 --- a/libgm2/ChangeLog +++ b/libgm2/ChangeLog @@ -1,3 +1,35 @@ +2023-09-19 Gaius Mulley + + * Makefile.am (TARGET_LONGDOUBLE_ABI): New variable set to + -mabi=ieeelongdouble if the target is powerpc64le. + (AM_MAKEFLAGS): Append TARGET_LONGDOUBLE_ABI. + * Makefile.in: Rebuild. + * libm2cor/Makefile.am (AM_MAKEFLAGS): Add CFLAGS_LONGDOUBLE and + TARGET_LONGDOUBLE_ABI. + (libm2cor_la_CFLAGS): Add TARGET_LONGDOUBLE_ABI. + (libm2cor_la_M2FLAGS): Add TARGET_LONGDOUBLE_ABI. + * libm2cor/Makefile.in: Rebuild. + * libm2iso/Makefile.am (AM_MAKEFLAGS): Add CFLAGS_LONGDOUBLE and + TARGET_LONGDOUBLE_ABI. + (libm2iso_la_CFLAGS): Add TARGET_LONGDOUBLE_ABI. + (libm2iso_la_M2FLAGS): Add TARGET_LONGDOUBLE_ABI. + * libm2iso/Makefile.in: Rebuild. + * libm2log/Makefile.am (AM_MAKEFLAGS): Add CFLAGS_LONGDOUBLE and + TARGET_LONGDOUBLE_ABI. + (libm2log_la_CFLAGS): Add TARGET_LONGDOUBLE_ABI. + (libm2log_la_M2FLAGS): Add TARGET_LONGDOUBLE_ABI. + * libm2log/Makefile.in: Rebuild. + * libm2min/Makefile.am (AM_MAKEFLAGS): Add CFLAGS_LONGDOUBLE and + TARGET_LONGDOUBLE_ABI. + (libm2min_la_CFLAGS): Add TARGET_LONGDOUBLE_ABI. + (libm2min_la_M2FLAGS): Add TARGET_LONGDOUBLE_ABI. + * libm2min/Makefile.in: Rebuild. + * libm2pim/Makefile.am (AM_MAKEFLAGS): Add CFLAGS_LONGDOUBLE and + TARGET_LONGDOUBLE_ABI. + (libm2pim_la_CFLAGS): Add TARGET_LONGDOUBLE_ABI. + (libm2pim_la_M2FLAGS): Add TARGET_LONGDOUBLE_ABI. + * libm2pim/Makefile.in: Rebuild. + 2023-09-13 Gaius Mulley * libm2cor/Makefile.am (libm2cor_la_M2FLAGS): Add diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 840574a8cac..b14b244821c 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,9 @@ +2023-09-19 Jakub Jelinek + + PR libgomp/111413 + * env.c (initialize_env): Don't dereference environ if it is NULL. + Reindent. + 2023-09-18 Richard Biener PR tree-optimization/111294 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 768a36f1ae7..a57959d706b 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2023-09-19 Marek Polacek + + * testsuite/20_util/allocator/105975.cc: Add dg-error. + 2023-09-18 Patrick Palka PR c++/63198