]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Wed, 13 Sep 2023 00:18:00 +0000 (00:18 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Wed, 13 Sep 2023 00:18:00 +0000 (00:18 +0000)
ChangeLog
contrib/ChangeLog
gcc/ChangeLog
gcc/DATESTAMP
gcc/c/ChangeLog
gcc/cp/ChangeLog
gcc/fortran/ChangeLog
gcc/m2/ChangeLog
gcc/testsuite/ChangeLog
libgomp/ChangeLog
libstdc++-v3/ChangeLog

index 172dd69d9fee6dd8ffdf3377b78c342d3518aef1..0c8f88f75c8232f51001ed7b07d928c7debc9581 100644 (file)
--- 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
index 734037714fe5ef3f7fadd5da6847d2f400a54918..fc11bcd5b0ddd62f768d52423ada3a0df99e58cf 100644 (file)
@@ -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
index 303803115e30718e7542b573c6f1b262f6a3d458..b69160b025d60207c52935074cab7c96a7ee8a53 100644 (file)
@@ -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
index 9cb5371202acd7248d991a7ff1e76517f6eab80c..d2e767b9b866735f0d78c0cebc748209fdbed76f 100644 (file)
@@ -1 +1 @@
-20230912
+20230913
index 32d133b07631e1f564747e41c537a2e838fbbd03..b2fbf3cabad31bb8caf345c93cee2f79d4eab8e2 100644 (file)
@@ -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
index 4879a010c1abbbece2d667bfcb4f373f57694f44..ea73753a6409085f6239fb12643ad5b85e8e5fee 100644 (file)
@@ -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
index 76ea9ba7559b50b1d2ecc0e66b3e618284f9ec8e..30652829ea22a9a5183deffc87ea1a27b96eeac2 100644 (file)
@@ -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
index b7826972ccdad4b8ae9adecf3428d9b645be8af0..a4dbd2e87260a8e4c69cd173b638969e60981579 100644 (file)
@@ -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
index 08f79b91201c4eb7411ac6149f3d3d2592caef96..de0eadc31d7a1152f6e668930a968774ab2ea44e 100644 (file)
@@ -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
index fb96155394e113c015ee0d11ecd45f2cbe44f15d..9de28eb4ce93205a91f370cd432b0e67ce7e4873 100644 (file)
@@ -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
index bc19b35353d05edf798b3e8f9a65449e7c1a13d3..6f085396ec6270bcd98ec817cde65896a7ee499f 100644 (file)
@@ -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