aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2023-09-20 00:17:55 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2023-09-20 00:17:55 +0000
commit590a8bec3ed92118e084b0a1897d3314a666170e (patch)
tree905af040608cac7b2b074d573f758856ae57d6fe
parent6c33fade75a76fa29908fad411b76a3670376152 (diff)
downloadgcc-590a8bec3ed92118e084b0a1897d3314a666170e.zip
gcc-590a8bec3ed92118e084b0a1897d3314a666170e.tar.gz
gcc-590a8bec3ed92118e084b0a1897d3314a666170e.tar.bz2
Daily bump.
-rw-r--r--gcc/ChangeLog223
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/ada/ChangeLog30
-rw-r--r--gcc/c-family/ChangeLog18
-rw-r--r--gcc/c/ChangeLog16
-rw-r--r--gcc/cp/ChangeLog70
-rw-r--r--gcc/fortran/ChangeLog7
-rw-r--r--gcc/lto/ChangeLog9
-rw-r--r--gcc/m2/ChangeLog153
-rw-r--r--gcc/testsuite/ChangeLog217
-rw-r--r--libcpp/ChangeLog13
-rw-r--r--libgm2/ChangeLog32
-rw-r--r--libgomp/ChangeLog6
-rw-r--r--libstdc++-v3/ChangeLog4
14 files changed, 799 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 347b1ad..246aec1 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,226 @@
+2023-09-19 Ben Boeckel <ben.boeckel@kitware.com>
+
+ * 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 <ben.boeckel@kitware.com>
+ Jason Merrill <jason@redhat.com>
+
+ * gcc.cc (join_spec_func): Add a spec function to join all
+ arguments.
+
+2023-09-19 Patrick O'Neill <patrick@rivosinc.com>
+
+ * config/riscv/riscv.cc (riscv_legitimize_const_move): Eliminate
+ src_op_0 var to avoid rtl check error.
+
+2023-09-19 Aldy Hernandez <aldyh@redhat.com>
+
+ * 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 <javier.martinez.bugzilla@gmail.com>
+
+ * doc/extend.texi: Document attributes hot, cold on C++ types.
+
+2023-09-19 Pat Haugen <pthaugen@linux.ibm.com>
+
+ * 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 (mod<mode>3, *mod<mode>3): Check it.
+ (define_expand umod<mode>3): New.
+ (define_insn umod<mode>3): Rename to *umod<mode>3 and check if the modulo
+ instruction is disabled.
+ (umodti3, modti3): Check if the modulo instruction is disabled.
+
+2023-09-19 Gaius Mulley <gaiusmod2@gmail.com>
+
+ * doc/gm2.texi (fdebug-builtins): Correct description.
+
+2023-09-19 Jeff Law <jlaw@ventanamicro.com>
+
+ * config/iq2000/predicates.md (uns_arith_constant): New predicate.
+ * config/iq2000/iq2000.md (rotrsi3): Use it.
+
+2023-09-19 Aldy Hernandez <aldyh@redhat.com>
+
+ * 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 <aldyh@redhat.com>
+
+ * value-range.h (frange::update_nan): New.
+
+2023-09-19 Aldy Hernandez <aldyh@redhat.com>
+
+ * 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 <amacleod@redhat.com>
+
+ 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 <rguenther@suse.de>
+
+ 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 <thomas@codesourcery.com>
+ Pan Li <pan2.li@intel.com>
+
+ * 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 <juzhe.zhong@rivai.ai>
+
+ * config/riscv/riscv.cc (riscv_can_change_mode_class): Block unordered VLA and VLS modes.
+
+2023-09-19 Juzhe-Zhong <juzhe.zhong@rivai.ai>
+
+ * config/riscv/autovec.md: Extend VLS modes.
+ * config/riscv/vector.md: Ditto.
+
+2023-09-19 Richard Biener <rguenther@suse.de>
+
+ 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 <juzhe.zhong@rivai.ai>
+
+ * config/riscv/autovec.md: Extend VLS floating-point modes.
+ * config/riscv/vector.md: Ditto.
+
+2023-09-19 Jakub Jelinek <jakub@redhat.com>
+
+ * 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 <juzhe.zhong@rivai.ai>
+
+ * config/riscv/autovec.md: Add VLS modes.
+ * config/riscv/vector.md: Ditto.
+
+2023-09-19 Jakub Jelinek <jakub@redhat.com>
+
+ * 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 <lehua.ding@rivai.ai>
+
+ * config/riscv/autovec-opt.md (*<optab>_fma<mode>):
+ Removed old combine patterns.
+ (*single_<optab>mult_plus<mode>): Ditto.
+ (*double_<optab>mult_plus<mode>): Ditto.
+ (*sign_zero_extend_fma): Ditto.
+ (*zero_sign_extend_fma): Ditto.
+ (*double_widen_fma<mode>): Ditto.
+ (*single_widen_fma<mode>): Ditto.
+ (*double_widen_fnma<mode>): Ditto.
+ (*single_widen_fnma<mode>): Ditto.
+ (*double_widen_fms<mode>): Ditto.
+ (*single_widen_fms<mode>): Ditto.
+ (*double_widen_fnms<mode>): Ditto.
+ (*single_widen_fnms<mode>): Ditto.
+ (*reduc_plus_scal_<mode>): Adjust name.
+ (*widen_reduc_plus_scal_<mode>): Adjust name.
+ (*dual_widen_fma<mode>): New combine pattern.
+ (*dual_widen_fmasu<mode>): Ditto.
+ (*dual_widen_fmaus<mode>): Ditto.
+ (*dual_fma<mode>): Ditto.
+ (*single_fma<mode>): Ditto.
+ (*dual_fnma<mode>): Ditto.
+ (*single_fnma<mode>): Ditto.
+ (*dual_fms<mode>): Ditto.
+ (*single_fms<mode>): Ditto.
+ (*dual_fnms<mode>): Ditto.
+ (*single_fnms<mode>): Ditto.
+ * config/riscv/autovec.md (fma<mode>4):
+ Reafctor fma pattern.
+ (*fma<VI:mode><P:mode>): Removed.
+ (fnma<mode>4): Reafctor.
+ (*fnma<VI:mode><P:mode>): Removed.
+ (*fma<VF:mode><P:mode>): Removed.
+ (*fnma<VF:mode><P:mode>): Removed.
+ (fms<mode>4): Reafctor.
+ (*fms<VF:mode><P:mode>): Removed.
+ (fnms<mode>4): Reafctor.
+ (*fnms<VF:mode><P:mode>): 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<mode>_undef): New pattern.
+ (*pred_mul_plus<mode>): Removed.
+ (*pred_mul_plus<mode>_scalar): Removed.
+ (*pred_mul_plus<mode>_extended_scalar): Removed.
+ (*pred_minus_mul<mode>_undef): New pattern.
+ (*pred_minus_mul<mode>): Removed.
+ (*pred_minus_mul<mode>_scalar): Removed.
+ (*pred_minus_mul<mode>_extended_scalar): Removed.
+ (*pred_mul_<optab><mode>_undef): New pattern.
+ (*pred_mul_<optab><mode>): Removed.
+ (*pred_mul_<optab><mode>_scalar): Removed.
+ (*pred_mul_neg_<optab><mode>_undef): New pattern.
+ (*pred_mul_neg_<optab><mode>): Removed.
+ (*pred_mul_neg_<optab><mode>_scalar): Removed.
+
+2023-09-19 Tsukasa OI <research_trasio@irq.a4lg.com>
+
+ * config/riscv/riscv-vector-builtins.cc
+ (builtin_decl, expand_builtin): Replace SVE with RVV.
+
+2023-09-19 Tsukasa OI <research_trasio@irq.a4lg.com>
+
+ * config/riscv/t-riscv: Add dependencies for riscv-builtins.cc,
+ riscv-cmo.def and riscv-scalar-crypto.def.
+
2023-09-18 Pan Li <pan2.li@intel.com>
* config/riscv/autovec.md: Extend to vls mode.
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 6820ee3..c6af87b 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20230919
+20230920
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index 231ce8b..056adce 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,33 @@
+2023-09-19 Richard Wai <richard@annexi-strayline.com>
+
+ * 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 <richard@annexi-strayline.com>
+
+ * 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 <poulhies@adacore.com>
+
+ * gcc-interface/utils.cc (max_value): New.
+ * gcc-interface/gigi.h (max_value): New.
+ * gcc-interface/decl.cc (gnat_to_gnu_entity) <E_Array_Subtype>:
+ When computing gnu_min/gnu_max, try to use max_value if there is
+ an initial expression.
+
+2023-09-19 Javier Miranda <miranda@adacore.com>
+
+ * contracts.adb
+ (Has_Public_Visibility_Of_Subprogram): Add missing support for
+ child subprograms.
+
2023-09-15 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/utils.cc (finish_record_type): Round the size in
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 61720c1..51f5ec5 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,21 @@
+2023-09-19 Ben Boeckel <ben.boeckel@kitware.com>
+
+ * 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 <javier.martinez.bugzilla@gmail.com>
+
+ * 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 <jakub@redhat.com>
+
+ * c-common.cc (c_common_signed_or_unsigned_type): Return INTEGER_TYPE
+ for signed variant of unsigned _BitInt(1).
+
2023-09-06 Jakub Jelinek <jakub@redhat.com>
PR c/102989
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index b2fbf3c..ac8ef09 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,19 @@
+2023-09-19 Richard Biener <rguenther@suse.de>
+
+ PR c/111468
+ * gimple-parser.cc (c_parser_gimple_binary_expression): Handle __LTGT.
+
+2023-09-19 Richard Biener <rguenther@suse.de>
+
+ 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 <tobias@codesourcery.com>
* c-parser.cc (struct c_omp_loc_tree): New.
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index e028fce..2a9165c 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,73 @@
+2023-09-19 Ben Boeckel <ben.boeckel@kitware.com>
+
+ * 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 <ben.boeckel@kitware.com>
+
+ * module.cc (do_import): Report imported CMI files as
+ dependencies.
+
+2023-09-19 Ben Boeckel <ben.boeckel@kitware.com>
+
+ * module.cc (preprocessed_module): Pass whether the module is
+ exported to dependency tracking.
+
+2023-09-19 Javier Martinez <javier.martinez.bugzilla@gmail.com>
+
+ * 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 <ppalka@redhat.com>
+
+ * ptree.cc (cxx_print_type): Remove TYPE_LANG_SPECIFIC
+ test guarding TYPE_TEMPLATE_INFO.
+
+2023-09-19 Jason Merrill <jason@redhat.com>
+
+ 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 <polacek@redhat.com>
+
+ * 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 <ppalka@redhat.com>
+
+ PR c++/111419
+ * cvt.cc (convert_to_void) <case INDIRECT_REF>: Only call
+ complete_type if the type is volatile.
+ <case VAR_DECL>: Likewise.
+
+2023-09-19 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/99631
+ * semantics.cc (finish_decltype_type): For an NTTP object,
+ return its type modulo cv-quals.
+
2023-09-18 Patrick Palka <ppalka@redhat.com>
PR c++/89231
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 0c95a3a..6e773d9 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,10 @@
+2023-09-19 Harald Anlauf <anlauf@gmx.de>
+
+ 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 <anlauf@gmx.de>
PR fortran/30802
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog
index 77325bd..d98880e 100644
--- a/gcc/lto/ChangeLog
+++ b/gcc/lto/ChangeLog
@@ -1,3 +1,12 @@
+2023-09-19 Thomas Schwinge <thomas@codesourcery.com>
+ Pan Li <pan2.li@intel.com>
+
+ * 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 <rdapp@ventanamicro.com>
Juzhe-Zhong <juzhe.zhong@rivai.ai>
diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog
index 453daa2..41165cc 100644
--- a/gcc/m2/ChangeLog
+++ b/gcc/m2/ChangeLog
@@ -1,3 +1,156 @@
+2023-09-19 Gaius Mulley <gaiusmod2@gmail.com>
+
+ * 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 <gaiusmod2@gmail.com>
* gm2-compiler/M2CaseList.mod (NewRanges): Add block
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index d2999ce..875a938 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,220 @@
+2023-09-19 Ben Boeckel <ben.boeckel@kitware.com>
+
+ * 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 <ben.boeckel@kitware.com>
+
+ * 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 <ben.boeckel@kitware.com>
+
+ * 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 <aldyh@redhat.com>
+
+ * 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 <javier.martinez.bugzilla@gmail.com>
+
+ * g++.dg/ext/attr-hotness.C: New test.
+
+2023-09-19 Pat Haugen <pthaugen@linux.ibm.com>
+
+ * 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 <gaiusmod2@gmail.com>
+
+ * 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 <anlauf@gmx.de>
+
+ PR fortran/70231
+ * gfortran.dg/bounds_check_fail_7.f90: New test.
+
+2023-09-19 Aldy Hernandez <aldyh@redhat.com>
+
+ * gcc.dg/tree-ssa/vrp-float-13.c: New test.
+
+2023-09-19 Jakub Jelinek <jakub@redhat.com>
+
+ 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 <jason@redhat.com>
+
+ DR 2799
+ * g++.dg/cpp0x/inh-ctor38.C: New test.
+
+2023-09-19 Andrew MacLeod <amacleod@redhat.com>
+
+ 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 <polacek@redhat.com>
+
+ * 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 <rguenther@suse.de>
+
+ PR c/111468
+ * gcc.dg/gimplefe-50.c: Amend.
+
+2023-09-19 Patrick Palka <ppalka@redhat.com>
+
+ 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 <ppalka@redhat.com>
+
+ PR c++/99631
+ * g++.dg/cpp2a/nontype-class60.C: New test.
+
+2023-09-19 Juzhe-Zhong <juzhe.zhong@rivai.ai>
+
+ * 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 <richard@annexi-strayline.com>
+
+ * gnat.dg/sync_tag_finalize.adb: New test.
+
+2023-09-19 Richard Wai <richard@annexi-strayline.com>
+
+ * gnat.dg/sync_tag_discriminals.adb: New test.
+ * gnat.dg/sync_tag_limited.adb: New test.
+
+2023-09-19 Juzhe-Zhong <juzhe.zhong@rivai.ai>
+
+ * 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 <rguenther@suse.de>
+
+ PR tree-optimization/111465
+ * g++.dg/torture/pr111465.C: New testcase.
+
+2023-09-19 Richard Biener <rguenther@suse.de>
+
+ PR c/111468
+ * gcc.dg/gimplefe-50.c: New testcase.
+ * gcc.dg/gimplefe-51.c: Likewise.
+
+2023-09-19 Juzhe-Zhong <juzhe.zhong@rivai.ai>
+
+ * 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 <juzhe.zhong@rivai.ai>
+
+ * 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 <prathamesh.kulkarni@linaro.org>
+
+ * 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 <pan2.li@intel.com>
* gcc.target/riscv/rvv/autovec/vls/def.h: New macros.
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index 9897dcf..4b15c89 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -1,3 +1,16 @@
+2023-09-19 Ben Boeckel <ben.boeckel@kitware.com>
+
+ * 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 <jakub@redhat.com>
PR c/102989
diff --git a/libgm2/ChangeLog b/libgm2/ChangeLog
index 8dec03c..d9c2368 100644
--- a/libgm2/ChangeLog
+++ b/libgm2/ChangeLog
@@ -1,3 +1,35 @@
+2023-09-19 Gaius Mulley <gaiusmod2@gmail.com>
+
+ * 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 <gaiusmod2@gmail.com>
* libm2cor/Makefile.am (libm2cor_la_M2FLAGS): Add
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index 840574a..b14b244 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,9 @@
+2023-09-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR libgomp/111413
+ * env.c (initialize_env): Don't dereference environ if it is NULL.
+ Reindent.
+
2023-09-18 Richard Biener <rguenther@suse.de>
PR tree-optimization/111294
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 768a36f..a57959d 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,7 @@
+2023-09-19 Marek Polacek <polacek@redhat.com>
+
+ * testsuite/20_util/allocator/105975.cc: Add dg-error.
+
2023-09-18 Patrick Palka <ppalka@redhat.com>
PR c++/63198