+2024-08-21 Andrew Pinski <quic_apinski@quicinc.com>
+
+ * builtins.cc (fold_builtin_bit_query): Don't expand double
+ `unsigned long long` typess if there is an optab entry for that
+ type.
+
+2024-08-21 Andrew Pinski <quic_apinski@quicinc.com>
+
+ PR sanitizer/115205
+ * asan.cc (asan_instrument): Call initialize_sanitizer_builtins
+ for hwasan.
+ (hwasan_finish_file): Likewise.
+
+2024-08-20 Andrew Pinski <quic_apinski@quicinc.com>
+
+ PR tree-optimization/116412
+ * gimple-match-exports.cc (gimple_extract): Return false if op0
+ was not a SSA name nor a min invariant for REALPART_EXPR/IMAGPART_EXPR/VCE
+ and BIT_FIELD_REF.
+
+2024-08-20 Andrew Pinski <quic_apinski@quicinc.com>
+
+ PR tree-optimization/116409
+ * tree-ssa-phiopt.cc (factor_out_conditional_operation): Move
+ maybe_push_res_to_seq before creating the phi node and the debug dump.
+ Return false if maybe_push_res_to_seq fails.
+
+2024-08-20 Gerald Pfeifer <gerald@pfeifer.com>
+
+ * doc/install.texi (Specific) <c6x-*-*>: Normalize reference to
+ binutils.
+
+2024-08-20 Andrew Pinski <quic_apinski@quicinc.com>
+
+ PR tree-optimization/103660
+ * match.pd (`(a ? b : 0) | (a ? 0 : c)`): New pattern.
+
+2024-08-20 Andrew Pinski <quic_apinski@quicinc.com>
+
+ PR tree-optimization/103660
+ * match.pd (`((a CMP b) ? c : 0) | ((a CMP' b) ? d : 0)`): Extend to support
+ XOR and PLUS.
+
+2024-08-20 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/116274
+ * tree-vect-slp.cc (vect_bb_slp_scalar_cost): Cost scalar loads
+ and stores as simple scalar stmts when they access a non-global,
+ not address-taken variable that doesn't have BLKmode assigned.
+
+2024-08-20 Prathamesh Kulkarni <prathameshk@nvidia.com>
+
+ * optc-save-gen.awk: New array var_target_opt. Use it to generate
+ if (!lto_stream_offload_p) check in cl_optimization_stream_out,
+ and generate a diagnostic with #error if accelerator backend uses
+ Optimization for target-specifc options in cl_optimization_stream_in.
+
2024-08-19 Andreas Schwab <schwab@linux-m68k.org>
PR target/113939
+2024-08-20 Nathaniel Shead <nathanieloshead@gmail.com>
+
+ * module.cc (module_state::write_begin): Return a boolean to
+ indicate errors rather than just doing set_error().
+ (finish_module_processing): Prevent emission of unnecessary
+ errors; only indicate module writing occurred if write_begin
+ succeeds.
+
+2024-08-20 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/110345
+ * decl.cc (grokdeclarator): Apply declarator->std_attributes
+ for cdk_array to type, rather than chaining it to returned_attrs.
+
+2024-08-20 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/110345
+ * parser.cc (cp_parser_base_specifier): Parse standard attributes
+ at the start and emit a warning if there are any non-ignored ones.
+
+2024-08-20 Franciszek Witt <franek.witt@gmail.com>
+
+ PR c++/101232
+ * parser.cc (cp_parser_postfix_expression): Commit to the
+ parse in case we know its either a cast or invalid syntax.
+ (cp_parser_braced_list): Add a heuristic to inform about
+ missing comma or operator.
+
+2024-08-20 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/101463
+ * pt.cc (type_unification_real): Directly look for undeduced
+ parameters in the default argument instead of doing a trial
+ substitution.
+
+2024-08-20 Nathaniel Shead <nathanieloshead@gmail.com>
+
+ PR c++/115020
+ * module.cc (has_definition): Only force writing definitions for
+ header_module_p.
+
+2024-08-20 Nathaniel Shead <nathanieloshead@gmail.com>
+
+ PR c++/116403
+ * pt.cc (deduction_guides_for): Use ANY_REACHABLE for lookup of
+ deduction guides.
+ * module.cc (depset::hash::add_deduction_guides): Likewise.
+ (module_state::write_cluster): No longer override deduction
+ guides as exported.
+ * name-lookup.cc (name_lookup::search_namespace_only): Ignore
+ visibility when LOOK_want::ANY_REACHABLE is specified.
+ (check_module_override): Ignore visibility when checking for
+ ambiguating deduction guides.
+ * name-lookup.h (LOOK_want): New flag 'ANY_REACHABLE'.
+
+2024-08-20 Nathaniel Shead <nathanieloshead@gmail.com>
+
+ PR c++/116382
+ * cp-tree.h (get_template_parm_object): Add check_init param.
+ * module.cc (trees_in::tree_node): Pass check_init=false when
+ building NTTPs.
+ * pt.cc (get_template_parm_object): Prevent cp_finish_decl from
+ validating the initializer when check_init=false.
+
+2024-08-20 Nathaniel Shead <nathanieloshead@gmail.com>
+
+ PR c++/116364
+ * cp-tree.h (get_mergeable_specialization_flags): Adjust
+ signature.
+ * module.cc (trees_out::decl_value): Indicate whether this is a
+ type or decl specialisation.
+ * pt.cc (get_mergeable_specialization_flags): Match against the
+ type of a non-decl specialisation.
+ (add_mergeable_specialization): Use the already calculated spec
+ instead of always adding decl to DECL_TEMPLATE_INSTANTIATIONS.
+
2024-08-19 Marek Polacek <polacek@redhat.com>
PR c++/115657
+2024-08-20 Andre Vehreschild <vehre@gcc.gnu.org>
+
+ PR fortran/84246
+ * resolve.cc (caf_possible_reallocate): Detect arrays that may
+ be reallocated by caf_send.
+ (resolve_ordinary_assign): More reliably detect assignments
+ where a rewrite to caf_send is needed.
+ * trans-expr.cc (gfc_trans_assignment_1): Remove rewrite to
+ caf_send, because this is done by resolve now.
+ * trans-intrinsic.cc (conv_caf_send): Prevent unneeded temporary
+ arrays.
+
2024-08-19 Andre Vehreschild <vehre@gcc.gnu.org>
PR fortran/46371
+2024-08-20 Pan Li <pan2.li@intel.com>
+
+ * gcc.target/riscv/sat_arith.h: Fix SAT_TRUNC typo.
+ * gcc.target/riscv/sat_u_trunc-1.c: Ditto.
+ * gcc.target/riscv/sat_u_trunc-13.c: Ditto.
+ * gcc.target/riscv/sat_u_trunc-14.c: Ditto.
+ * gcc.target/riscv/sat_u_trunc-15.c: Ditto.
+ * gcc.target/riscv/sat_u_trunc-2.c: Ditto.
+ * gcc.target/riscv/sat_u_trunc-3.c: Ditto.
+ * gcc.target/riscv/sat_u_trunc-4.c: Ditto.
+ * gcc.target/riscv/sat_u_trunc-5.c: Ditto.
+ * gcc.target/riscv/sat_u_trunc-6.c: Ditto.
+ * gcc.target/riscv/sat_u_trunc-7.c: Ditto.
+ * gcc.target/riscv/sat_u_trunc-8.c: Ditto.
+ * gcc.target/riscv/sat_u_trunc-9.c: Ditto.
+ * gcc.target/riscv/sat_u_trunc-run-1.c: Ditto.
+ * gcc.target/riscv/sat_u_trunc-run-13.c: Ditto.
+ * gcc.target/riscv/sat_u_trunc-run-14.c: Ditto.
+ * gcc.target/riscv/sat_u_trunc-run-15.c: Ditto.
+ * gcc.target/riscv/sat_u_trunc-run-2.c: Ditto.
+ * gcc.target/riscv/sat_u_trunc-run-3.c: Ditto.
+ * gcc.target/riscv/sat_u_trunc-run-4.c: Ditto.
+ * gcc.target/riscv/sat_u_trunc-run-5.c: Ditto.
+ * gcc.target/riscv/sat_u_trunc-run-6.c: Ditto.
+ * gcc.target/riscv/sat_u_trunc-run-7.c: Ditto.
+ * gcc.target/riscv/sat_u_trunc-run-8.c: Ditto.
+ * gcc.target/riscv/sat_u_trunc-run-9.c: Ditto.
+
+2024-08-20 Nathaniel Shead <nathanieloshead@gmail.com>
+
+ * g++.dg/modules/export-1.C: Remove message.
+ * g++.dg/modules/internal-1.C: Remove message.
+ * g++.dg/modules/ambig-2_b.C: Remove unnecessary pruning.
+ * g++.dg/modules/atom-decl-2.C: Likewise.
+ * g++.dg/modules/atom-pragma-3.C: Likewise.
+ * g++.dg/modules/atom-preamble-2_f.C: Likewise.
+ * g++.dg/modules/block-decl-2.C: Likewise.
+ * g++.dg/modules/dir-only-4.C: Likewise.
+ * g++.dg/modules/enum-12.C: Likewise.
+ * g++.dg/modules/exp-xlate-1_b.C: Likewise.
+ * g++.dg/modules/export-3.C: Likewise.
+ * g++.dg/modules/friend-3.C: Likewise.
+ * g++.dg/modules/friend-5_b.C: Likewise.
+ * g++.dg/modules/inc-xlate-1_e.C: Likewise.
+ * g++.dg/modules/linkage-2.C: Likewise.
+ * g++.dg/modules/local-extern-1.C: Likewise.
+ * g++.dg/modules/main-1.C: Likewise.
+ * g++.dg/modules/map-2.C: Likewise.
+ * g++.dg/modules/mod-decl-1.C: Likewise.
+ * g++.dg/modules/mod-decl-3.C: Likewise.
+ * g++.dg/modules/pr99174.H: Likewise.
+ * g++.dg/modules/pr99468.H: Likewise.
+ * g++.dg/modules/token-1.C: Likewise.
+ * g++.dg/modules/token-3.C: Likewise.
+ * g++.dg/modules/token-4.C: Likewise.
+ * g++.dg/modules/token-5.C: Likewise.
+ * g++.dg/modules/using-10.C: Likewise.
+ * g++.dg/modules/using-12.C: Likewise.
+ * g++.dg/modules/using-3.C: Likewise.
+ * g++.dg/modules/using-9.C: Likewise.
+ * g++.dg/modules/using-enum-2.C: Likewise.
+ * g++.dg/modules/permissive-error-1.C: New test.
+ * g++.dg/modules/permissive-error-2.C: New test.
+
+2024-08-20 Andrew Pinski <quic_apinski@quicinc.com>
+
+ PR tree-optimization/116412
+ * gcc.dg/torture/pr116412-1.c: New test.
+
+2024-08-20 Andrew Pinski <quic_apinski@quicinc.com>
+
+ PR tree-optimization/116409
+ * gcc.dg/torture/pr116409-1.c: New test.
+ * gcc.dg/torture/pr116409-2.c: New test.
+
+2024-08-20 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/110345
+ * g++.dg/cpp0x/gen-attrs-82.C: New test.
+ * g++.dg/gomp/attrs-3.C (foo): Expect different diagnostics for
+ omp::directive attribute after closing square bracket of an automatic
+ declaration and add a test with the attribute after array's
+ declarator-id.
+
+2024-08-20 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/110345
+ * g++.dg/cpp0x/gen-attrs-83.C: New test.
+
+2024-08-20 Edwin Lu <ewlu@rivosinc.com>
+
+ * gcc.dg/signbit-5.c: Remove riscv xfail exception
+
+2024-08-20 Franciszek Witt <franek.witt@gmail.com>
+
+ PR c++/101232
+ * g++.dg/cpp0x/initlist-err1.C: New test.
+ * g++.dg/cpp0x/initlist-err2.C: New test.
+ * g++.dg/cpp0x/initlist-err3.C: New test.
+
+2024-08-20 Andrew Pinski <quic_apinski@quicinc.com>
+
+ PR tree-optimization/103660
+ * g++.dg/tree-ssa/pr103660-4.C: New test.
+ * gcc.dg/tree-ssa/pr103660-4.c: New test.
+
+2024-08-20 Andrew Pinski <quic_apinski@quicinc.com>
+
+ PR tree-optimization/103660
+ * g++.dg/tree-ssa/pr103660-2.C: New test.
+ * g++.dg/tree-ssa/pr103660-3.C: New test.
+ * gcc.dg/tree-ssa/pr103660-2.c: New test.
+ * gcc.dg/tree-ssa/pr103660-3.c: New test.
+
+2024-08-20 Andrew Pinski <quic_apinski@quicinc.com>
+
+ PR tree-optimization/103660
+ * g++.dg/tree-ssa/pr103660-0.C: New test.
+ * g++.dg/tree-ssa/pr103660-1.C: New test.
+ * gcc.dg/tree-ssa/pr103660-0.c: New test.
+ * gcc.dg/tree-ssa/pr103660-1.c: New test.
+
+2024-08-20 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/101463
+ * g++.dg/cpp1z/nontype6.C: New test.
+ * g++.dg/cpp1z/nontype6a.C: New test.
+
+2024-08-20 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/116274
+ * gcc.target/i386/pr116274-2.c: New testcase.
+
+2024-08-20 Andre Vehreschild <vehre@gcc.gnu.org>
+
+ PR fortran/84246
+ * gfortran.dg/coarray_allocate_7.f08: Adapt to array being
+ allocate by caf_send.
+
+2024-08-20 Nathaniel Shead <nathanieloshead@gmail.com>
+
+ PR c++/115020
+ * g++.dg/modules/pr115020_a.C: New test.
+ * g++.dg/modules/pr115020_b.C: New test.
+
+2024-08-20 Nathaniel Shead <nathanieloshead@gmail.com>
+
+ PR c++/116403
+ * g++.dg/modules/dguide-4_a.C: New test.
+ * g++.dg/modules/dguide-4_b.C: New test.
+ * g++.dg/modules/dguide-4_c.C: New test.
+
+2024-08-20 Nathaniel Shead <nathanieloshead@gmail.com>
+
+ PR c++/116382
+ * g++.dg/modules/tpl-nttp-1_a.C: New test.
+ * g++.dg/modules/tpl-nttp-1_b.C: New test.
+
+2024-08-20 Nathaniel Shead <nathanieloshead@gmail.com>
+
+ PR c++/116364
+ * g++.dg/modules/tpl-spec-9_a.C: New test.
+ * g++.dg/modules/tpl-spec-9_b.C: New test.
+ * g++.dg/modules/tpl-spec-9_c.C: New test.
+
2024-08-19 Marek Polacek <polacek@redhat.com>
PR c++/115657
+2024-08-20 Jakub Jelinek <jakub@redhat.com>
+
+ * init.cc (struct lang_flags): Change all members from char
+ typed fields to unsigned bit-fields.
+ (lang_defaults): Change formatting of the initializer so that it
+ fits to 68 columns rather than 147.
+
+2024-08-20 Alexander Monakov <amonakov@ispras.ru>
+
+ * config.in: Regenerate.
+ * configure: Regenerate.
+ * configure.ac: Check for SSSE3 instead of SSE4.2.
+ * files.cc (read_file_guts): Bump padding to 64 if HAVE_SSSE3.
+ * lex.cc (search_line_acc_char): Mark inline, not "unused".
+ (search_line_sse2): Mark inline.
+ (search_line_sse42): Replace with...
+ (search_line_ssse3): ... this new function. Adjust the use...
+ (init_vectorized_lexer): ... here. Simplify.
+
2024-08-06 Andi Kleen <ak@gcc.gnu.org>
* lex.cc (search_line_mmx): Remove function.
+2024-08-20 Andre Vehreschild <vehre@gcc.gnu.org>
+
+ PR fortran/84246
+ * caf/single.c (send_by_ref): Created array's lbound is now 1
+ and the offset set correctly.
+
2024-08-18 Sergey Fedorov <vital.had@gmail.com>
* config/fpu-macppc.h (new file): initial support for powerpc-darwin.
+2024-08-20 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/std/optional: Remove redundant redeclaration.
+
+2024-08-20 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/std/text_encoding: Fix indentation.
+
+2024-08-20 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/115744
+ * testsuite/18_support/headers/new/synopsis.cc [C++26]: Add
+ constexpr to placement operator new and operator new[].
+
2024-08-18 Gerald Pfeifer <gerald@pfeifer.com>
* doc/xml/manual/prerequisites.xml: Remove note from the