+2024-07-18 René Rebe <rene@exactcode.de>
+ Peter Bergner <bergner@linux.ibm.com>
+
+ PR target/97367
+ * config/rs6000/rs6000.cc (rs6000_machine_from_flags): Do not consider
+ OPTION_MASK_ALTIVEC.
+ (emit_asm_machine): For Altivec compiles, emit a ".machine altivec".
+
+2024-07-18 Marek Polacek <polacek@redhat.com>
+ Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/115865
+ * tree-eh.cc (get_eh_else): Check that the result of
+ gimple_seq_first_stmt is non-null.
+
+2024-07-18 LIU Hao <lh_mouse@126.com>
+
+ PR rtl-optimization/115049
+ * varasm.cc (decl_binds_to_current_def_p): Add a check for COMDAT
+ declarations too, like weak ones.
+
+2024-07-18 Richard Biener <rguenther@suse.de>
+
+ PR middle-end/115641
+ * fold-const.cc (decode_field_reference): If the inner
+ reference isn't something we can take the address of, fail.
+
+2024-07-18 Pan Li <pan2.li@intel.com>
+
+ * doc/md.texi: Add Standard-Names ustrunc and sstrunc.
+
+2024-07-18 Rubin Gerritsen <rubin.gerritsen@gmail.com>
+
+ * gimple-fold.cc (dump_transformation): Moved definition.
+ (replace_call_with_call_and_fold): Calls dump_transformation.
+ (gimple_fold_builtin_stxcpy_chk): Removes call to
+ dump_transformation, now in replace_call_with_call_and_fold.
+ (gimple_fold_builtin_stxncpy_chk): Removes call to
+ dump_transformation, now in replace_call_with_call_and_fold.
+
+2024-07-18 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/104515
+ * tree-ssa-loop-im.cc (execute_sm_exit): Add clobbers_to_prune
+ parameter and handle re-materializing of clobbers.
+ (sm_seq_valid_bb): end-of-storage/object clobbers are OK inside
+ an ordered sequence of stores.
+ (sm_seq_push_down): Refuse to push down clobbers.
+ (hoist_memory_references): Prune clobbers from the loop body
+ we re-materialized on an exit.
+
+2024-07-18 Roger Sayle <roger@nextmovesoftware.com>
+
+ * match.pd ((FTYPE) N CMP CST): Only worry about exceptions with
+ flag_trapping_math, and about signaling NaNs with HONOR_SNANS.
+
+2024-07-18 Kyrylo Tkachov <ktkachov@nvidia.com>
+
+ * doc/invoke.texi (AArch64 Options): Document rewriting of
+ -march=native to -mcpu=native.
+
+2024-07-18 liuhongt <hongtao.liu@intel.com>
+
+ PR target/115843
+ * config/i386/predicates.md (const0_or_m1_operand): New
+ predicate.
+ * config/i386/sse.md (*<avx512>_store<mode>_mask_1): New
+ pre_reload define_insn_and_split.
+ (V): Add V32BF,V16BF,V8BF.
+ (V4SF_V8BF): Rename to ..
+ (V24F_128): .. this.
+ (*vec_concat<mode>): Adjust with V24F_128.
+ (*vec_concat<mode>_0): Ditto.
+
+2024-07-18 Andi Kleen <ak@linux.intel.com>
+
+ PR c/83324
+ * calls.cc (initialize_argument_information): Mark messages
+ for translation.
+ (can_implement_as_sibling_call_p): Dito.
+ (expand_call): Dito.
+
+2024-07-18 Andi Kleen <ak@linux.intel.com>
+
+ PR c/83324
+ * tree-tailcall.cc (maybe_error_musttail): New function.
+ (suitable_for_tail_opt_p): Report error reason.
+ (suitable_for_tail_call_opt_p): Report error reason.
+ (find_tail_calls): Accept basic blocks with abnormal edges.
+ Delay reporting of errors until the call is discovered.
+ Move top level suitability checks to here.
+ (tree_optimize_tail_calls_1): Remove top level checks.
+
+2024-07-18 Andi Kleen <ak@linux.intel.com>
+
+ PR c/83324
+ * function.h (struct function): Add has_musttail.
+ * lto-streamer-in.cc (input_struct_function_base): Stream
+ has_musttail.
+ * lto-streamer-out.cc (output_struct_function_base): Dito.
+ * passes.def (pass_musttail): Add.
+ * tree-cfg.cc (notice_special_calls): Record has_musttail.
+ (clear_special_calls): Clear has_musttail.
+ * tree-pass.h (make_pass_musttail): Add.
+ * tree-tailcall.cc (find_tail_calls): Handle only_musttail
+ argument.
+ (tree_optimize_tail_calls_1): Pass on only_musttail.
+ (execute_tail_calls): Pass only_musttail as false.
+ (class pass_musttail): Add.
+ (make_pass_musttail): Add.
+
+2024-07-18 Andi Kleen <ak@linux.intel.com>
+
+ PR target/115255
+ * function.cc (thread_prologue_and_epilogue_insns): Check
+ cfun->tail_call_marked for sibcalls too.
+ (rest_of_handle_thread_prologue_and_epilogue): Dito.
+
+2024-07-18 Andi Kleen <ak@linux.intel.com>
+
+ PR c/83324
+ * calls.cc (maybe_complain_about_tail_call): Clear must tail
+ flag on error.
+ (expand_call): Give error messages for all musttail failures.
+
2024-07-17 Richard Sandiford <richard.sandiford@arm.com>
PR rtl-optimization/115929
+2024-07-18 Marek Polacek <polacek@redhat.com>
+
+ PR c++/108769
+ PR c++/58074
+ PR c++/115522
+ PR c++/85723
+ * class.cc (type_has_non_deleted_trivial_default_ctor): Fix formatting.
+ * tree.cc (trivial_type_p): Instead of TYPE_HAS_TRIVIAL_DFLT, use
+ type_has_non_deleted_trivial_default_ctor.
+
+2024-07-18 Nathaniel Shead <nathanieloshead@gmail.com>
+
+ PR c++/115165
+ * module.cc (lazy_load_binding): Use 'timevar_cond*' APIs.
+ (lazy_load_pendings): Likewise.
+
+2024-07-18 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/112288
+ * pt.cc (tsubst_friend_function): When adjusting existing
+ specializations after defining a previously declared template
+ friend, consider the most general template and correct
+ DECL_TI_ARGS adjustment.
+
+2024-07-18 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/114104
+ * cvt.cc (convert_to_void): Call warn_if_unused_value for
+ TRUTH_NOT_EXPR and ADDR_EXPR as well.
+
+2024-07-18 Patrick Palka <ppalka@redhat.com>
+
+ * decl.cc (make_typename_type): Restrict name lookup failure
+ punting to dependentish_scope_p instead of dependent_type_p.
+ * error.cc (qualified_name_lookup_error): Improve diagnostic
+ when the scope is the current instantiation.
+ * parser.cc (cp_parser_diagnose_invalid_type_name): Likewise.
+ (cp_parser_conversion_function_id): Don't call push_scope on
+ a template scope unless we're in a declaration context.
+ (cp_parser_lookup_name): Restrict name lookup failure
+ punting to dependentish_scope_p instead of depedent_type_p.
+ * semantics.cc (finish_id_expression_1): Likewise.
+ * typeck.cc (finish_class_member_access_expr): Likewise.
+
2024-07-17 Marek Polacek <polacek@redhat.com>
PR c++/115900
+2024-07-18 Andre Vehreschild <vehre@gcc.gnu.org>
+
+ PR fortran/78466
+ PR fortran/80774
+ * array.cc (gfc_compare_array_spec): Take cotype into account.
+ * class.cc (gfc_build_class_symbol): Coarrays are also arrays.
+ * gfortran.h (IS_CLASS_COARRAY_OR_ARRAY): New macro to detect
+ regular and coarray class arrays.
+ * interface.cc (compare_components): Take codimension into
+ account.
+ * resolve.cc (resolve_symbol): Improve error message.
+ * simplify.cc (simplify_bound_dim): Remove duplicate.
+ * trans-array.cc (gfc_trans_array_cobounds): Coarrays are also
+ arrays.
+ (gfc_trans_array_bounds): Same.
+ (gfc_trans_dummy_array_bias): Same.
+ (get_coarray_as): Get the as having a non-zero codim.
+ (is_explicit_coarray): Detect explicit coarrays.
+ (gfc_conv_expr_descriptor): Create a new descriptor for explicit
+ coarrays.
+ * trans-decl.cc (gfc_build_qualified_array): Coarrays are also
+ arrays.
+ (gfc_build_dummy_array_decl): Same.
+ (gfc_get_symbol_decl): Same.
+ (gfc_trans_deferred_vars): Same.
+ * trans-expr.cc (class_scalar_coarray_to_class): Get the
+ descriptor from the correct location.
+ (gfc_conv_variable): Pick up the descriptor when needed.
+ * trans-types.cc (gfc_is_nodesc_array): Coarrays are also
+ arrays.
+ (gfc_get_nodesc_array_type): Indentation fix only.
+ (cobounds_match_decl): Match a tree's bounds to the expr's
+ bounds and return true, when they match.
+ (gfc_get_derived_type): Create a new type tree/descriptor, when
+ the cobounds of the existing declaration and expr to not
+ match. This happends for class arrays in parameter list, when
+ there are different cobound declarations.
+
+2024-07-18 Paul Thomas <pault@gcc.gnu.org>
+
+ PR fortran/108889
+ * gfortran.h: Add bit field 'allocated_in_scope' to gfc_symbol.
+ * trans-array.cc (gfc_array_allocate): Set 'allocated_in_scope'
+ after allocation if not a component reference.
+ (gfc_alloc_allocatable_for_assignment): If 'allocated_in_scope'
+ not set, not a component ref and not allocated, set the array
+ bounds and offset to give zero length in all dimensions. Then
+ set allocated_in_scope.
+
+2024-07-18 Andre Vehreschild <vehre@gcc.gnu.org>
+
+ PR fortran/82904
+ * trans-types.cc (gfc_sym_type): Use type `char*` for saved
+ deferred length char arrays.
+ * trans.cc (get_array_span): Get `.span` also for `char*` typed
+ arrays, i.e. for those that have INTEGER_TYPE instead of
+ ARRAY_TYPE.
+
2024-07-17 Kewen Lin <linkw@linux.ibm.com>
PR target/112993
+2024-07-18 Marek Polacek <polacek@redhat.com>
+
+ PR c++/108769
+ PR c++/58074
+ PR c++/115522
+ PR c++/85723
+ * g++.dg/warn/Wclass-memaccess.C: Add dg-warning.
+ * g++.dg/ext/is_trivial1.C: New test.
+ * g++.dg/ext/is_trivial2.C: New test.
+ * g++.dg/ext/is_trivial3.C: New test.
+ * g++.dg/ext/is_trivial4.C: New test.
+ * g++.dg/ext/is_trivial5.C: New test.
+ * g++.dg/ext/is_trivial6.C: New test.
+
+2024-07-18 René Rebe <rene@exactcode.de>
+ Peter Bergner <bergner@linux.ibm.com>
+
+ PR target/97367
+ * gcc.target/powerpc/pr97367.c: New test.
+
+2024-07-18 Carl Love <cel@us.ibm.com>
+
+ * gcc.target/powerpc/builtins-10-runnable.c: Add
+ target int128.
+ * gcc.target/powerpc/builtins-10.c: Add
+ target int128.
+ * gcc.target/powerpc/vec_perm-runnable-i128.c: Add
+ target int128.
+
+2024-07-18 Marek Polacek <polacek@redhat.com>
+ Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/115865
+ * g++.dg/asan/initlist2.C: New test.
+
+2024-07-18 Richard Biener <rguenther@suse.de>
+
+ PR middle-end/115641
+ * gcc.dg/torture/pr115641.c: New testcase.
+
+2024-07-18 Andre Vehreschild <vehre@gcc.gnu.org>
+
+ PR fortran/78466
+ PR fortran/80774
+ * gfortran.dg/coarray/poly_run_1.f90: Activate old test code.
+ * gfortran.dg/coarray/poly_run_2.f90: Activate test. It was
+ stopping before and passing without an error.
+
+2024-07-18 Sam James <sam@gentoo.org>
+
+ PR c++/53288
+ PR c++/57437
+ PR c/65345
+ PR libstdc++/88101
+ PR tree-optimization/96369
+ PR tree-optimization/102124
+ PR tree-optimization/108692
+ * c-c++-common/pr96369.c: Add dg-do run directive.
+ * gcc.dg/torture/pr102124.c: Ditto.
+ * gcc.dg/pr108692.c: Ditto.
+ * gcc.dg/atomic/pr65345-4.c: Ditto.
+ * g++.dg/cpp0x/lambda/lambda-return1.C: Ditto.
+ * g++.dg/init/lifetime4.C: Ditto.
+ * g++.dg/torture/builtin-clear-padding-1.C: Ditto.
+ * g++.dg/torture/builtin-clear-padding-2.C: Ditto.
+ * g++.dg/torture/builtin-clear-padding-3.C: Ditto.
+ * g++.dg/torture/builtin-clear-padding-4.C: Ditto.
+ * g++.dg/torture/builtin-clear-padding-5.C: Ditto.
+
+2024-07-18 Paul Thomas <pault@gcc.gnu.org>
+
+ PR fortran/108889
+ * gfortran.dg/pr108889.f90: New test.
+
+2024-07-18 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/104515
+ * g++.dg/opt/pr104515.C: New testcase.
+
+2024-07-18 Roger Sayle <roger@nextmovesoftware.com>
+
+ * c-c++-common/pr57371-4.c: Update comment.
+ * c-c++-common/pr57371-5.c: Add missing testcases from pr57371-4.c
+ and update for -fno-signaling-nans -fno-trapping-math.
+
+2024-07-18 Andre Vehreschild <vehre@gcc.gnu.org>
+
+ PR fortran/82904
+ * gfortran.dg/deferred_character_38.f90: New test.
+
+2024-07-18 Jakub Jelinek <jakub@redhat.com>
+
+ * c-c++-common/torture/builtin-clear-padding-3.c (main): Compare
+ s2.b.a against -1 rather than (char) -1.
+
+2024-07-18 Haochen Jiang <haochen.jiang@intel.com>
+
+ * gcc.target/i386/apx-egprs-names.c: Use ax for short and
+ al for char instead of eax.
+ * gcc.target/i386/avx512bw-kandnq-1.c: Do not run the test
+ under -m32 since kmovq with register is invalid. Use long
+ long to use 64 bit register instead of 32 bit register for
+ kmovq.
+ * gcc.target/i386/avx512bw-kandq-1.c: Ditto.
+ * gcc.target/i386/avx512bw-knotq-1.c: Ditto.
+ * gcc.target/i386/avx512bw-korq-1.c: Ditto.
+ * gcc.target/i386/avx512bw-kshiftlq-1.c: Ditto.
+ * gcc.target/i386/avx512bw-kshiftrq-1.c: Ditto.
+ * gcc.target/i386/avx512bw-kxnorq-1.c: Ditto.
+ * gcc.target/i386/avx512bw-kxorq-1.c: Ditto.
+
+2024-07-18 liuhongt <hongtao.liu@intel.com>
+
+ * gcc.target/i386/pr115843.c: New test.
+
+2024-07-18 Nathaniel Shead <nathanieloshead@gmail.com>
+
+ PR c++/115165
+ * g++.dg/modules/timevar-1_a.H: New test.
+ * g++.dg/modules/timevar-1_b.C: New test.
+
+2024-07-18 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/112288
+ * g++.dg/template/friend80.C: New test.
+ * g++.dg/template/friend81.C: New test.
+ * g++.dg/template/friend81a.C: New test.
+
+2024-07-18 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/114104
+ * g++.dg/warn/Wunused-20.C: New test.
+
+2024-07-18 Patrick Palka <ppalka@redhat.com>
+
+ * g++.dg/cpp0x/alignas18.C: Expect name lookup error for U::X.
+ * g++.dg/cpp0x/forw_enum13.C: Expect name lookup error for
+ D3::A and D4<T>::A.
+ * g++.dg/parse/access13.C: Declare A::E::V to avoid name lookup
+ failure and preserve intent of the test.
+ * g++.dg/parse/enum11.C: Expect extra errors, matching the
+ non-template case.
+ * g++.dg/template/crash123.C: Avoid name lookup failure to
+ preserve intent of the test.
+ * g++.dg/template/crash124.C: Likewise.
+ * g++.dg/template/crash7.C: Adjust expected diagnostics.
+ * g++.dg/template/dtor6.C: Declare A::~A() to avoid name lookup
+ failure and preserve intent of the test.
+ * g++.dg/template/error22.C: Adjust expected diagnostics.
+ * g++.dg/template/static30.C: Avoid name lookup failure to
+ preserve intent of the test.
+ * g++.old-deja/g++.other/decl5.C: Adjust expected diagnostics.
+ * g++.dg/template/non-dependent34.C: New test.
+
2024-07-17 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/111150
+2024-07-18 mayshao <mayshao-oc@zhaoxin.com>
+
+ PR target/104688
+ * config/x86/init.c (__libat_feat1_init): Don't clear
+ bit_AVX on ZHAOXIN CPUs.
+
+2024-07-18 Uros Bizjak <ubizjak@gmail.com>
+
+ * config/x86/init.c (__libat_feat1_init): Check the result of
+ __get_cpuid and process FEAT1_REGISTER only when __get_cpuid
+ returns success. Use __cpuid instead of nested __get_cpuid.
+
2024-06-25 Victor Do Nascimento <victor.donascimento@arm.com>
* config/linux/aarch64/atomic_16.S (libat_load_16): Add LRCPC3
+2024-07-18 Ian Lance Taylor <iant@golang.org>
+
+ * internal.h: Use __has_attribute to check for fallthrough
+ attribute.
+ * elf.c (elf_zstd_decompress): Use ATTRIBUTE_FALLTHROUGH rather
+ than a FALLTHROUGH comment.
+
+2024-07-18 Ian Lance Taylor <iant@golang.org>
+
+ * print.c (print_syminfo_callback): Add cast to avoid warning.
+
+2024-07-18 Ian Lance Taylor <iant@golang.org>
+
+ * print.c (print_syminfo_callback): New static function.
+ (print_callback): Call backtrace_syminfo if there is no function
+ or file name.
+
2024-07-18 Ian Lance Taylor <iant@golang.org>
* README: Add notes about dl_iterate_phdr.
+2024-07-18 Patrick Palka <ppalka@redhat.com>
+
+ * include/experimental/socket
+ (basic_socket_iostream::basic_socket_iostream): Fix typo.
+ * include/tr2/dynamic_bitset
+ (__dynamic_bitset_base::_M_is_proper_subset_of): Likewise.
+
2024-07-12 Alexandre Oliva <oliva@adacore.com>
* testsuite/decimal/binary-arith.cc: Require dfprt.