aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2023-09-13 00:18:00 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2023-09-13 00:18:00 +0000
commita1c20158c68fe537c485006fe95ca198b6d15005 (patch)
tree9954971a7a77cde749dd40d18bb8d46651bec192
parentfcf66bceb4670fcd6ed8efef7f64003354e609f1 (diff)
downloadgcc-a1c20158c68fe537c485006fe95ca198b6d15005.zip
gcc-a1c20158c68fe537c485006fe95ca198b6d15005.tar.gz
gcc-a1c20158c68fe537c485006fe95ca198b6d15005.tar.bz2
Daily bump.
-rw-r--r--ChangeLog12
-rw-r--r--contrib/ChangeLog5
-rw-r--r--gcc/ChangeLog304
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/c/ChangeLog33
-rw-r--r--gcc/cp/ChangeLog11
-rw-r--r--gcc/fortran/ChangeLog10
-rw-r--r--gcc/m2/ChangeLog73
-rw-r--r--gcc/testsuite/ChangeLog196
-rw-r--r--libgomp/ChangeLog22
-rw-r--r--libstdc++-v3/ChangeLog27
11 files changed, 694 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 172dd69..0c8f88f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2023-09-12 Edwin Lu <ewlu@rivosinc.com>
+
+ * MAINTAINERS: Add myself
+
+2023-09-12 Thomas Schwinge <thomas@codesourcery.com>
+ Chung-Lin Tang <cltang@codesourcery.com>
+
+ PR testsuite/109951
+ * Makefile.tpl (BASE_TARGET_EXPORTS): Add
+ 'SYSROOT_CFLAGS_FOR_TARGET'.
+ * Makefile.in: Regenerate.
+
2023-09-05 Yang Yujie <yangyujie@loongson.cn>
* config-ml.in: Do not build the multilib library variant
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 7340377..fc11bcd 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,8 @@
+2023-09-12 Jonathan Wakely <jwakely@redhat.com>
+
+ PR other/111360
+ * gcc_update: Quote variable.
+
2023-09-11 Jonathan Wakely <jwakely@redhat.com>
PR other/111359
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3038031..b69160b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,307 @@
+2023-09-12 Juzhe-Zhong <juzhe.zhong@rivai.ai>
+
+ PR target/111337
+ * config/riscv/autovec.md (vcond_mask_<mode><mode>): New pattern.
+
+2023-09-12 Martin Jambor <mjambor@suse.cz>
+
+ * dbgcnt.def (form_fma): New.
+ * tree-ssa-math-opts.cc: Include dbgcnt.h.
+ (convert_mult_to_fma): Bail out if the debug counter say so.
+
+2023-09-12 Edwin Lu <ewlu@rivosinc.com>
+
+ * config/riscv/autovec-opt.md: Update type
+ * config/riscv/riscv.cc (riscv_sched_variable_issue): Enable assert
+
+2023-09-12 Richard Sandiford <richard.sandiford@arm.com>
+
+ * config/aarch64/aarch64.cc (aarch64_save_regs_above_locals_p):
+ New function.
+ (aarch64_layout_frame): Use it to decide whether locals should
+ go above or below the saved registers.
+ (aarch64_expand_prologue): Update stack layout comment.
+ Emit a stack tie after the final adjustment.
+
+2023-09-12 Richard Sandiford <richard.sandiford@arm.com>
+
+ * config/aarch64/aarch64.h (aarch64_frame::saved_regs_size)
+ (aarch64_frame::below_hard_fp_saved_regs_size): Delete.
+ * config/aarch64/aarch64.cc (aarch64_layout_frame): Update accordingly.
+
+2023-09-12 Richard Sandiford <richard.sandiford@arm.com>
+
+ * config/aarch64/aarch64.h (aarch64_frame::sve_save_and_probe)
+ (aarch64_frame::hard_fp_save_and_probe): New fields.
+ * config/aarch64/aarch64.cc (aarch64_layout_frame): Initialize them.
+ Rather than asserting that a leaf function saves LR, instead assert
+ that a leaf function saves something.
+ (aarch64_get_separate_components): Prevent the chosen probe
+ registers from being individually shrink-wrapped.
+ (aarch64_allocate_and_probe_stack_space): Remove workaround for
+ probe registers that aren't at the bottom of the previous allocation.
+
+2023-09-12 Richard Sandiford <richard.sandiford@arm.com>
+
+ * config/aarch64/aarch64.cc (aarch64_allocate_and_probe_stack_space):
+ Always probe the residual allocation at offset 1024, asserting
+ that that is in range.
+
+2023-09-12 Richard Sandiford <richard.sandiford@arm.com>
+
+ * config/aarch64/aarch64.cc (aarch64_layout_frame): Ensure that
+ the LR save slot is in the first 16 bytes of the register save area.
+ Only form STP/LDP push/pop candidates if both registers are valid.
+ (aarch64_allocate_and_probe_stack_space): Remove workaround for
+ when LR was not in the first 16 bytes.
+
+2023-09-12 Richard Sandiford <richard.sandiford@arm.com>
+
+ * config/aarch64/aarch64.cc (aarch64_allocate_and_probe_stack_space):
+ Don't probe final allocations that are exactly 1KiB in size (after
+ unprobed space above the final allocation has been deducted).
+
+2023-09-12 Richard Sandiford <richard.sandiford@arm.com>
+
+ * config/aarch64/aarch64.cc (aarch64_layout_frame): Tweak
+ calculation of initial_adjust for frames in which all saves
+ are SVE saves.
+
+2023-09-12 Richard Sandiford <richard.sandiford@arm.com>
+
+ * config/aarch64/aarch64.cc (aarch64_layout_frame): Simplify
+ the allocation of the top of the frame.
+
+2023-09-12 Richard Sandiford <richard.sandiford@arm.com>
+
+ * config/aarch64/aarch64.h (aarch64_frame): Add comment above
+ reg_offset.
+ * config/aarch64/aarch64.cc (aarch64_layout_frame): Walk offsets
+ from the bottom of the frame, rather than the bottom of the saved
+ register area. Measure reg_offset from the bottom of the frame
+ rather than the bottom of the saved register area.
+ (aarch64_save_callee_saves): Update accordingly.
+ (aarch64_restore_callee_saves): Likewise.
+ (aarch64_get_separate_components): Likewise.
+ (aarch64_process_components): Likewise.
+
+2023-09-12 Richard Sandiford <richard.sandiford@arm.com>
+
+ * config/aarch64/aarch64.h (aarch64_frame::frame_size): Tweak comment.
+
+2023-09-12 Richard Sandiford <richard.sandiford@arm.com>
+
+ * config/aarch64/aarch64.h (aarch64_frame::hard_fp_offset): Rename
+ to...
+ (aarch64_frame::bytes_above_hard_fp): ...this.
+ * config/aarch64/aarch64.cc (aarch64_layout_frame)
+ (aarch64_expand_prologue): Update accordingly.
+ (aarch64_initial_elimination_offset): Likewise.
+
+2023-09-12 Richard Sandiford <richard.sandiford@arm.com>
+
+ * config/aarch64/aarch64.h (aarch64_frame::locals_offset): Rename to...
+ (aarch64_frame::bytes_above_locals): ...this.
+ * config/aarch64/aarch64.cc (aarch64_layout_frame)
+ (aarch64_initial_elimination_offset): Update accordingly.
+
+2023-09-12 Richard Sandiford <richard.sandiford@arm.com>
+
+ * config/aarch64/aarch64.cc (aarch64_expand_prologue): Move the
+ calculation of chain_offset into the emit_frame_chain block.
+
+2023-09-12 Richard Sandiford <richard.sandiford@arm.com>
+
+ * config/aarch64/aarch64.h (aarch64_frame::callee_offset): Delete.
+ * config/aarch64/aarch64.cc (aarch64_layout_frame): Remove
+ callee_offset handling.
+ (aarch64_save_callee_saves): Replace the start_offset parameter
+ with a bytes_below_sp parameter.
+ (aarch64_restore_callee_saves): Likewise.
+ (aarch64_expand_prologue): Update accordingly.
+ (aarch64_expand_epilogue): Likewise.
+
+2023-09-12 Richard Sandiford <richard.sandiford@arm.com>
+
+ * config/aarch64/aarch64.h (aarch64_frame::bytes_below_hard_fp): New
+ field.
+ * config/aarch64/aarch64.cc (aarch64_layout_frame): Initialize it.
+ (aarch64_expand_epilogue): Use it instead of
+ below_hard_fp_saved_regs_size.
+
+2023-09-12 Richard Sandiford <richard.sandiford@arm.com>
+
+ * config/aarch64/aarch64.h (aarch64_frame::bytes_below_saved_regs): New
+ field.
+ * config/aarch64/aarch64.cc (aarch64_layout_frame): Initialize it,
+ and use it instead of crtl->outgoing_args_size.
+ (aarch64_get_separate_components): Use bytes_below_saved_regs instead
+ of outgoing_args_size.
+ (aarch64_process_components): Likewise.
+
+2023-09-12 Richard Sandiford <richard.sandiford@arm.com>
+
+ * config/aarch64/aarch64.cc (aarch64_layout_frame): Explicitly
+ allocate the frame in one go if there are no saved registers.
+
+2023-09-12 Richard Sandiford <richard.sandiford@arm.com>
+
+ * config/aarch64/aarch64.cc (aarch64_expand_prologue): Use
+ chain_offset rather than callee_offset.
+
+2023-09-12 Richard Sandiford <richard.sandiford@arm.com>
+
+ * config/aarch64/aarch64.cc (aarch64_save_callee_saves): Use
+ a local shorthand for cfun->machine->frame.
+ (aarch64_restore_callee_saves, aarch64_get_separate_components):
+ (aarch64_process_components): Likewise.
+ (aarch64_allocate_and_probe_stack_space): Likewise.
+ (aarch64_expand_prologue, aarch64_expand_epilogue): Likewise.
+ (aarch64_layout_frame): Use existing shorthand for one more case.
+
+2023-09-12 Andrew Pinski <apinski@marvell.com>
+
+ PR tree-optimization/107881
+ * match.pd (`(a CMP1 b) ^ (a CMP2 b)`): New pattern.
+ (`(a CMP1 b) == (a CMP2 b)`): New pattern.
+
+2023-09-12 Pan Li <pan2.li@intel.com>
+
+ * config/riscv/riscv-vector-costs.h (struct range): Removed.
+
+2023-09-12 Juzhe-Zhong <juzhe.zhong@rivai.ai>
+
+ * config/riscv/riscv-vector-costs.cc (get_last_live_range): New function.
+ (compute_nregs_for_mode): Ditto.
+ (live_range_conflict_p): Ditto.
+ (max_number_of_live_regs): Ditto.
+ (compute_lmul): Ditto.
+ (costs::prefer_new_lmul_p): Ditto.
+ (costs::better_main_loop_than_p): Ditto.
+ * config/riscv/riscv-vector-costs.h (struct stmt_point): New struct.
+ (struct var_live_range): Ditto.
+ (struct autovec_info): Ditto.
+ * config/riscv/t-riscv: Update makefile for COST model.
+
+2023-09-12 Jakub Jelinek <jakub@redhat.com>
+
+ * fold-const.cc (range_check_type): Handle BITINT_TYPE like
+ OFFSET_TYPE.
+
+2023-09-12 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/111338
+ * tree-ssa-sccvn.cc (struct vn_walk_cb_data): Add bufsize non-static
+ data member.
+ (vn_walk_cb_data::push_partial_def): Remove bufsize variable.
+ (visit_nary_op): Avoid the BIT_AND_EXPR with constant rhs2
+ optimization if type's precision is too large for
+ vn_walk_cb_data::bufsize.
+
+2023-09-12 Gaius Mulley <gaiusmod2@gmail.com>
+
+ * doc/gm2.texi (Compiler options): Document new option
+ -Wcase-enum.
+
+2023-09-12 Thomas Schwinge <thomas@codesourcery.com>
+
+ * doc/sourcebuild.texi (stack_size): Update.
+
+2023-09-12 Christoph Müllner <christoph.muellner@vrull.eu>
+
+ * config/riscv/bitmanip.md (*<optab>_not<mode>): Export INSN name.
+ (<optab>_not<mode>3): Likewise.
+ * config/riscv/riscv-protos.h (riscv_expand_strcmp): New
+ prototype.
+ * config/riscv/riscv-string.cc (GEN_EMIT_HELPER3): New helper
+ macros.
+ (GEN_EMIT_HELPER2): Likewise.
+ (emit_strcmp_scalar_compare_byte): New function.
+ (emit_strcmp_scalar_compare_subword): Likewise.
+ (emit_strcmp_scalar_compare_word): Likewise.
+ (emit_strcmp_scalar_load_and_compare): Likewise.
+ (emit_strcmp_scalar_call_to_libc): Likewise.
+ (emit_strcmp_scalar_result_calculation_nonul): Likewise.
+ (emit_strcmp_scalar_result_calculation): Likewise.
+ (riscv_expand_strcmp_scalar): Likewise.
+ (riscv_expand_strcmp): Likewise.
+ * config/riscv/riscv.md (*slt<u>_<X:mode><GPR:mode>): Export
+ INSN name.
+ (@slt<u>_<X:mode><GPR:mode>3): Likewise.
+ (cmpstrnsi): Invoke expansion function for str(n)cmp.
+ (cmpstrsi): Likewise.
+ * config/riscv/riscv.opt: Add new parameter
+ '-mstring-compare-inline-limit'.
+ * doc/invoke.texi: Document new parameter
+ '-mstring-compare-inline-limit'.
+
+2023-09-12 Christoph Müllner <christoph.muellner@vrull.eu>
+
+ * config.gcc: Add new object riscv-string.o.
+ riscv-string.cc.
+ * config/riscv/riscv-protos.h (riscv_expand_strlen):
+ New function.
+ * config/riscv/riscv.md (strlen<mode>): New expand INSN.
+ * config/riscv/riscv.opt: New flag 'minline-strlen'.
+ * config/riscv/t-riscv: Add new object riscv-string.o.
+ * config/riscv/thead.md (th_rev<mode>2): Export INSN name.
+ (th_rev<mode>2): Likewise.
+ (th_tstnbz<mode>2): New INSN.
+ * doc/invoke.texi: Document '-minline-strlen'.
+ * emit-rtl.cc (emit_likely_jump_insn): New helper function.
+ (emit_unlikely_jump_insn): Likewise.
+ * rtl.h (emit_likely_jump_insn): New prototype.
+ (emit_unlikely_jump_insn): Likewise.
+ * config/riscv/riscv-string.cc: New file.
+
+2023-09-12 Thomas Schwinge <thomas@codesourcery.com>
+
+ * config/nvptx/nvptx.h (TARGET_USE_LOCAL_THUNK_ALIAS_P)
+ (TARGET_SUPPORTS_ALIASES): Define.
+
+2023-09-12 Thomas Schwinge <thomas@codesourcery.com>
+
+ * doc/sourcebuild.texi (check-function-bodies): Update.
+
+2023-09-12 Tobias Burnus <tobias@codesourcery.com>
+
+ * gimplify.cc (gimplify_bind_expr): Check for
+ insertion after variable cleanup. Convert 'omp allocate'
+ var-decl attribute to GOMP_alloc/GOMP_free calls.
+
+2023-09-12 xuli <xuli1@eswincomputing.com>
+
+ * config/riscv/riscv-vector-builtins-bases.cc: remove unused
+ parameter e and replace NULL_RTX with gcc_unreachable.
+
+2023-09-12 xuli <xuli1@eswincomputing.com>
+
+ * config/riscv/riscv-vector-builtins-bases.cc (class vcreate): New class.
+ (BASE): Ditto.
+ * config/riscv/riscv-vector-builtins-bases.h: Ditto.
+ * config/riscv/riscv-vector-builtins-functions.def (vcreate): Add vcreate support.
+ * config/riscv/riscv-vector-builtins-shapes.cc (struct vcreate_def): Ditto.
+ (SHAPE): Ditto.
+ * config/riscv/riscv-vector-builtins-shapes.h: Ditto.
+ * config/riscv/riscv-vector-builtins.cc: Add args type.
+
+2023-09-12 Fei Gao <gaofei@eswincomputing.com>
+
+ * config/riscv/riscv.cc
+ (riscv_avoid_shrink_wrapping_separate): wrap the condition check in
+ riscv_avoid_shrink_wrapping_separate.
+ (riscv_avoid_multi_push):avoid multi push if shrink_wrapping_separate
+ is active.
+ (riscv_get_separate_components):call riscv_avoid_shrink_wrapping_separate
+
+2023-09-12 Fei Gao <gaofei@eswincomputing.com>
+
+ * shrink-wrap.cc (try_shrink_wrapping_separate):call
+ use_shrink_wrapping_separate.
+ (use_shrink_wrapping_separate): wrap the condition
+ check in use_shrink_wrapping_separate.
+ * shrink-wrap.h (use_shrink_wrapping_separate): add to extern
+
2023-09-11 Andrew Pinski <apinski@marvell.com>
PR tree-optimization/111348
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 9cb5371..d2e767b 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20230912
+20230913
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index 32d133b..b2fbf3c 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,36 @@
+2023-09-12 Tobias Burnus <tobias@codesourcery.com>
+
+ * c-parser.cc (struct c_omp_loc_tree): New.
+ (c_check_omp_allocate_allocator_r): New; checking moved from ...
+ (c_parser_omp_allocate): ... here. Call it via walk_tree. Avoid
+ ICE with tree_to_shwi for invalid too-large value.
+
+2023-09-12 Tobias Burnus <tobias@codesourcery.com>
+
+ * c-parser.cc (c_parser_omp_construct): Move call to
+ c_parser_omp_allocate to ...
+ (c_parser_pragma): ... here.
+ (c_parser_omp_allocate): Avoid ICE is allocator could not be
+ parsed; set 'omp allocate' attribute for stack/automatic variables
+ and only reject static variables; add several additional
+ restriction checks.
+ * c-tree.h (c_mark_decl_jump_unsafe_in_current_scope): New prototype.
+ * c-decl.cc (decl_jump_unsafe): Return true for omp-allocated decls.
+ (c_mark_decl_jump_unsafe_in_current_scope): New.
+ (warn_about_goto, c_check_switch_jump_warnings): Add error for
+ omp-allocated decls.
+
+2023-09-12 Martin Uecker <uecker@tugraz.at>
+
+ * c-typeck.cc (struct comptypes_data): Add structure.
+ (tagged_types_tu_compatible_p,
+ function_types_compatible_p, type_lists_compatible_p,
+ comptypes_internal): Add structure to interface, change
+ return type to bool, and adapt calls.
+ (comptarget_types): Change return type too bool.
+ (comptypes, comptypes_check_enum_int,
+ comptypes_check_different_types): Adapt calls.
+
2023-09-06 Jakub Jelinek <jakub@redhat.com>
PR c/102989
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 4879a01..ea73753 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,14 @@
+2023-09-12 Jason Merrill <jason@redhat.com>
+
+ PR c++/111357
+ * pt.cc (expand_integer_pack): Convert argument to int.
+
+2023-09-12 Jason Merrill <jason@redhat.com>
+
+ PR c++/107198
+ * typeck2.cc (process_init_constructor_array): Use VEC_INIT_EXPR
+ regardless of seen_error.
+
2023-09-08 Patrick Palka <ppalka@redhat.com>
PR c++/99599
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 76ea9ba..3065282 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,13 @@
+2023-09-12 Mikael Morin <mikael@gcc.gnu.org>
+
+ PR fortran/110996
+ * gfortran.h (gfc_release_symbol): Set return type to bool.
+ * symbol.cc (gfc_release_symbol): Ditto. Return whether symbol was
+ freed.
+ (delete_symbol_from_ns): New, outline code from...
+ (gfc_restore_last_undo_checkpoint): ... here. Delete new symbols
+ from two more namespaces.
+
2023-09-09 Mikael Morin <mikael@gcc.gnu.org>
* bbt.cc (delete_treap): Add argument REMOVED, set it to the removed
diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog
index b782697..a4dbd2e 100644
--- a/gcc/m2/ChangeLog
+++ b/gcc/m2/ChangeLog
@@ -1,3 +1,76 @@
+2023-09-12 Gaius Mulley <gaiusmod2@gmail.com>
+
+ * gm2-compiler/M2CaseList.def (PushCase): Rename parameters
+ r to rec and v to va. Add expr parameter.
+ (MissingCaseStatementBounds): New procedure function.
+ * gm2-compiler/M2CaseList.mod (RangePair): Add expression.
+ (PushCase): Rename parameters r to rec and v to va. Add
+ expr parameter.
+ (RemoveRange): New procedure function.
+ (SubBitRange): Detect the case when the range in the set matches
+ lo..hi.
+ (CheckLowHigh): New procedure.
+ (ExcludeCaseRanges): Rename parameter c to cd. Rename local
+ variables q to cl and r to rp.
+ (High): Remove.
+ (Low): Remove.
+ (DoEnumValues): Remove.
+ (IncludeElement): New procedure.
+ (IncludeElements): New procedure.
+ (ErrorRangeEnum): New procedure.
+ (ErrorRange): Remove.
+ (ErrorRanges): Remove.
+ (appendEnum): New procedure.
+ (appendStr): New procedure.
+ (EnumerateErrors): New procedure.
+ (MissingCaseBounds): Re-implement.
+ (InRangeList): Remove.
+ (MissingCaseStatementBounds): New procedure function.
+ (checkTypes): Re-format.
+ (inRange): Re-format.
+ (TypeCaseBounds): Re-format.
+ * gm2-compiler/M2Error.mod (GetAnnounceScope): Add noscope to
+ case label list.
+ * gm2-compiler/M2GCCDeclare.mod: Replace ForeachFieldEnumerationDo
+ with ForeachLocalSymDo.
+ * gm2-compiler/M2Options.def (SetCaseEnumChecking): New procedure.
+ (CaseEnumChecking): New variable.
+ * gm2-compiler/M2Options.mod (SetCaseEnumChecking): New procedure.
+ (Module initialization): set CaseEnumChecking to FALSE.
+ * gm2-compiler/M2Quads.def (QuadOperator): Alphabetically ordered.
+ * gm2-compiler/M2Quads.mod (IsBackReferenceConditional): Add else
+ clause.
+ (BuildCaseStart): Pass selector expression to InitCaseBounds.
+ (CheckUninitializedVariablesAreUsed): Remove.
+ (IsInlineWithinBlock): Remove.
+ (AsmStatementsInBlock): Remove.
+ (CheckVariablesInBlock): Remove commented code.
+ (BeginVarient): Pass NulSym to InitCaseBounds.
+ * gm2-compiler/M2Range.mod (FoldCaseBounds): New local variable
+ errorGenerated. Add call to MissingCaseStatementBounds.
+ * gm2-compiler/P3Build.bnf (CaseEndStatement): Call ElseCase.
+ * gm2-compiler/PCSymBuild.mod (InitDesExpr): Add else clause.
+ (InitFunction): Add else clause.
+ (InitConvert): Add else clause.
+ (InitLeaf): Add else clause.
+ (InitBinary): Add else clause.
+ (InitUnary): Add else clause.
+ * gm2-compiler/SymbolTable.def (GetNth): Re-write comment.
+ (ForeachFieldEnumerationDo): Re-write comment stating alphabetical
+ traversal.
+ * gm2-compiler/SymbolTable.mod (GetNth): Re-write comment.
+ Add case label for EnumerationSym and call GetItemFromList.
+ (ForeachFieldEnumerationDo): Re-write comment stating alphabetical
+ traversal.
+ (SymEnumeration): Add ListOfFields used for declaration order.
+ (MakeEnumeration): Initialize ListOfFields.
+ (PutFieldEnumeration): Include Field in ListOfFields.
+ * gm2-gcc/m2options.h (M2Options_SetCaseEnumChecking): New
+ function.
+ * gm2-lang.cc (gm2_langhook_handle_option): Add
+ OPT_Wcase_enum case and call M2Options_SetCaseEnumChecking.
+ * lang.opt (Wcase-enum): Add.
+
2023-09-11 Gaius Mulley <gaiusmod2@gmail.com>
PR modula2/111330
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 08f79b9..de0eadc 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,199 @@
+2023-09-12 Juzhe-Zhong <juzhe.zhong@rivai.ai>
+
+ * lib/target-supports.exp: Enable vect_int for RVV.
+
+2023-09-12 Jason Merrill <jason@redhat.com>
+
+ PR c++/111357
+ * g++.dg/ext/integer-pack7.C: New test.
+
+2023-09-12 Jason Merrill <jason@redhat.com>
+
+ PR c++/107198
+ * g++.dg/eh/no-exceptions1.C: New test.
+
+2023-09-12 Richard Sandiford <richard.sandiford@arm.com>
+
+ * gcc.target/aarch64/stack-protector-8.c: New test.
+ * gcc.target/aarch64/stack-protector-9.c: Likewise.
+
+2023-09-12 Richard Sandiford <richard.sandiford@arm.com>
+
+ * gcc.target/aarch64/sve/pcs/stack_clash_3.c: Avoid redundant probes.
+
+2023-09-12 Richard Sandiford <richard.sandiford@arm.com>
+
+ * gcc.target/aarch64/stack-check-prologue-17.c: Expect the probe
+ to be at offset 1024 rather than offset 0.
+ * gcc.target/aarch64/stack-check-prologue-18.c: Likewise.
+ * gcc.target/aarch64/stack-check-prologue-19.c: Likewise.
+
+2023-09-12 Richard Sandiford <richard.sandiford@arm.com>
+
+ * gcc.target/aarch64/stack-check-prologue-18.c: New test.
+ * gcc.target/aarch64/stack-check-prologue-19.c: Likewise.
+ * gcc.target/aarch64/stack-check-prologue-20.c: Likewise.
+
+2023-09-12 Richard Sandiford <richard.sandiford@arm.com>
+
+ * gcc.target/aarch64/stack-check-prologue-17.c: New test.
+
+2023-09-12 Andrew Pinski <apinski@marvell.com>
+
+ PR tree-optimization/107881
+ * gcc.c-torture/execute/pr107881-1.c: New test.
+ * gcc.dg/tree-ssa/cmpeq-4.c: New test.
+ * gcc.dg/tree-ssa/cmpxor-1.c: New test.
+
+2023-09-12 Juzhe-Zhong <juzhe.zhong@rivai.ai>
+
+ * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul-mixed-1.c: New test.
+ * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul1-1.c: New test.
+ * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul1-2.c: New test.
+ * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul1-3.c: New test.
+ * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul1-4.c: New test.
+ * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul1-5.c: New test.
+ * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul1-6.c: New test.
+ * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul1-7.c: New test.
+ * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul2-1.c: New test.
+ * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul2-2.c: New test.
+ * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul2-3.c: New test.
+ * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul2-4.c: New test.
+ * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul2-5.c: New test.
+ * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul2-6.c: New test.
+ * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul4-1.c: New test.
+ * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul4-2.c: New test.
+ * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul4-3.c: New test.
+ * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul4-4.c: New test.
+ * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul4-5.c: New test.
+ * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul4-6.c: New test.
+ * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul4-7.c: New test.
+ * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul4-8.c: New test.
+ * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul8-1.c: New test.
+ * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul8-10.c: New test.
+ * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul8-2.c: New test.
+ * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul8-3.c: New test.
+ * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul8-4.c: New test.
+ * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul8-5.c: New test.
+ * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul8-6.c: New test.
+ * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul8-7.c: New test.
+ * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul8-8.c: New test.
+ * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul8-9.c: New test.
+ * gcc.dg/vect/costmodel/riscv/rvv/rvv-costmodel-vect.exp: New test.
+ * gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul4-9.c: New file.
+
+2023-09-12 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/111338
+ * gcc.dg/bitint-37.c: New test.
+
+2023-09-12 Gaius Mulley <gaiusmod2@gmail.com>
+
+ * gm2/switches/case/fail/missingclause.mod: New test.
+ * gm2/switches/case/fail/switches-case-fail.exp: New test.
+ * gm2/switches/case/pass/enumcase.mod: New test.
+ * gm2/switches/case/pass/enumcase2.mod: New test.
+ * gm2/switches/case/pass/switches-case-pass.exp: New test.
+
+2023-09-12 Thomas Schwinge <thomas@codesourcery.com>
+
+ * lib/target-supports.exp (check_effective_target_stack_size): For
+ nvptx target, stack size limits are relevant for execution only.
+
+2023-09-12 Christoph Müllner <christoph.muellner@vrull.eu>
+
+ * gcc.target/riscv/xtheadbb-strcmp.c: New test.
+ * gcc.target/riscv/zbb-strcmp-disabled-2.c: New test.
+ * gcc.target/riscv/zbb-strcmp-disabled.c: New test.
+ * gcc.target/riscv/zbb-strcmp-unaligned.c: New test.
+ * gcc.target/riscv/zbb-strcmp.c: New test.
+ * gcc.target/riscv/zbb-strcmp-limit.c: New file.
+
+2023-09-12 Christoph Müllner <christoph.muellner@vrull.eu>
+
+ * gcc.target/riscv/xtheadbb-strlen-unaligned.c: New test.
+ * gcc.target/riscv/xtheadbb-strlen.c: New test.
+ * gcc.target/riscv/zbb-strlen-disabled-2.c: New test.
+ * gcc.target/riscv/zbb-strlen-disabled.c: New test.
+ * gcc.target/riscv/zbb-strlen-unaligned.c: New test.
+ * gcc.target/riscv/zbb-strlen.c: New test.
+
+2023-09-12 Lehua Ding <lehua.ding@rivai.ai>
+
+ * gcc.target/riscv/rvv/autovec/cond/cond_arith-1.c: Add vrem op.
+ * gcc.target/riscv/rvv/autovec/cond/cond_arith-2.c: Ditto.
+ * gcc.target/riscv/rvv/autovec/cond/cond_arith-3.c: Ditto.
+ * gcc.target/riscv/rvv/autovec/cond/cond_arith-4.c: Ditto.
+ * gcc.target/riscv/rvv/autovec/cond/cond_arith-5.c: Ditto.
+ * gcc.target/riscv/rvv/autovec/cond/cond_arith-6.c: Ditto.
+ * gcc.target/riscv/rvv/autovec/cond/cond_arith-7.c: Ditto.
+ * gcc.target/riscv/rvv/autovec/cond/cond_arith-8.c: Ditto.
+ * gcc.target/riscv/rvv/autovec/cond/cond_arith-9.c: Ditto.
+ * gcc.target/riscv/rvv/autovec/cond/cond_logical_run-1.c: Moved to...
+ * gcc.target/riscv/rvv/autovec/cond/cond_logical_min_max_run-1.c: ...here.
+ * gcc.target/riscv/rvv/autovec/cond/cond_logical_run-2.c: Moved to...
+ * gcc.target/riscv/rvv/autovec/cond/cond_logical_min_max_run-2.c: ...here.
+ * gcc.target/riscv/rvv/autovec/cond/cond_logical_run-3.c: Moved to...
+ * gcc.target/riscv/rvv/autovec/cond/cond_logical_min_max_run-3.c: ...here.
+ * gcc.target/riscv/rvv/autovec/cond/cond_logical_run-4.c: Moved to...
+ * gcc.target/riscv/rvv/autovec/cond/cond_logical_min_max_run-4.c: ...here.
+ * gcc.target/riscv/rvv/autovec/cond/cond_logical_run-5.c: Moved to...
+ * gcc.target/riscv/rvv/autovec/cond/cond_logical_min_max_run-5.c: ...here.
+ * gcc.target/riscv/rvv/autovec/cond/cond_logical-1.c: Removed.
+ * gcc.target/riscv/rvv/autovec/cond/cond_logical-2.c: Removed.
+ * gcc.target/riscv/rvv/autovec/cond/cond_logical-3.c: Removed.
+ * gcc.target/riscv/rvv/autovec/cond/cond_logical-4.c: Removed.
+ * gcc.target/riscv/rvv/autovec/cond/cond_logical-5.c: Removed.
+ * gcc.target/riscv/rvv/autovec/cond/cond_logical_min_max-1.c: New test.
+ * gcc.target/riscv/rvv/autovec/cond/cond_logical_min_max-2.c: New test.
+ * gcc.target/riscv/rvv/autovec/cond/cond_logical_min_max-3.c: New test.
+ * gcc.target/riscv/rvv/autovec/cond/cond_logical_min_max-4.c: New test.
+ * gcc.target/riscv/rvv/autovec/cond/cond_logical_min_max-5.c: New test.
+ * gcc.target/riscv/rvv/autovec/cond/cond_widen_complicate-1.c: New test.
+ * gcc.target/riscv/rvv/autovec/cond/cond_widen_complicate-2.c: New test.
+ * gcc.target/riscv/rvv/autovec/cond/cond_widen_complicate-3.c: New test.
+ * gcc.target/riscv/rvv/autovec/cond/cond_widen_complicate-4.c: New test.
+ * gcc.target/riscv/rvv/autovec/cond/cond_widen_complicate-5.c: New test.
+ * gcc.target/riscv/rvv/autovec/cond/cond_widen_complicate-6.c: New test.
+ * gcc.target/riscv/rvv/autovec/cond/cond_widen_complicate-7.c: New test.
+ * gcc.target/riscv/rvv/autovec/cond/cond_widen_complicate-8.c: New test.
+ * gcc.target/riscv/rvv/autovec/cond/cond_widen_complicate-9.c: New test.
+
+2023-09-12 Thomas Schwinge <thomas@codesourcery.com>
+
+ * lib/scanasm.exp (configure_check-function-bodies): New proc.
+ (parse_function_bodies, check-function-bodies): Use it.
+
+2023-09-12 Mikael Morin <mikael@gcc.gnu.org>
+
+ PR fortran/110996
+ * gfortran.dg/pr110996.f90: New test.
+
+2023-09-12 Tobias Burnus <tobias@codesourcery.com>
+
+ * c-c++-common/gomp/allocate-5.c: Fix testcase; make some
+ dg-messages for 'sorry' as c++, only.
+ * c-c++-common/gomp/directive-1.c: Make a 'sorry' c++ only.
+ * c-c++-common/gomp/allocate-9.c: New test.
+ * c-c++-common/gomp/allocate-11.c: New test.
+ * c-c++-common/gomp/allocate-12.c: New test.
+ * c-c++-common/gomp/allocate-14.c: New test.
+ * c-c++-common/gomp/allocate-15.c: New test.
+ * c-c++-common/gomp/allocate-16.c: New test.
+
+2023-09-12 xuli <xuli1@eswincomputing.com>
+
+ * gcc.target/riscv/rvv/base/tuple_create.c: New test.
+
+2023-09-12 Fei Gao <gaofei@eswincomputing.com>
+
+ * gcc.target/riscv/rv32e_zcmp.c: remove -fno-shrink-wrap-separate
+ * gcc.target/riscv/rv32i_zcmp.c: likewise
+ * gcc.target/riscv/zcmp_push_fpr.c: likewise
+ * gcc.target/riscv/zcmp_stack_alignment.c: likewise
+ * gcc.target/riscv/zcmp_shrink_wrap_separate.c: New test.
+ * gcc.target/riscv/zcmp_shrink_wrap_separate2.c: New test.
+
2023-09-11 Andrew Pinski <apinski@marvell.com>
PR tree-optimization/111348
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index fb96155..9de28eb 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,25 @@
+2023-09-12 Thomas Schwinge <thomas@codesourcery.com>
+ Chung-Lin Tang <cltang@codesourcery.com>
+
+ PR testsuite/91884
+ PR testsuite/109951
+ * configure.ac: Revert earlier changes, instead
+ 'AC_SUBST(SYSROOT_CFLAGS_FOR_TARGET)'.
+ * Makefile.in: Regenerate.
+ * configure: Likewise.
+ * testsuite/Makefile.in: Likewise.
+ * testsuite/lib/libgomp.exp (libgomp_init): Remove
+ "Fix up '-funconfigured-libstdc++-v3' in 'GXX_UNDER_TEST'" code.
+ If '--with-build-sysroot=[...]' was specified, use it for
+ build-tree testing.
+ * testsuite/libgomp-site-extra.exp.in (GCC_UNDER_TEST)
+ (GXX_UNDER_TEST, GFORTRAN_UNDER_TEST): Don't set.
+ (SYSROOT_CFLAGS_FOR_TARGET): Set.
+ * testsuite/libgomp.c++/c++.exp (lang_source_re)
+ (lang_include_flags): Set for build-tree testing.
+ * testsuite/libgomp.oacc-c++/c++.exp (lang_source_re)
+ (lang_include_flags): Likewise.
+
2023-09-07 Tobias Burnus <tobias@codesourcery.com>
* libgomp.texi (Memory Management Routines): New; add documentation for
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index bc19b35..6f08539 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,30 @@
+2023-09-12 Patrick Palka <ppalka@redhat.com>
+
+ PR libstdc++/111327
+ * include/std/functional (_GLIBCXX_NOT_FN_CALL_OP): Also define
+ a deleted fallback operator() overload. Constrain both the
+ enabled and deleted overloads accordingly.
+ * testsuite/20_util/function_objects/not_fn/111327.cc: New test.
+
+2023-09-12 Patrick Palka <ppalka@redhat.com>
+
+ PR libstdc++/111327
+ * include/std/functional (_Bind_front::operator()): Add deleted
+ fallback overloads for each const/ref qualifier pair. Give the
+ enabled overloads dummy constraints to make each one more
+ specialized than the corresponding deleted overload.
+ * testsuite/20_util/function_objects/bind_front/111327.cc: New test.
+
+2023-09-12 Patrick Palka <ppalka@redhat.com>
+
+ * include/std/functional (_Bind_front0): Remove.
+ (_Bind_front_t): Adjust.
+
+2023-09-12 Jonathan Wakely <jwakely@redhat.com>
+
+ * python/libstdcxx/v6/printers.py: Reformat.
+ * python/libstdcxx/v6/xmethods.py: Likewise.
+
2023-09-11 Jonathan Wakely <jwakely@redhat.com>
* src/c++11/debug.cc (acquire_sequence_ptr_for_lock): New