diff --git a/ChangeLog b/ChangeLog index c80b73ad60f..e3afa99b142 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2024-10-25 Andrew Pinski + + PR bootstrap/105474 + * configure: Regenerate. + * configure.ac: Error out if libstdc++ is not enabled + with bootstrapping. + 2024-10-23 Jonathan Wakely * .forgejo/PULL_REQUEST_TEMPLATE.md: New file. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2314c3a3d06..db5fbed932e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,1060 @@ +2024-10-25 Andrew Pinski + + PR rtl-optimization/58195 + * simplify-rtx.cc (simplify_context::simplify_ternary_operation): Handle + `a != 0 ? -a : 0` and `a == 0 ? 0 : -a`. + +2024-10-25 Andrew Pinski + + * config/aarch64/driver-aarch64.cc (host_detect_local_cpu): Support + 3 cores and 3 variants. If there is one core but multiple variant, + then treat the variant as being all. + +2024-10-25 Wilco Dijkstra + + PR target/117292 + * config/aarch64/aarch64-simd.md (xor3): Use + 'De' constraint. + * config/aarch64/constraints.md (De): Add new constraint. + +2024-10-25 Andrew Carlotti + + * config/aarch64/aarch64-builtins.cc (MODE_d_mf8): New. + (MODE_q_mf8): New. + (QUAL_mf8): New. + (VREINTERPRET_BUILTINS1): Add mf8 entry. + (VREINTERPRET_BUILTINS): Ditto. + (VREINTERPRETQ_BUILTINS1): Ditto. + (VREINTERPRETQ_BUILTINS): Ditto. + (aarch64_lookup_simd_type_in_table): Match modal_float bit + +2024-10-25 Andrew Carlotti + + * config/aarch64/aarch64-builtins.cc + (aarch64_init_simd_builtin_types): Initialise FP8 simd types. + * config/aarch64/aarch64-builtins.h + (enum aarch64_type_qualifiers): Add qualifier_modal_float bit. + * config/aarch64/aarch64-simd-builtin-types.def: + Add Mfloat8x{8|16}_t types. + * config/aarch64/arm_neon.h: Add mfloat8x{8|16}_t typedefs. + +2024-10-25 Jennifer Schmitz + + * match.pd: Fold pow (1.0/x, y) -> pow (x, -y) and + pow (0.0, x) -> 0.0. + +2024-10-25 Pan Li + + * match.pd: Remove unsigned branch form 3 for SAT_ADD, and + add simplify to branchless instead. + +2024-10-25 Jakub Jelinek + + PR middle-end/117249 + * tree-ssa-structalias.cc (insert_vi_for_tree): Move put calls out of + gcc_assert. + * lto-cgraph.cc (lto_symtab_encoder_delete_node): Likewise. + * gimple-ssa-strength-reduction.cc (get_alternative_base, + add_cand_for_stmt): Likewise. + * tree-eh.cc (add_stmt_to_eh_lp_fn): Likewise. + * except.cc (duplicate_eh_regions_1): Likewise. + * tree-ssa-reassoc.cc (insert_operand_rank): Likewise. + * config/nvptx/nvptx.cc (nvptx_expand_call): Use == rather than = in + gcc_assert. + * opts-common.cc (jobserver_info::disconnect): Call close outside of + gcc_assert and only check result in it. + (jobserver_info::return_token): Call write outside of gcc_assert and + only check result in it. + * genautomata.cc (output_default_latencies): Move j++ side-effect + outside of gcc_assert. + * tree-ssa-loop-ivopts.cc (get_alias_ptr_type_for_ptr_address): Use + == rather than = in gcc_assert. + * cgraph.cc (symbol_table::create_edge): Move ++edges_max_uid + side-effect outside of gcc_assert. + +2024-10-25 Richard Biener + + * optabs-tree.h (expand_vec_cond_expr_p): Default the + comparison code to ERROR_MARK. + * match.pd: Remove unneded expand_vec_cond_expr_p args. + * tree-vect-generic.cc (expand_vector_condition): Likewise. + * tree-vect-loop.cc (vect_reduction_update_partial_vector_usage): + Likewise. + * tree-vect-stmts.cc (vectorizable_simd_clone_call): Likewise. + (scan_store_can_perm_p): Likewise. + (vectorizable_condition): Likewise. + +2024-10-25 Richard Biener + + * genmatch.cc (commutative_op): Add paramter to indicate whether + all compares should be considered commutative. Handle + hypot, add_overflow and mul_overflow. + (parser::parse_expr): Simplify 'c' handling by using + commutative_op and error out when the operation is not. + * match.pd ((minmax:c @0 NaN@1) -> @0): Use :C, we know + what we are doing. + +2024-10-25 Richard Biener + + PR tree-optimization/117277 + * tree-vect-loop.cc (vect_transform_loop): Remove CLOBBERs + and prefetches before doing any code generation. + +2024-10-25 Richard Biener + + PR tree-optimization/116575 + * tree-vect-slp.cc (vect_get_and_check_slp_defs): Handle + gaps, aka NULL scalar stmt. + (vect_build_slp_tree_2): Allow gaps in the middle of a + grouped mask load. When the mask of a grouped mask load + is uniform do single-lane discovery for the mask and + insert a splat VEC_PERM_EXPR node. + (vect_optimize_slp_pass::decide_masked_load_lanes): New + function. + (vect_optimize_slp_pass::run): Call it. + +2024-10-25 Richard Biener + + * tree-vect-stmts.cc (vect_check_scalar_mask): Only check + the scalar type for constant or extern defs. + +2024-10-25 Jakub Jelinek + + * lra-assigns.cc: Remove trailing whitespace. + * symtab.cc: Likewise. + * stmt.cc: Likewise. + * cgraphbuild.cc: Likewise. + * cfgcleanup.cc: Likewise. + * loop-init.cc: Likewise. + * df-problems.cc: Likewise. + * diagnostic-macro-unwinding.cc: Likewise. + * langhooks.h: Likewise. + * except.cc: Likewise. + * tree-vect-loop.cc: Likewise. + * coverage.cc: Likewise. + * hash-table.cc: Likewise. + * ggc-page.cc: Likewise. + * gimple-ssa-strength-reduction.cc: Likewise. + * tree-parloops.cc: Likewise. + * internal-fn.cc: Likewise. + * ipa-split.cc: Likewise. + * calls.cc: Likewise. + * reorg.cc: Likewise. + * sbitmap.h: Likewise. + * omp-offload.cc: Likewise. + * cfgrtl.cc: Likewise. + * reginfo.cc: Likewise. + * gengtype.h: Likewise. + * omp-general.h: Likewise. + * ipa-comdats.cc: Likewise. + * gimple-range-edge.h: Likewise. + * tree-ssa-structalias.cc: Likewise. + * target.def: Likewise. + * basic-block.h: Likewise. + * graphite-isl-ast-to-gimple.cc: Likewise. + * auto-profile.cc: Likewise. + * optabs.cc: Likewise. + * gengtype-lex.l: Likewise. + * optabs.def: Likewise. + * ira-build.cc: Likewise. + * ira.cc: Likewise. + * function.h: Likewise. + * tree-ssa-propagate.cc: Likewise. + * gcov-io.cc: Likewise. + * builtin-types.def: Likewise. + * ddg.cc: Likewise. + * lra-spills.cc: Likewise. + * cfg.cc: Likewise. + * bitmap.cc: Likewise. + * gimple-range-gori.h: Likewise. + * tree-ssa-loop-im.cc: Likewise. + * cfghooks.h: Likewise. + * genmatch.cc: Likewise. + * explow.cc: Likewise. + * lto-streamer-in.cc: Likewise. + * graphite-scop-detection.cc: Likewise. + * ipa-prop.cc: Likewise. + * gcc.cc: Likewise. + * vec.h: Likewise. + * cfgexpand.cc: Likewise. + * config/alpha/vms.h: Likewise. + * config/alpha/alpha.cc: Likewise. + * config/alpha/driver-alpha.cc: Likewise. + * config/alpha/elf.h: Likewise. + * config/iq2000/iq2000.h: Likewise. + * config/iq2000/iq2000.cc: Likewise. + * config/pa/pa-64.h: Likewise. + * config/pa/som.h: Likewise. + * config/pa/pa.cc: Likewise. + * config/pa/pa.h: Likewise. + * config/pa/pa32-regs.h: Likewise. + * config/c6x/c6x.cc: Likewise. + * config/openbsd-stdint.h: Likewise. + * config/elfos.h: Likewise. + * config/lm32/lm32.cc: Likewise. + * config/lm32/lm32.h: Likewise. + * config/lm32/lm32-protos.h: Likewise. + * config/darwin-c.cc: Likewise. + * config/rx/rx.cc: Likewise. + * config/host-darwin.h: Likewise. + * config/netbsd.h: Likewise. + * config/ia64/ia64.cc: Likewise. + * config/ia64/freebsd.h: Likewise. + * config/avr/avr-c.cc: Likewise. + * config/avr/avr.cc: Likewise. + * config/avr/avr-arch.h: Likewise. + * config/avr/avr.h: Likewise. + * config/avr/stdfix.h: Likewise. + * config/avr/gen-avr-mmcu-specs.cc: Likewise. + * config/avr/avr-log.cc: Likewise. + * config/avr/elf.h: Likewise. + * config/avr/gen-avr-mmcu-texi.cc: Likewise. + * config/avr/avr-devices.cc: Likewise. + * config/nvptx/nvptx.cc: Likewise. + * config/vx-common.h: Likewise. + * config/sol2.cc: Likewise. + * config/rl78/rl78.cc: Likewise. + * config/cris/cris.cc: Likewise. + * config/arm/symbian.h: Likewise. + * config/arm/unknown-elf.h: Likewise. + * config/arm/linux-eabi.h: Likewise. + * config/arm/arm.cc: Likewise. + * config/arm/arm-mve-builtins.h: Likewise. + * config/arm/bpabi.h: Likewise. + * config/arm/vxworks.h: Likewise. + * config/arm/arm.h: Likewise. + * config/arm/aout.h: Likewise. + * config/arm/elf.h: Likewise. + * config/host-linux.cc: Likewise. + * config/sh/sh_treg_combine.cc: Likewise. + * config/sh/vxworks.h: Likewise. + * config/sh/elf.h: Likewise. + * config/sh/netbsd-elf.h: Likewise. + * config/sh/sh.cc: Likewise. + * config/sh/embed-elf.h: Likewise. + * config/sh/sh.h: Likewise. + * config/darwin-driver.cc: Likewise. + * config/m32c/m32c.cc: Likewise. + * config/frv/frv.cc: Likewise. + * config/openbsd.h: Likewise. + * config/aarch64/aarch64-protos.h: Likewise. + * config/aarch64/aarch64-builtins.cc: Likewise. + * config/aarch64/aarch64-cost-tables.h: Likewise. + * config/aarch64/aarch64.cc: Likewise. + * config/bfin/bfin.cc: Likewise. + * config/bfin/bfin.h: Likewise. + * config/bfin/bfin-protos.h: Likewise. + * config/i386/gmm_malloc.h: Likewise. + * config/i386/djgpp.h: Likewise. + * config/i386/sol2.h: Likewise. + * config/i386/stringop.def: Likewise. + * config/i386/i386-features.cc: Likewise. + * config/i386/openbsdelf.h: Likewise. + * config/i386/cpuid.h: Likewise. + * config/i386/i386.h: Likewise. + * config/i386/smmintrin.h: Likewise. + * config/i386/avx10_2-512convertintrin.h: Likewise. + * config/i386/i386-options.cc: Likewise. + * config/i386/i386-opts.h: Likewise. + * config/i386/i386-expand.cc: Likewise. + * config/i386/avx512dqintrin.h: Likewise. + * config/i386/wmmintrin.h: Likewise. + * config/i386/gnu-user.h: Likewise. + * config/i386/host-mingw32.cc: Likewise. + * config/i386/avx10_2bf16intrin.h: Likewise. + * config/i386/cygwin.h: Likewise. + * config/i386/driver-i386.cc: Likewise. + * config/i386/biarch64.h: Likewise. + * config/i386/host-cygwin.cc: Likewise. + * config/i386/cygming.h: Likewise. + * config/i386/i386-builtins.cc: Likewise. + * config/i386/avx10_2convertintrin.h: Likewise. + * config/i386/i386.cc: Likewise. + * config/i386/gas.h: Likewise. + * config/i386/freebsd.h: Likewise. + * config/mingw/winnt-cxx.cc: Likewise. + * config/mingw/winnt.cc: Likewise. + * config/h8300/h8300.cc: Likewise. + * config/host-solaris.cc: Likewise. + * config/m32r/m32r.h: Likewise. + * config/m32r/m32r.cc: Likewise. + * config/darwin.h: Likewise. + * config/sparc/linux64.h: Likewise. + * config/sparc/sparc-protos.h: Likewise. + * config/sparc/sysv4.h: Likewise. + * config/sparc/sparc.h: Likewise. + * config/sparc/linux.h: Likewise. + * config/sparc/freebsd.h: Likewise. + * config/sparc/sparc.cc: Likewise. + * config/gcn/gcn-run.cc: Likewise. + * config/gcn/gcn.cc: Likewise. + * config/gcn/gcn-tree.cc: Likewise. + * config/kopensolaris-gnu.h: Likewise. + * config/nios2/nios2.h: Likewise. + * config/nios2/elf.h: Likewise. + * config/nios2/nios2.cc: Likewise. + * config/host-netbsd.cc: Likewise. + * config/rtems.h: Likewise. + * config/pdp11/pdp11.cc: Likewise. + * config/pdp11/pdp11.h: Likewise. + * config/mn10300/mn10300.cc: Likewise. + * config/mn10300/linux.h: Likewise. + * config/moxie/moxie.h: Likewise. + * config/moxie/moxie.cc: Likewise. + * config/rs6000/aix71.h: Likewise. + * config/rs6000/vec_types.h: Likewise. + * config/rs6000/xcoff.h: Likewise. + * config/rs6000/rs6000.cc: Likewise. + * config/rs6000/rs6000-internal.h: Likewise. + * config/rs6000/rs6000-p8swap.cc: Likewise. + * config/rs6000/rs6000-c.cc: Likewise. + * config/rs6000/aix.h: Likewise. + * config/rs6000/rs6000-logue.cc: Likewise. + * config/rs6000/rs6000-string.cc: Likewise. + * config/rs6000/rs6000-call.cc: Likewise. + * config/rs6000/ppu_intrinsics.h: Likewise. + * config/rs6000/altivec.h: Likewise. + * config/rs6000/darwin.h: Likewise. + * config/rs6000/host-darwin.cc: Likewise. + * config/rs6000/freebsd64.h: Likewise. + * config/rs6000/spu2vmx.h: Likewise. + * config/rs6000/linux.h: Likewise. + * config/rs6000/si2vmx.h: Likewise. + * config/rs6000/driver-rs6000.cc: Likewise. + * config/rs6000/freebsd.h: Likewise. + * config/vxworksae.h: Likewise. + * config/mips/frame-header-opt.cc: Likewise. + * config/mips/mips.h: Likewise. + * config/mips/mips.cc: Likewise. + * config/mips/sde.h: Likewise. + * config/darwin-protos.h: Likewise. + * config/mcore/mcore-elf.h: Likewise. + * config/mcore/mcore.h: Likewise. + * config/mcore/mcore.cc: Likewise. + * config/epiphany/epiphany.cc: Likewise. + * config/fr30/fr30.h: Likewise. + * config/fr30/fr30.cc: Likewise. + * config/riscv/riscv-vector-builtins-shapes.cc: Likewise. + * config/riscv/riscv-vector-builtins-bases.cc: Likewise. + * config/visium/visium.h: Likewise. + * config/mmix/mmix.cc: Likewise. + * config/v850/v850.cc: Likewise. + * config/v850/v850-c.cc: Likewise. + * config/v850/v850.h: Likewise. + * config/stormy16/stormy16.cc: Likewise. + * config/stormy16/stormy16-protos.h: Likewise. + * config/stormy16/stormy16.h: Likewise. + * config/arc/arc.cc: Likewise. + * config/vxworks.cc: Likewise. + * config/microblaze/microblaze-c.cc: Likewise. + * config/microblaze/microblaze-protos.h: Likewise. + * config/microblaze/microblaze.h: Likewise. + * config/microblaze/microblaze.cc: Likewise. + * config/freebsd-spec.h: Likewise. + * config/m68k/m68kelf.h: Likewise. + * config/m68k/m68k.cc: Likewise. + * config/m68k/netbsd-elf.h: Likewise. + * config/m68k/linux.h: Likewise. + * config/freebsd.h: Likewise. + * config/host-openbsd.cc: Likewise. + * regcprop.cc: Likewise. + * dumpfile.cc: Likewise. + * combine.cc: Likewise. + * tree-ssa-forwprop.cc: Likewise. + * ipa-profile.cc: Likewise. + * hw-doloop.cc: Likewise. + * opts.cc: Likewise. + * gcc-ar.cc: Likewise. + * tree-cfg.cc: Likewise. + * incpath.cc: Likewise. + * tree-ssa-sccvn.cc: Likewise. + * function.cc: Likewise. + * genattrtab.cc: Likewise. + * rtl.def: Likewise. + * genchecksum.cc: Likewise. + * profile.cc: Likewise. + * df-core.cc: Likewise. + * tree-pretty-print.cc: Likewise. + * tree.h: Likewise. + * plugin.cc: Likewise. + * tree-ssa-loop-ch.cc: Likewise. + * emit-rtl.cc: Likewise. + * haifa-sched.cc: Likewise. + * gimple-range-edge.cc: Likewise. + * range-op.cc: Likewise. + * tree-ssa-ccp.cc: Likewise. + * dwarf2cfi.cc: Likewise. + * recog.cc: Likewise. + * vtable-verify.cc: Likewise. + * system.h: Likewise. + * regrename.cc: Likewise. + * tree-ssa-dom.cc: Likewise. + * loop-unroll.cc: Likewise. + * lra-constraints.cc: Likewise. + * pretty-print.cc: Likewise. + * ifcvt.cc: Likewise. + * ipa.cc: Likewise. + * alloc-pool.h: Likewise. + * collect2.cc: Likewise. + * pointer-query.cc: Likewise. + * cfgloop.cc: Likewise. + * toplev.cc: Likewise. + * sese.cc: Likewise. + * gengtype.cc: Likewise. + * gimplify-me.cc: Likewise. + * double-int.cc: Likewise. + * bb-reorder.cc: Likewise. + * dwarf2out.cc: Likewise. + * tree-ssa-loop-ivcanon.cc: Likewise. + * tree-ssa-reassoc.cc: Likewise. + * cgraph.cc: Likewise. + * sel-sched.cc: Likewise. + * attribs.cc: Likewise. + * expr.cc: Likewise. + * tree-ssa-scopedtables.h: Likewise. + * gimple-range-cache.cc: Likewise. + * ipa-pure-const.cc: Likewise. + * tree-inline.cc: Likewise. + * genhooks.cc: Likewise. + * gimple-range-phi.h: Likewise. + * shrink-wrap.cc: Likewise. + * tree.cc: Likewise. + * gimple.cc: Likewise. + * backend.h: Likewise. + * opts-common.cc: Likewise. + * cfg-flags.def: Likewise. + * gcse-common.cc: Likewise. + * tree-ssa-scopedtables.cc: Likewise. + * ccmp.cc: Likewise. + * builtins.def: Likewise. + * builtin-attrs.def: Likewise. + * postreload.cc: Likewise. + * sched-deps.cc: Likewise. + * ipa-inline-transform.cc: Likewise. + * tree-vect-generic.cc: Likewise. + * ipa-polymorphic-call.cc: Likewise. + * builtins.cc: Likewise. + * sel-sched-ir.cc: Likewise. + * trans-mem.cc: Likewise. + * ipa-visibility.cc: Likewise. + * cgraph.h: Likewise. + * tree-ssa-phiopt.cc: Likewise. + * genopinit.cc: Likewise. + * ipa-inline.cc: Likewise. + * omp-low.cc: Likewise. + * ipa-utils.cc: Likewise. + * tree-ssa-math-opts.cc: Likewise. + * tree-ssa-ifcombine.cc: Likewise. + * gimple-range.cc: Likewise. + * ipa-fnsummary.cc: Likewise. + * ira-color.cc: Likewise. + * value-prof.cc: Likewise. + * varasm.cc: Likewise. + * ipa-icf.cc: Likewise. + * ira-emit.cc: Likewise. + * lto-streamer.h: Likewise. + * lto-wrapper.cc: Likewise. + * regs.h: Likewise. + * gengtype-parse.cc: Likewise. + * alias.cc: Likewise. + * lto-streamer.cc: Likewise. + * real.h: Likewise. + * wide-int.h: Likewise. + * targhooks.cc: Likewise. + * gimple-ssa-warn-access.cc: Likewise. + * real.cc: Likewise. + * ipa-reference.cc: Likewise. + * bitmap.h: Likewise. + * ginclude/float.h: Likewise. + * ginclude/stddef.h: Likewise. + * ginclude/stdarg.h: Likewise. + * ginclude/stdatomic.h: Likewise. + * optabs.h: Likewise. + * sel-sched-ir.h: Likewise. + * convert.cc: Likewise. + * cgraphunit.cc: Likewise. + * lra-remat.cc: Likewise. + * tree-if-conv.cc: Likewise. + * gcov-dump.cc: Likewise. + * tree-predcom.cc: Likewise. + * dominance.cc: Likewise. + * gimple-range-cache.h: Likewise. + * ipa-devirt.cc: Likewise. + * rtl.h: Likewise. + * ubsan.cc: Likewise. + * tree-ssa.cc: Likewise. + * ssa.h: Likewise. + * cse.cc: Likewise. + * jump.cc: Likewise. + * hwint.h: Likewise. + * caller-save.cc: Likewise. + * coretypes.h: Likewise. + * ipa-fnsummary.h: Likewise. + * tree-ssa-strlen.cc: Likewise. + * modulo-sched.cc: Likewise. + * cgraphclones.cc: Likewise. + * lto-cgraph.cc: Likewise. + * hw-doloop.h: Likewise. + * data-streamer.h: Likewise. + * compare-elim.cc: Likewise. + * profile-count.h: Likewise. + * tree-vect-loop-manip.cc: Likewise. + * ree.cc: Likewise. + * reload.cc: Likewise. + * tree-ssa-loop-split.cc: Likewise. + * tree-into-ssa.cc: Likewise. + * gcse.cc: Likewise. + * cfgloopmanip.cc: Likewise. + * df.h: Likewise. + * fold-const.cc: Likewise. + * wide-int.cc: Likewise. + * gengtype-state.cc: Likewise. + * sanitizer.def: Likewise. + * tree-ssa-sink.cc: Likewise. + * target-hooks-macros.h: Likewise. + * tree-ssa-pre.cc: Likewise. + * gimple-pretty-print.cc: Likewise. + * ipa-utils.h: Likewise. + * tree-outof-ssa.cc: Likewise. + * tree-ssa-coalesce.cc: Likewise. + * gimple-match.h: Likewise. + * tree-ssa-loop-niter.cc: Likewise. + * tree-loop-distribution.cc: Likewise. + * tree-emutls.cc: Likewise. + * tree-eh.cc: Likewise. + * varpool.cc: Likewise. + * ssa-iterators.h: Likewise. + * asan.cc: Likewise. + * reload1.cc: Likewise. + * cfgloopanal.cc: Likewise. + * tree-vectorizer.cc: Likewise. + * simplify-rtx.cc: Likewise. + * opts-global.cc: Likewise. + * gimple-ssa-store-merging.cc: Likewise. + * expmed.cc: Likewise. + * tree-ssa-loop-prefetch.cc: Likewise. + * tree-ssa-dse.h: Likewise. + * tree-vect-stmts.cc: Likewise. + * gimple-fold.cc: Likewise. + * lra-coalesce.cc: Likewise. + * data-streamer-out.cc: Likewise. + * diagnostic.cc: Likewise. + * tree-ssa-alias.cc: Likewise. + * tree-vect-patterns.cc: Likewise. + * common/common-target.def: Likewise. + * common/config/rx/rx-common.cc: Likewise. + * common/config/msp430/msp430-common.cc: Likewise. + * common/config/avr/avr-common.cc: Likewise. + * common/config/i386/i386-common.cc: Likewise. + * common/config/pdp11/pdp11-common.cc: Likewise. + * common/config/rs6000/rs6000-common.cc: Likewise. + * common/config/mcore/mcore-common.cc: Likewise. + * graphite.cc: Likewise. + * gimple-low.cc: Likewise. + * genmodes.cc: Likewise. + * gimple-loop-jam.cc: Likewise. + * lto-streamer-out.cc: Likewise. + * predict.cc: Likewise. + * omp-expand.cc: Likewise. + * gimple-array-bounds.cc: Likewise. + * predict.def: Likewise. + * opts.h: Likewise. + * tree-stdarg.cc: Likewise. + * gimplify.cc: Likewise. + * ira-lives.cc: Likewise. + * loop-doloop.cc: Likewise. + * lra.cc: Likewise. + * gimple-iterator.h: Likewise. + * tree-sra.cc: Likewise. + +2024-10-25 Jennifer Schmitz + + * config/aarch64/aarch64-sve-builtins-sve2.cc + (svaba_impl::fold): Fold svaba to svabd if op1 is all zeros. + +2024-10-24 Nathaniel Shead + + * tree.h (TYPE_WARN_IF_NOT_ALIGN_RAW): New accessor. + (TYPE_WARN_IF_NOT_ALIGN): Use it. + (SET_TYPE_WARN_IF_NOT_ALIGN): Likewise. + +2024-10-24 Georg-Johann Lay + + PR target/116953 + * config/avr/avr.cc (avr_out_sbxx_branch): Revert previous fix + for PR116953 (r15-4078). Run extract_constrain_insn_cached + on the current insn after calling jump_over_one_insn_p. + +2024-10-24 David Malcolm + + PR other/116613 + * diagnostic-format-json.cc (make_json_for_path): Add "ref_pp" + param and use when obtaining event descriptions. + (json_output_format::on_report_diagnostic): Pass this format's + printer as the above. + * diagnostic-format-sarif.cc + (sarif_builder::make_location_object): Clone this format's printer + and use it to obtain the text of the message. + * diagnostic-path.cc: Include "pretty-print-markup.h". + (diagnostic_event::get_desc): New. + (path_label::get_text): Update for changes to diagnostic_event. + (event_range::print): Likewise. + (class element_event_desc): New. + (diagnostic_text_output_format::print_path): Update for changes to + diagnostic_event. + * diagnostic-path.h (diagnostic_event::get_desc): Replace with... + (diagnostic_event::print_desc): ...this. + (diagnostic_event::get_desc): Add this back for debugging, without + the bool param. + * pretty-print.cc (pp_printf_n): New. + * pretty-print.h (pp_printf_n): New decl. + * selftest-diagnostic-path.h (test_diagnostic_event::get_desc): + Convert to... + (test_diagnostic_event::print_desc): ...this. + * simple-diagnostic-path.cc (simple_diagnostic_event::print_desc): + New. + (selftest::test_intraprocedural_path): Use debug form of get_desc. + * simple-diagnostic-path.h (simple_diagnostic_event::get_desc): + Convert to... + (simple_diagnostic_event::print_desc): ...this, moving + implementation to test_diagnostic_event. + +2024-10-24 Thomas Schwinge + + PR other/116613 + * config/gcn/mkoffload.cc: Add '#define INCLUDE_MEMORY'. + +2024-10-24 David Malcolm + Gaius Mulley + + PR other/116613 + * asan.cc: Add #define INCLUDE_MEMORY. + * attribs.cc: Likewise. + (attr_access::array_as_string): Use + diagnostic_context::clone_printer and use unique_ptr. + * auto-profile.cc: Add #define INCLUDE_MEMORY. + * calls.cc: Likewise. + * cfganal.cc: Likewise. + * cfgexpand.cc: Likewise. + * cfghooks.cc: Likewise. + * cfgloop.cc: Likewise. + * cgraph.cc: Likewise. + * cgraphclones.cc: Likewise. + * cgraphunit.cc: Likewise. + * collect-utils.cc: Likewise. + * collect2.cc: Likewise. + * common/config/aarch64/aarch64-common.cc: Likewise. + * common/config/arm/arm-common.cc: Likewise. + * common/config/avr/avr-common.cc: Likewise. + * config/aarch64/aarch64-cc-fusion.cc: Likewise. + * config/aarch64/aarch64-early-ra.cc: Likewise. + * config/aarch64/aarch64-sve-builtins.cc: Likewise. + * config/arc/arc.cc: Likewise. + * config/arm/aarch-common.cc: Likewise. + * config/arm/arm-mve-builtins.cc: Likewise. + * config/avr/avr-devices.cc: Likewise. + * config/avr/driver-avr.cc: Likewise. + * config/bpf/bpf.cc: Likewise. + * config/bpf/btfext-out.cc: Likewise. + * config/bpf/core-builtins.cc: Likewise. + * config/darwin.cc: Likewise. + * config/i386/driver-i386.cc: Likewise. + * config/i386/i386-builtins.cc: Likewise. + * config/i386/i386-expand.cc: Likewise. + * config/i386/i386-features.cc: Likewise. + * config/i386/i386-options.cc: Likewise. + * config/loongarch/loongarch-builtins.cc: Likewise. + * config/mingw/winnt-cxx.cc: Likewise. + * config/mingw/winnt.cc: Likewise. + * config/mips/mips.cc: Likewise. + * config/msp430/driver-msp430.cc: Likewise. + * config/nvptx/mkoffload.cc: Likewise. + * config/nvptx/nvptx.cc: Likewise. + * config/riscv/riscv-avlprop.cc: Likewise. + * config/riscv/riscv-vector-builtins.cc: Likewise. + * config/riscv/riscv-vsetvl.cc: Likewise. + * config/rs6000/driver-rs6000.cc: Likewise. + * config/rs6000/host-darwin.cc: Likewise. + * config/rs6000/rs6000-c.cc: Likewise. + * config/s390/s390-c.cc: Likewise. + * config/s390/s390.cc: Likewise. + * config/sol2-cxx.cc: Likewise. + * config/vms/vms-c.cc: Likewise. + * config/xtensa/xtensa-dynconfig.cc: Likewise. + * coroutine-passes.cc: Likewise. + * coverage.cc: Likewise. + * data-streamer-in.cc: Likewise. + * data-streamer-out.cc: Likewise. + * data-streamer.cc: Likewise. + * diagnostic-buffer.h (diagnostic_buffer::~diagnostic_buffer): + Delete. + (diagnostic_buffer::m_per_format_buffer): Use std::unique_ptr. + * diagnostic-client-data-hooks.h (make_compiler_data_hooks): Use + std::unique_ptr for return type. + * diagnostic-format-json.cc + (json_output_format::make_per_format_buffer): Likewise. + (diagnostic_output_format_init_json): Update for usage of + std::unique_ptr in set_output_format. + * diagnostic-format-sarif.cc + (sarif_output_format::make_per_format_buffer): Use std::unique_ptr + for return type. + (diagnostic_output_format_init_sarif): Update for usage of + std::unique_ptr. + (test_message_with_embedded_link): Likewise for set_urlifier. + * diagnostic-format-text.cc: Add #define INCLUDE_MEMORY. Include + "make-unique.h". + (diagnostic_text_output_format::set_buffer): Use std::unique_ptr. + * diagnostic-format-text.h + (diagnostic_text_output_format::set_buffer): Likewise. + * diagnostic-format.h + (diagnostic_output_format::make_per_format_buffer): Likewise. + * diagnostic-global-context.cc: + * diagnostic-macro-unwinding.cc: Likewise. + * diagnostic-show-locus.cc: Likewise. + * diagnostic-spec.cc: Likewise. + * diagnostic.cc (diagnostic_context::set_output_format): Use + std::unique_ptr for input. + (diagnostic_context::set_client_data_hooks): Likewise. + (diagnostic_context::set_option_manager): Likewise. + (diagnostic_context::set_urlifier): Likewise. + (diagnostic_context::set_diagnostic_buffer): Update for use of + std::unique_ptr. + (diagnostic_buffer::diagnostic_buffer): Likewise. + (diagnostic_buffer::~diagnostic_buffer): Delete. + * diagnostic.h: Complain if INCLUDE_MEMORY was not defined. + (diagnostic_context::set_output_format): Use std::unique_ptr for + input. + (diagnostic_context::set_client_data_hooks): Likewise. + (diagnostic_context::set_option_manager): Likewise. + (diagnostic_context::set_urlifier): Likewise. + (diagnostic_context::clone_printer): New. + (diagnostic_context::m_printer): Update comment. + (diagnostic_context::m_option_mgr): Likewise. + (diagnostic_context::m_urlifier): Likewise. + (diagnostic_context::m_edit_context_ptr): Likewise. + (diagnostic_context::m_output_format): Likewise. + (diagnostic_context::m_client_data_hooks): Likewise. + (diagnostic_context::m_theme): Likewise. + * digraph.cc: Add #define INCLUDE_MEMORY. + * dwarf2out.cc: Likewise. + * edit-context.cc: Likewise. + * except.cc: Likewise. + * expr.cc: Likewise. + * file-prefix-map.cc: Likewise. + * final.cc: Likewise. + * fwprop.cc: Likewise. + * gcc-plugin.h: Likewise. + * gcc-rich-location.cc: Likewise. + * gcc-urlifier.cc: Likewise. Add #include "make-unique.h". + (make_gcc_urlifier): Use std::unique_ptr and ::make_unique. + * gcc-urlifier.h (make_gcc_urlifier): Use std::unique_ptr. + * gcc.cc: Add #define INCLUDE_MEMORY. Include + "pretty-print-urlifier.h". + * gcov-dump.cc: Add #define INCLUDE_MEMORY. + * gcov-tool.cc: Likewise. + * gengtype.cc (open_base_files): Likewise to output. + * genmatch.cc: Likewise. + * gimple-fold.cc: Likewise. + * gimple-harden-conditionals.cc: Likewise. + * gimple-harden-control-flow.cc: Likewise. + * gimple-if-to-switch.cc: Likewise. + * gimple-lower-bitint.cc: Likewise. + * gimple-predicate-analysis.cc: Likewise. + * gimple-pretty-print.cc: Likewise. + * gimple-range-cache.cc: Likewise. + * gimple-range-edge.cc: Likewise. + * gimple-range-fold.cc: Likewise. + * gimple-range-gori.cc: Likewise. + * gimple-range-infer.cc: Likewise. + * gimple-range-op.cc: Likewise. + * gimple-range-path.cc: Likewise. + * gimple-range-phi.cc: Likewise. + * gimple-range-trace.cc: Likewise. + * gimple-range.cc: Likewise. + * gimple-ssa-backprop.cc: Likewise. + * gimple-ssa-sprintf.cc: Likewise. + * gimple-ssa-store-merging.cc: Likewise. + * gimple-ssa-strength-reduction.cc: Likewise. + * gimple-ssa-warn-access.cc: Likewise. + * gimple-ssa-warn-alloca.cc: Likewise. + * gimple-ssa-warn-restrict.cc: Likewise. + * gimple-streamer-in.cc: Likewise. + * gimple-streamer-out.cc: Likewise. + * gimple.cc: Likewise. + * gimplify.cc: Likewise. + * graph.cc: Likewise. + * graphviz.cc: Likewise. + * input.cc: Likewise. + * ipa-cp.cc: Likewise. + * ipa-devirt.cc: Likewise. + * ipa-fnsummary.cc: Likewise. + * ipa-free-lang-data.cc: Likewise. + * ipa-icf-gimple.cc: Likewise. + * ipa-icf.cc: Likewise. + * ipa-inline-analysis.cc: Likewise. + * ipa-inline.cc: Likewise. + * ipa-modref-tree.cc: Likewise. + * ipa-modref.cc: Likewise. + * ipa-param-manipulation.cc: Likewise. + * ipa-polymorphic-call.cc: Likewise. + * ipa-predicate.cc: Likewise. + * ipa-profile.cc: Likewise. + * ipa-prop.cc: Likewise. + * ipa-pure-const.cc: Likewise. + * ipa-reference.cc: Likewise. + * ipa-split.cc: Likewise. + * ipa-sra.cc: Likewise. + * ipa-strub.cc: Likewise. + * ipa-utils.cc: Likewise. + * langhooks.cc: Likewise. + * late-combine.cc: Likewise. + * lto-cgraph.cc: Likewise. + * lto-compress.cc: Likewise. + * lto-opts.cc: Likewise. + * lto-section-in.cc: Likewise. + * lto-section-out.cc: Likewise. + * lto-streamer-in.cc: Likewise. + * lto-streamer-out.cc: Likewise. + * lto-streamer.cc: Likewise. + * lto-wrapper.cc: Likewise. Include "make-unique.h". + (main): Use ::make_unique when creating option manager. + * multiple_target.cc: Likewise. + * omp-expand.cc: Likewise. + * omp-general.cc: Likewise. + * omp-low.cc: Likewise. + * omp-oacc-neuter-broadcast.cc: Likewise. + * omp-offload.cc: Likewise. + * omp-simd-clone.cc: Likewise. + * optc-gen.awk: Likewise in output. + * optc-save-gen.awk: Likewise in output. + * options-urls-cc-gen.awk: Likewise in output. + * opts-common.cc: Likewise. + * opts-global.cc: Likewise. + * opts.cc: Likewise. + * pair-fusion.cc: Likewise. + * passes.cc: Likewise. + * pointer-query.cc: Likewise. + * predict.cc: Likewise. + * pretty-print.cc (pretty_printer::clone): Use std::unique_ptr and + ::make_unique. + * pretty-print.h: Complain if INCLUDE_MEMORY is not defined. + (pretty_printer::clone): Use std::unique_ptr. + * print-rtl.cc: Add #define INCLUDE_MEMORY. + * print-tree.cc: Likewise. + * profile-count.cc: Likewise. + * range-op-float.cc: Likewise. + * range-op-ptr.cc: Likewise. + * range-op.cc: Likewise. + * range.cc: Likewise. + * read-rtl-function.cc: Likewise. + * rtl-error.cc: Likewise. + * rtl-ssa/accesses.cc: Likewise. + * rtl-ssa/blocks.cc: Likewise. + * rtl-ssa/changes.cc: Likewise. + * rtl-ssa/functions.cc: Likewise. + * rtl-ssa/insns.cc: Likewise. + * rtl-ssa/movement.cc: Likewise. + * rtl-tests.cc: Likewise. + * sanopt.cc: Likewise. + * sched-rgn.cc: Likewise. + * selftest-diagnostic-path.cc: Likewise. + * selftest-diagnostic.cc: Likewise. + * splay-tree-utils.cc: Likewise. + * sreal.cc: Likewise. + * stmt.cc: Likewise. + * substring-locations.cc: Likewise. + * symtab-clones.cc: Likewise. + * symtab-thunks.cc: Likewise. + * symtab.cc: Likewise. + * text-art/box-drawing.cc: Likewise. + * text-art/canvas.cc: Likewise. + * text-art/ruler.cc: Likewise. + * text-art/selftests.cc: Likewise. + * text-art/theme.cc: Likewise. + * toplev.cc: Likewise. Include "make-unique.h". + (general_init): Use ::make_unique when setting option_manager. + * trans-mem.cc: Add #define INCLUDE_MEMORY. + * tree-affine.cc: Likewise. + * tree-call-cdce.cc: Likewise. + * tree-cfg.cc: Likewise. + * tree-chrec.cc: Likewise. + * tree-dfa.cc: Likewise. + * tree-diagnostic-client-data-hooks.cc: Include "make-unique.h". + (make_compiler_data_hooks): Use std::unique_ptr and ::make_unique. + * tree-diagnostic.cc: Add #define INCLUDE_MEMORY. + * tree-dump.cc: Likewise. + * tree-inline.cc: Likewise. + * tree-into-ssa.cc: Likewise. + * tree-logical-location.cc: Likewise. + * tree-nested.cc: Likewise. + * tree-nrv.cc: Likewise. + * tree-object-size.cc: Likewise. + * tree-outof-ssa.cc: Likewise. + * tree-pretty-print.cc: Likewise. + * tree-profile.cc: Likewise. + * tree-scalar-evolution.cc: Likewise. + * tree-sra.cc: Likewise. + * tree-ssa-address.cc: Likewise. + * tree-ssa-alias.cc: Likewise. + * tree-ssa-ccp.cc: Likewise. + * tree-ssa-coalesce.cc: Likewise. + * tree-ssa-copy.cc: Likewise. + * tree-ssa-dce.cc: Likewise. + * tree-ssa-dom.cc: Likewise. + * tree-ssa-forwprop.cc: Likewise. + * tree-ssa-ifcombine.cc: Likewise. + * tree-ssa-loop-ch.cc: Likewise. + * tree-ssa-loop-im.cc: Likewise. + * tree-ssa-loop-manip.cc: Likewise. + * tree-ssa-loop-niter.cc: Likewise. + * tree-ssa-loop-split.cc: Likewise. + * tree-ssa-math-opts.cc: Likewise. + * tree-ssa-operands.cc: Likewise. + * tree-ssa-phiprop.cc: Likewise. + * tree-ssa-pre.cc: Likewise. + * tree-ssa-propagate.cc: Likewise. + * tree-ssa-reassoc.cc: Likewise. + * tree-ssa-sccvn.cc: Likewise. + * tree-ssa-scopedtables.cc: Likewise. + * tree-ssa-sink.cc: Likewise. + * tree-ssa-strlen.cc: Likewise. + * tree-ssa-structalias.cc: Likewise. + * tree-ssa-ter.cc: Likewise. + * tree-ssa-uninit.cc: Likewise. + * tree-ssa.cc: Likewise. + * tree-ssanames.cc: Likewise. + * tree-stdarg.cc: Likewise. + * tree-streamer-in.cc: Likewise. + * tree-streamer-out.cc: Likewise. + * tree-streamer.cc: Likewise. + * tree-switch-conversion.cc: Likewise. + * tree-tailcall.cc: Likewise. + * tree-vrp.cc: Likewise. + * tree.cc: Likewise. + * ubsan.cc: Likewise. + * value-pointer-equiv.cc: Likewise. + * value-prof.cc: Likewise. + * value-query.cc: Likewise. + * value-range-pretty-print.cc: Likewise. + * value-range-storage.cc: Likewise. + * value-range.cc: Likewise. + * value-relation.cc: Likewise. + * var-tracking.cc: Likewise. + * varpool.cc: Likewise. + * vr-values.cc: Likewise. + * wide-int-print.cc: Likewise. + +2024-10-24 David Malcolm + + * diagnostic.cc (diagnostic_context::report_diagnostic): Add + comment about interaction of this code with pretty-print + formatting phaes. + +2024-10-24 Richard Sandiford + + * value-query.cc (range_query::get_tree_range): Use get_nonzero_bits + to populate the irange_bitmask of a POLY_INT_CST. + +2024-10-24 Richard Sandiford + + * match.pd: Simplify (X >> C1) * (C2 << C1) -> X * C2 if the + low C1 bits of X are zero. + +2024-10-24 Richard Sandiford + + * tree-ssanames.cc (get_nonzero_bits): Handle POLY_INT_CSTs. + * match.pd (with_possible_nonzero_bits): Likewise. + +2024-10-24 Richard Sandiford + + * match.pd: Simplify (X >> C1) << (C1 + C2) -> X << C2 if the + low C1 bits of X are zero. + +2024-10-24 Richard Sandiford + + * match.pd: Generalise ((X /[ex] A) +- B) * A -> X +- A * B rule + to ((X /[ex] C1) +- C2) * (C1 * C3) -> (X * C3) +- (C1 * C2 * C3). + +2024-10-24 Richard Sandiford + + * match.pd: Simplify (X /[ex] C1) * (C1 * C2) -> X * C2. + +2024-10-24 Richard Sandiford + + * match.pd: Simplify X / (1 << C) to X /[ex] (1 << C) if the + low C bits of X are clear + +2024-10-24 Richard Sandiford + + * match.pd: Extend some rules to handle exact_div like trunc_div. + * tree.h (trunc_or_exact_div_p): New function. + * tree-ssa-loop-niter.cc (is_rshift_by_1): Use it. + * tree-ssa-loop-ivopts.cc (force_expr_to_var_cost): Handle + EXACT_DIV_EXPR. + +2024-10-24 Andrew MacLeod + + * range-op-mixed.h (operator_bitwise_or::fold_range): Add prange + variant. + * range-op-ptr.cc (class pointer_or_operator): Remove. + (pointer_or_operator::op1_range): Remove. + (pointer_or_operator::op2_range): Remove. + (pointer_or_operator::wi_fold): Remove. + (operator_bitwise_or::fold_range): New prange variant. + +2024-10-24 Andrew MacLeod + + * range-op-ptr.cc (class pointer_and_operator): Remove. + (pointer_and_operator::wi_fold): Remove. + +2024-10-24 Andrew MacLeod + + * range-op-ptr.cc (class pointer_min_max_operator): Remove. + (pointer_min_max_operator::wi_fold): Remove. + +2024-10-24 Andrew MacLeod + + * range-op-ptr.cc (pointer_plus_operator::wi_fold): Remove. + (pointer_plus_operator::op2_range): Remove irange variant. + (pointer_plus_operator::update_bitmask): Likewise. + +2024-10-24 Jakub Jelinek + + PR sanitizer/117209 + * asan.cc (maybe_cast_to_ptrmode): Formatting fix. + (build_check_stmt): Don't copy *iter into gsi, perform all + the updates on iter directly. + +2024-10-24 Jennifer Schmitz + + * config/aarch64/aarch64-sve-builtins-sve2.cc + (svsra_impl::fold): Fold svsra to svlsr/svasr if op1 is all zeros. + +2024-10-24 Soumya AR + + * config/aarch64/aarch64-sve-builtins-base.cc (svlsl_impl::fold): + Try constant folding. + * config/aarch64/aarch64-sve-builtins.cc (aarch64_const_binop): + Return 0 if shift is out of range. + +2024-10-24 Jennifer Schmitz + + * config/aarch64/aarch64-sve-builtins-base.cc (svdiv_impl::fold): + Fold division by -1 to svneg. + (svmul_impl::fold): Fold multiplication by -1 to svneg. + +2024-10-24 Jennifer Schmitz + + * config/aarch64/aarch64-sve-builtins-base.cc + (svindex_impl::fold): Add constant folding. + +2024-10-24 Wang Pengcheng + + * config/riscv/riscv.cc (struct riscv_tune_param): Add new + tune options. + (riscv_override_options_internal): Override the default alignment + when not optimizing for size. + 2024-10-23 Andrew Pinski * config/aarch64/aarch64.cc (aarch64_ptrue_reg): Fix type diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 7f899e9ca4b..7125d77c104 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20241024 +20241026 diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 4b8658aea86..555fcc26e9d 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,304 @@ +2024-10-25 Tom Tromey + + * gcc-interface/decl.cc (gnat_to_gnu_entity): Use gnu_fat_type as the type + context for a XUB type. + +2024-10-25 Tom Tromey + + * gcc-interface/decl.cc (gnat_to_gnu_entity): Update some calls to + create_type_decl. + * gcc-interface/gigi.h (create_type_decl): Add can_be_nameless parameter. + * gcc-interface/utils.cc (create_type_decl): Add can_be_nameless + parameter. Set DECL_NAMELESS on type decl. + +2024-10-25 Tom Tromey + + * gcc-interface/utils.cc (record_builtin_type, create_type_stub_decl): + Set DECL_NAMELESS on type decls. + +2024-10-25 Tom Tromey + + * gcc-interface/decl.cc (gnat_to_gnu_entity): Pass 'true' to + create_type_decl when creating XUA type. + +2024-10-25 Tom Tromey + + * gcc-interface/decl.cc (gnat_to_gnu_entity): Set TYPE_NAMELESS on + XUB types. + +2024-10-25 Tom Tromey + + * gcc-interface/decl.cc (gnat_to_gnu_entity): Pass artificial_p to + build_unc_object_type. + * gcc-interface/gigi.h (build_unc_object_type): Update. + * gcc-interface/utils.cc (build_unc_object_type) Add artificial_p + parameter. + (build_unc_object_type_from_ptr): Update. + +2024-10-25 Tom Tromey + + * gcc-interface/decl.cc (is_artificial): New function. + (gnat_to_gnu_entity): Use it. + +2024-10-25 Eric Botcazou + + * gcc-interface/trans.cc (Call_to_gnu): If the formal is passed by + reference and the actual is a type conversion but not addressable, + create the temporary in the target type of the conversion if this + is needed to enforce strict aliasing. + +2024-10-25 Eric Botcazou + + PR ada/116551 + * gcc-interface/trans.cc (node_is_atomic) : Return + false if the type of the entity is an unconstrained array type. + (node_is_volatile_full_access) : Likewise. + +2024-10-25 Bob Duff + + * sem_ch10.adb (Analyze_With_Clause): Temporarily disable warning. + +2024-10-25 Bob Duff + + * sem_ch10.adb: (Analyze_With_Clause): Check for self-referential + with clause. Give a warning, and set Is_Implicit_With, which we + are reusing in this obscure case even though it's not really + implicit. + (Analyze_Context): Remove check for self-referential with clause. + It wasn't correct -- it only triggered for Acts_As_Spec + subprograms. Corrected check is now in Analyze_With_Clause. + (Implicit_With): Rename to be Is_Implicit_With. Misc cleanup, + comment fixes. + (Process_Spec_Clauses): Remove default for Exit_On_Self parameter. + Use "exit when" instead of if statement. + * sinfo.ads (Implicit_With): Rename to be Is_Implicit_With. + Document new use for self-referential withs. + * ali.adb (Scan_ALI): Use an aggregate to initialize Withs entry. + * exp_put_image.adb (Preload_Root_Buffer_Type): Make this a + once-only procedure. + * sem_util.ads (Is_Ancestor_Package): Fix comment -- a libraryunit + is an ancestor of itself, but this doesn't return True in that + case. + * sem_util.adb (Is_Ancestor_Package): Better to initialize things + on their declaration. + * lib-load.adb: Minor comment fix. + * sem_prag.adb: Implicit_With --> Is_Implicit_With. Minor comment + fix. + * gen_il-fields.ads: Implicit_With --> Is_Implicit_With. + * gen_il-gen-gen_nodes.adb: Likewise + * lib.adb: Likewise + * lib-writ.adb: Likewise + * rtsfind.adb: Likewise + * sem_cat.adb: Likewise + * sem_ch12.adb: Likewise + * sem_ch8.adb: Likewise + * sem_elab.adb: Likewise + * sem_warn.adb: Likewise + * gcc-interface/trans.cc: (Implicit_With): Rename to be + Is_Implicit_With. + +2024-10-25 Tom Tromey + + * gcc-interface/trans.cc (namespace_map): New global. + (Compilation_Unit_to_gnu): Also handle N_With_Clause and + N_Use_Package_Clause. + (get_or_create_namespace, get_namespace): New functions. + (gnat_to_gnu) : Call + get_namespace. + : Likewise. + +2024-10-25 Eric Botcazou + + * freeze.adb (Freeze_Expression.In_Expanded_Body): Tweak comments. + +2024-10-25 Javier Miranda + + * freeze.adb (Freeze_Entity): If the entity is an access-to-subprogram + type declaration that pre/postcondition contracts, build the + wrapper + (if not previously done as part of processing aspects). + * sem_ch3.adb (Build_Access_Subprogram_Wrapper): Add missing support + for building the wrapper when the access type has pragmas + Pre_Class/Post_Class. + (Build_Access_Subprogram_Wrapper_Declaration): New subprogram. + * sem_ch3.ads (Build_Access_Subprogram_Wrapper): Spec moved to the + public part of the package. + * sem_prag.adb (Analyze_Pre_Post_Condition): Store in the tree copy of + class-wide pre/postcondition expression; required to merge it with + inherited conditions. + (Is_Valid_Assertion_Kind): Added Pre_Class and Post_Class. + +2024-10-25 Richard Kenner + + * doc/gnat_ugn/about_this_guide.rst: Numerous changes to language + and style and add some LLVM-specific information. + * doc/gnat_ugn/elaboration_order_handling_in_gnat.rst: Likewise. + * doc/gnat_ugn/example_of_binder_output.rst: Likewise. + * doc/gnat_ugn/getting_started_with_gnat.rst: Likewise. + * doc/gnat_ugn/gnat_and_program_execution.rst: Likewise. + * doc/gnat_ugn/gnat_utility_programs.rst: Likewise. + * doc/gnat_ugn/inline_assembler.rst: Likewise. + * doc/gnat_ugn/platform_specific_information.rst: Likewise. + * doc/gnat_ugn/the_gnat_compilation_model.rst: Likewise. + * gnat_ugn.texi: Regenerate. + +2024-10-25 Eric Botcazou + + PR ada/43485 + * libgnarl/a-retide.adb: Add with clause for System.Soft_Links. + (Delay_Until): Defer and undefer abort around the call to the + Timed_Delay routine of System.Task_Primitives.Operations. + +2024-10-25 Eric Botcazou + + * freeze.adb (Freeze_Expression.In_Expanded_Body): Also return True + for the body of a helper/wrapper built for class-wide preconditions. + +2024-10-25 Javier Miranda + + * sem_prag.adb (Analyze_Pre_Post_Condition): Allow the use of + pragma Pre_Class/Post_Class with abstract subprograms. + +2024-10-25 Javier Miranda + + * sem_ch3.adb (Record_Type_Definition): For tagged types, add + the missing decoration to the First_Entity in the corresponding + class-wide type entity. + +2024-10-25 Ronan Desplanques + + * doc/gnat_rm/gnat_language_extensions.rst: Adjust documentation. + * gnat_rm.texi: Regenerate. + * gnat_ugn.texi: Regenerate. + +2024-10-25 Richard Kenner + + * comperr.ads (Compiler_Error): Update documentation. + +2024-10-25 Eric Botcazou + + * uintp.ads (Type_Size_For): New function declaration. + * uintp.adb (Type_Size_For): New function body. + * exp_imgv.adb (Rewrite_Object_Image): Call Type_Size_For to get + the size of a narrower integer type. + +2024-10-25 Tonu Naks + + * doc/gnat_rm/gnat_language_extensions.rst: update + simpler accessibility model + * gnat_rm.texi: Regenerate. + * gnat_ugn.texi: Regenerate. + +2024-10-25 Bob Duff + + * doc/gnat_rm/gnat_language_extensions.rst: + Minor wording improvments. + * gnat_rm.texi: Regenerate. + * gnat_ugn.texi: Regenerate. + +2024-10-25 squirek + + * libgnarl/s-taprop__mingw.adb: Modify stack size and update + documentation. + +2024-10-25 Javier Miranda + + * gen_il-fields.ads: New node field (Is_Expanded_Prefixed_Call). + * gen_il-gen-gen_nodes.adb: New semantic field for N_Function_Call + and N_Procedure_Call_Statement nodes. + * sem_ch4.adb (Complete_Object_Operation): Mark the rewritten node + with the Is_Expanded_Prefixed_Call flag. + * sem_res.adb (Check_Prefixed_Call): Code cleanup and addition of + documentation. + (Resolve_Actuals): Add a null-exclusion check on the + prefix of the call when it is an access-type. + * sinfo.ads: Adding new semantic flag (Is_Expanded_Prefixed_Call) + to N_Function_Call and N_Procedure_Call_Statement nodes. + * debug.adb: Adding documentation for switch d_P. + +2024-10-25 Raphaël AMIARD + + * sem_ch13.adb (Analyze_One_Aspect): change the call to + `Error_Msg_GNAT_Extension` to allow this aspect in core + extensions. Put the code path in core extensions. + * exp_util.adb (Name_Of_Controlled_Prim_Op): Put the code path + in core extensions + +2024-10-25 Eric Botcazou + + * sem_type.ads (Interp ): Add Opnd_Typ component and remove default + value for Abstract_Op component. + (Add_One_Interp): Rename Opnd_Type parameter to Opnd_Typ. + * sem_type.adb (Add_One_Interp): Likewise. + (Add_One_Interp.Add_Entry): Record the operand type as well. + (Collect_Interp): Record Empty for the operand type. + (Disambiguate.Is_Ambiguous_Boolean_Operator): New predicate. + (Disambiguate): Use it to detect recorded ambiguity cases. + * sem_ch4.adb (Find_Comparison_Equality_Types): Add commentary. + +2024-10-25 Javier Miranda + + * sem_ch8.adb (Freeze_Actual_Profile): Do not report error + on incomplete types, since they do not cause freezing. + +2024-10-25 Eric Botcazou + + * namet.adb (Append_Decoded_With_Brackets): Fix condition for the + cheap test at the beginning of the loop. + +2024-10-25 Eric Botcazou + + PR ada/115507 + * rtsfind.ads (RE_Id): Add RE_Enum_[Wide_]Wide_String_To_String. + (RE_Unit_Table): Add entries for the new values. + * exp_attr.adb (Is_User_Defined_Enumeration_Type): New predicate. + (Expand_N_Attribute_Reference) : Build a call + to RE_Enum_Wide_String_To_String for user-defined enumeration types. + : Likewise with + RE_Enum_Wide_Wide_String_To_String. + * exp_imgv.adb (Expand_Value_Attribute): Adjust to above. + * libgnat/s-wchwts.ads (Enum_Wide_String_To_String): New function. + (Enum_Wide_Wide_String_To_String): Likewise. + * libgnat/s-wchwts.adb: Add clauses for System.Case_Util. + (Normalize_String): New local procedure. + (Enum_Wide_String_To_String): New function body. + (Enum_Wide_Wide_String_To_String): Likewise. + +2024-10-25 Javier Miranda + + * sem_res.adb (Resolve_Actuals): Add checks for incomplete + type actuals. + +2024-10-25 Raphaël AMIARD + + * par-ch5.adb (P_Sequence_Of_Statements): Forbid repr clauses in + handled_statements. + +2024-10-25 Raphaël AMIARD + + * sem_util.ads: Introduce Inspect_Deferred_Constant_Completion + on a single object declaration, to better factorize the code + * sem_util.adb: Introduce aforementioned overload + * sem_ch4.adb (Analyze_Expression_With_Actions): Check deferred + constant completions + * sem_ch5.adb (Analyze_Statements): Check deferred constant + completions + +2024-10-25 Eric Botcazou + + * exp_ch6.adb (Expand_Actuals.Is_Legal_Copy): Return True for an + initialization procedure with a full access formal parameter. + (Expand_Actuals.Requires_Atomic_Or_Volatile_Copy): Return True if + the formal parameter is of a full access unconstrained array type. + +2024-10-24 David Malcolm + Gaius Mulley + + PR other/116613 + * gcc-interface/misc.cc: Add #define INCLUDE_MEMORY + * gcc-interface/trans.cc: Likewise. + * gcc-interface/utils.cc: Likewise. + 2024-10-11 Eric Botcazou PR ada/116498 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index 7fe83c8633e..f6abba114ed 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,179 @@ +2024-10-25 Jakub Jelinek + + * state-purge.cc: Remove trailing whitespace. + * region-model.h: Likewise. + * region-model.cc: Likewise. + * program-point.cc: Likewise. + * exploded-graph.h: Likewise. + * program-state.cc: Likewise. + * supergraph.cc: Likewise. + +2024-10-24 David Malcolm + + PR other/116613 + * bounds-checking.cc + (concrete_buffer_overflow::describe_final_event): Convert return + type from label_text to bool. Add "pp" param and either print to + it and return true, or return false. + (concrete_buffer_overflow::describe_final_event_as_bytes): Convert + to print to a pp rather than returning a label_text. + (concrete_buffer_overflow::describe_final_event_as_bits): + Likewise. + (class concrete_buffer_over_read): Analogous changes to above. + (class concrete_buffer_underwrite): Likewise. + (class concrete_buffer_under_read): Likewise. + (class symbolic_buffer_overflow): Likewise. + (class symbolic_buffer_over_read): Likewise. + * call-details.cc (class overlapping_buffers): Likewise. + * call-info.cc (call_info::print): Reimplement. + (class call_info::add_events_to_path::call_event): Convert + "get_desc" vfunc to "print_desc", dropping return type, adding + "pp" param, and printing to it. + (class succeed_or_fail_call_info): Likewise. + * call-info.h (class call_info): Likewise. + (class succeed_or_fail_call_info): Likewise. + * checker-event.cc (checker_event::dump): Reimplement. + (checker_event::prepare_for_emission): Update for change from + get_desc to print_desc. + (debug_event::get_desc): Convert to... + (debug_event::print_desc): ...this. + (precanned_custom_event::get_desc): Convert to... + (precanned_custom_event::print_desc): ...this. + (statement_event::get_desc): Convert to... + (statement_event::print_desc): ...this. + (region_creation_event_memory_space::get_desc): Convert to... + (region_creation_event_memory_space::print_desc): ...this. + (region_creation_event_capacity::get_desc): Convert to... + (region_creation_event_capacity::print_desc): ...this. + (region_creation_event_allocation_size::get_desc): Convert to... + (region_creation_event_allocation_size::print_desc): ...this. + (region_creation_event_debug::get_desc): Convert to... + (region_creation_event_debug::print_desc): ...this. + (function_entry_event::get_desc): Convert to... + (function_entry_event::print_desc): ...this. + (state_change_event::get_desc): Convert to... + (state_change_event::print_desc): ...this. + (state_change_event::get_meaning): Update for change to + pending_diagnostic::get_meaning_for_state_change. + (superedge_event::should_filter_p): Convert from usage of get_desc + to print_desc. + (start_cfg_edge_event::get_desc): Convert to... + (start_cfg_edge_event::print_desc): ...this. + (call_event::get_desc): Convert to... + (call_event::print_desc): ...this. + (return_event::get_desc): Convert to... + (return_event::print_desc): ...this. + (start_consolidated_cfg_edges_event::get_desc): Convert to... + (start_consolidated_cfg_edges_event::print_desc): ...this. + (inlined_call_event::get_desc): Convert to... + (inlined_call_event::print_desc): ...this. + (setjmp_event::get_desc): Convert to... + (setjmp_event::print_desc): ...this. + (rewind_from_longjmp_event::get_desc): Convert to... + (rewind_from_longjmp_event::print_desc): ...this. + (rewind_to_setjmp_event::get_desc): Convert to... + (rewind_to_setjmp_event::print_desc): ...this. + (warning_event::get_desc): Convert to... + (warning_event::print_desc): ...this. + * checker-event.h: Convert the various "get_desc" vfunc decls to + "print_desc". + * checker-path.cc (checker_path::dump): Convert to usage of + checker_event::print_desc. + (checker_path::debug): Convert to debug form of + checker_event::get_desc. + * diagnostic-manager.cc + (diagnostic_manager::prune_interproc_events): Likewise. + (diagnostic_manager::prune_system_headers): Likewise. + * engine.cc (call_summary_edge_info::get_desc): Convert to... + (call_summary_edge_info::print_desc): ...this. + (stale_jmp_buf::describe_final_event): Update for change to + this vfunc. + (tainted_args_function_custom_event::get_desc): Convert to... + (tainted_args_function_custom_event::print_desc): ...this. + (tainted_args_field_custom_event::get_desc): Convert to... + (tainted_args_field_custom_event::print_desc): ...this. + (tainted_args_callback_custom_event::get_desc): Convert to... + (tainted_args_callback_custom_event::print_desc): ...this. + (jump_through_null::describe_final_event): Update for change to + this vfunc. + * infinite-loop.cc (perpetual_start_cfg_edge_event::get_desc): + Convert to... + (perpetual_start_cfg_edge_event::print_desc): ...this. + (looping_back_event::get_desc): Convert to... + (looping_back_event::print_desc): ...this. + (looping_back_event::describe_final_event): Update for change to + this vfunc. + * infinite-recursion.cc (class infinite_recursion_diagnostic): + Update for changes to pending_diagnostic. + * kf.cc (class putenv_of_auto_var): Likewise. + (kf_realloc::impl_call_post): Update for changes to call_info. + (kf_strchr::impl_call_post): Likewise. + (kf_strncpy::impl_call_post): Likewise. + (kf_strstr::impl_call_post): Likewise. + (class kf_strtok::undefined_behavior): Update for changes to + pending_diagnostic. + (class strtok_call_info): Update for changes to call_info. + * pending-diagnostic.cc (evdesc::event_desc::formatted_print): + Delete. + * pending-diagnostic.h (struct event_desc): Delete. + (struct state_change): Drop event_desc base class. + (struct call_with_state): Likewise. + (struct return_of_state): Likewise. + (struct final_event): Likewise. + (pending_event::describe_state_change): Convert return + type from label_text to bool. Add "pp" param and either print to + it and return true, or return false. Do the latter for the base + class implementation. + (pending_event::describe_call_with_state): Likewise. + (pending_event::describe_return_of_state): Likewise. + (pending_event::describe_final_event): Likewise. + * region-model.cc + (poisoned_value_diagnostic::describe_final_event): Update for + change to this vfunc. + (shift_count_negative_diagnostic::describe_final_event): Likewise. + (shift_count_overflow_diagnostic::describe_final_event): Likewise. + (ptrdiff_region_creation_event::get_desc): Convert to... + (ptrdiff_region_creation_event::print_desc): ...this. + (undefined_ptrdiff_diagnostic::describe_final_event): Update for + change to this vfunc. + (write_to_const_diagnostic::describe_final_event): Likewise. + (write_to_string_literal_diagnostic::describe_final_event): + Likewise. + (dubious_allocation_size::describe_final_event): Likewise. + (null_terminator_check_event::get_desc): Convert to... + (null_terminator_check_event::print_desc): ...this. + (float_as_size_arg::describe_final_event): Update for change to + this vfunc. + (exposure_through_uninit_copy::describe_final_event): Likewise. + * sm-fd.cc: Include "diagnostic-core.h". Update throughout for + changes to pending_diagnostic vfuncs. + * sm-file.cc: Likewise. + * sm-malloc.cc: Likewise. + * sm-sensitive.cc: Likewise. + * sm-signal.cc: Likewise. + * sm-taint.cc: Likewise. + * varargs.cc: Likewise. + +2024-10-24 David Malcolm + Gaius Mulley + + PR other/116613 + * analyzer-logging.cc: Add #define INCLUDE_MEMORY + (logger::logger): Update for m_pp becoming a unique_ptr. + (logger::~logger): Likewise. + (logger::log_va_partial): Likewise. + (logger::end_log_line): Likewise. + * analyzer-logging.h (logger::get_printer): Likewise. + (logger::m_pp): Convert to a unique_ptr. + * analyzer.cc (make_label_text): Use + diagnostic_context::clone_printer and use unique_ptr. + (make_label_text_n): Likewise. + * bar-chart.cc: Add #define INCLUDE_MEMORY + * pending-diagnostic.cc (evdesc::event_desc::formatted_print): + Use diagnostic_context::clone_printer and use unique_ptr. + * sm-malloc.cc (sufficiently_similar_p): Likewise. + * supergraph.cc (supergraph::dump_dot_to_file): Likewise. + 2024-09-30 David Malcolm PR other/116613 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 19b38a334e5..64141e99eeb 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,40 @@ +2024-10-25 Jakub Jelinek + + * c-ubsan.cc: Remove trailing whitespace. + * stub-objc.cc: Likewise. + * c-pragma.cc: Likewise. + * c-ppoutput.cc: Likewise. + * c-indentation.cc: Likewise. + * c-ada-spec.cc: Likewise. + * c-opts.cc: Likewise. + * c-common.cc: Likewise. + * c-format.cc: Likewise. + * c-omp.cc: Likewise. + * c-objc.h: Likewise. + * c-cppbuiltin.cc: Likewise. + * c-attribs.cc: Likewise. + * c-target.def: Likewise. + * c-common.h: Likewise. + +2024-10-24 David Malcolm + Gaius Mulley + + PR other/116613 + * c-ada-spec.cc: Add #define INCLUDE_MEMORY. + * c-attribs.cc: Likewise. + * c-common.cc: Likewise. + * c-format.cc: Likewise. + * c-gimplify.cc: Likewise. + * c-indentation.cc: Likewise. + * c-opts.cc: Likewise. + * c-pch.cc: Likewise. + * c-pragma.cc: Likewise. + * c-pretty-print.cc: Likewise. Add #include "make-unique.h". + (c_pretty_printer::clone): Use std::unique_ptr and ::make_unique. + * c-pretty-print.h (c_pretty_printer::clone): Use std::unique_ptr. + * c-type-mismatch.cc: Add #define INCLUDE_MEMORY. + * c-warn.cc: Likewise. + 2024-10-23 Jakub Jelinek * c.opt.urls: Regenerate. diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 64273cb8355..16db34cac83 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,24 @@ +2024-10-25 Jakub Jelinek + + * c-typeck.cc: Remove trailing whitespace. + * gimple-parser.cc: Likewise. + * c-parser.cc: Likewise. + * c-decl.cc: Likewise. + +2024-10-24 David Malcolm + Gaius Mulley + + PR other/116613 + * c-aux-info.cc: Add #define INCLUDE_MEMORY. + * c-convert.cc: Likewise. + * c-errors.cc: Likewise. + * c-fold.cc: Likewise. + * c-lang.cc: Likewise. + * c-objc-common.cc: Likewise. + (pp_markup::element_quoted_type::print_type): Use unique_ptr. + * c-typeck.cc: Add #define INCLUDE_MEMORY. + * gimple-parser.cc: Likewise. + 2024-10-23 Joseph Myers * c-decl.cc (c_struct_parse_info): Add member refloc. diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 00d1d4f275b..ad38ec92207 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,111 @@ +2024-10-25 Jakub Jelinek + + * vtable-class-hierarchy.cc: Remove trailing whitespace. + * typeck2.cc: Likewise. + * decl.cc: Likewise. + * init.cc: Likewise. + * semantics.cc: Likewise. + * module.cc: Likewise. + * rtti.cc: Likewise. + * cxx-pretty-print.cc: Likewise. + * cvt.cc: Likewise. + * mangle.cc: Likewise. + * name-lookup.h: Likewise. + * coroutines.cc: Likewise. + * error.cc: Likewise. + * lambda.cc: Likewise. + * tree.cc: Likewise. + * g++spec.cc: Likewise. + * decl2.cc: Likewise. + * cp-tree.h: Likewise. + * parser.cc: Likewise. + * pt.cc: Likewise. + * call.cc: Likewise. + * lex.cc: Likewise. + * cp-lang.cc: Likewise. + * cp-tree.def: Likewise. + * constexpr.cc: Likewise. + * typeck.cc: Likewise. + * name-lookup.cc: Likewise. + * optimize.cc: Likewise. + * search.cc: Likewise. + * mapper-client.cc: Likewise. + * ptree.cc: Likewise. + * class.cc: Likewise. + +2024-10-24 Nathaniel Shead + + * module.cc (trees_in::read_class_def): Propagate some missing + flags from the streamed-in definition. + +2024-10-24 Nathaniel Shead + + * module.cc (post_load_processing): Mark COMDAT as needed, emit + declarations if maybe_clone_body fails. + +2024-10-24 Nathaniel Shead + + PR c++/115007 + * module.cc (module_state::read_cluster): Replace + DECL_ABSTRACT_P with DECL_MAYBE_IN_CHARGE_CDTOR_P. + (post_load_processing): Check and mark TREE_ASM_WRITTEN. + * semantics.cc (expand_or_defer_fn_1): Use the more specific + module_maybe_has_cmi_p instead of modules_p. + +2024-10-24 Nathaniel Shead + + * decl2.cc (import_export_class): Use TYPE_CONTAINS_VPTR_P + instead of TYPE_POLYMORPHIC_P. + (import_export_decl): Likewise. + +2024-10-24 David Malcolm + Gaius Mulley + + PR other/116613 + * call.cc: Add #define INCLUDE_MEMORY. + * class.cc: Likewise. + * constexpr.cc: Likewise. + * constraint.cc: Likewise. + * contracts.cc: Likewise. + * coroutines.cc: Likewise. + * cp-gimplify.cc: Likewise. + * cp-lang.cc: Likewise. + * cp-objcp-common.cc: Likewise. + * cp-ubsan.cc: Likewise. + * cvt.cc: Likewise. + * cxx-pretty-print.cc: Likewise. Add #include "cp-tree.h". + (cxx_pretty_printer::clone): Use std::unique_ptr and + ::make_unique. + * cxx-pretty-print.h (cxx_pretty_printer::clone): Use + std::unique_ptr. + * decl2.cc: Add #define INCLUDE_MEMORY. + * dump.cc: Likewise. + * except.cc: Likewise. + * expr.cc: Likewise. + * friend.cc: Likewise. + * init.cc: Likewise. + * lambda.cc: Likewise. + * logic.cc: Likewise. + * mangle.cc: Likewise. + * method.cc: Likewise. + * optimize.cc: Likewise. + * pt.cc: Likewise. + * ptree.cc: Likewise. + * rtti.cc: Likewise. + * search.cc: Likewise. + * semantics.cc: Likewise. + * tree.cc: Likewise. + * typeck.cc: Likewise. + * typeck2.cc: Likewise. + * vtable-class-hierarchy.cc: Likewise. + +2024-10-24 Jakub Jelinek + + PR c++/117259 + * typeck.cc (get_member_function_from_ptrfunc): Use force_target_expr + rather than save_expr for instance_ptr and function. Don't call it + for TREE_CONSTANT. + 2024-10-22 Jason Merrill PR c++/117107 diff --git a/gcc/d/ChangeLog b/gcc/d/ChangeLog index 6b6e58e6642..ad6690ebc85 100644 --- a/gcc/d/ChangeLog +++ b/gcc/d/ChangeLog @@ -1,3 +1,24 @@ +2024-10-24 David Malcolm + Gaius Mulley + + PR other/116613 + * d-attribs.cc: Add #define INCLUDE_MEMORY. + * d-builtins.cc: Likewise. + * d-codegen.cc: Likewise. + * d-convert.cc: Likewise. + * d-diagnostic.cc: Likewise. + * d-frontend.cc: Likewise. + * d-lang.cc: Likewise. + * d-longdouble.cc: Likewise. + * d-target.cc: Likewise. + * decl.cc: Likewise. + * expr.cc: Likewise. + * intrinsics.cc: Likewise. + * modules.cc: Likewise. + * toir.cc: Likewise. + * typeinfo.cc: Likewise. + * types.cc: Likewise. + 2024-09-25 Mikael Morin PR other/116801 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index cbf871b69ef..20895cd2c27 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,77 @@ +2024-10-25 Paul Thomas + + PR fortran/79685 + * decl.cc (match_data_constant): Find the symtree instead of + the symbol so the use renamed symbols are found. Pass this and + the derived type to gfc_match_structure_constructor. + * match.h: Update prototype of gfc_match_structure_contructor. + * primary.cc (gfc_match_structure_constructor): Remove call to + gfc_get_ha_sym_tree and use caller supplied symtree instead. + +2024-10-25 Jakub Jelinek + + * trans-openmp.cc: Remove trailing whitespace. + * trans-common.cc: Likewise. + * match.h: Likewise. + * scanner.cc: Likewise. + * gfortranspec.cc: Likewise. + * io.cc: Likewise. + * iso-c-binding.def: Likewise. + * iso-fortran-env.def: Likewise. + * types.def: Likewise. + * openmp.cc: Likewise. + * f95-lang.cc: Likewise. + +2024-10-24 David Malcolm + Gaius Mulley + + PR other/116613 + * arith.cc: Add #define INCLUDE_MEMORY. + * array.cc: Likewise. + * bbt.cc: Likewise. + * check.cc: Likewise. + * class.cc: Likewise. + * constructor.cc: Likewise. + * convert.cc: Likewise. + * cpp.cc: Likewise. + * data.cc: Likewise. + * decl.cc: Likewise. + * dependency.cc: Likewise. + * dump-parse-tree.cc: Likewise. + * error.cc: Likewise. + * expr.cc: Likewise. + * f95-lang.cc: Likewise. + * frontend-passes.cc: Likewise. + * interface.cc: Likewise. + * intrinsic.cc: Likewise. + * io.cc: Likewise. + * iresolve.cc: Likewise. + * match.cc: Likewise. + * matchexp.cc: Likewise. + * misc.cc: Likewise. + * module.cc: Likewise. + * openmp.cc: Likewise. + * options.cc: Likewise. + * parse.cc: Likewise. + * primary.cc: Likewise. + * resolve.cc: Likewise. + * scanner.cc: Likewise. + * simplify.cc: Likewise. + * st.cc: Likewise. + * symbol.cc: Likewise. + * target-memory.cc: Likewise. + * trans-array.cc: Likewise. + * trans-common.cc: Likewise. + * trans-const.cc: Likewise. + * trans-decl.cc: Likewise. + * trans-expr.cc: Likewise. + * trans-intrinsic.cc: Likewise. + * trans-io.cc: Likewise. + * trans-openmp.cc: Likewise. + * trans-stmt.cc: Likewise. + * trans-types.cc: Likewise. + * trans.cc: Likewise. + 2024-10-23 David Malcolm PR fortran/105916 diff --git a/gcc/go/ChangeLog b/gcc/go/ChangeLog index c880b67084c..8bbf2806c81 100644 --- a/gcc/go/ChangeLog +++ b/gcc/go/ChangeLog @@ -1,3 +1,15 @@ +2024-10-25 Jakub Jelinek + + * go-gcc.cc: Remove trailing whitespace. + * gospec.cc: Likewise. + +2024-10-24 David Malcolm + Gaius Mulley + + PR other/116613 + * go-backend.cc: Add #define INCLUDE_MEMORY. + * go-lang.cc: Likewise. + 2024-09-25 Mikael Morin PR other/116801 diff --git a/gcc/jit/ChangeLog b/gcc/jit/ChangeLog index d2b2bd3a08b..0c3e84dc365 100644 --- a/gcc/jit/ChangeLog +++ b/gcc/jit/ChangeLog @@ -1,3 +1,15 @@ +2024-10-25 Jakub Jelinek + + * docs/examples/tut04-toyvm/toyvm.cc: Remove trailing whitespace. + +2024-10-24 David Malcolm + Gaius Mulley + + PR other/116613 + * dummy-frontend.cc: Add #define INCLUDE_MEMORY. + * jit-playback.cc: Likewise. + * jit-recording.cc: Likewise. + 2024-09-20 David Malcolm PR other/116613 diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index 7d610ee7cb3..e388d62d6d7 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -1,3 +1,27 @@ +2024-10-25 Jakub Jelinek + + PR lto/117201 + PR lto/117288 + * lto-common.cc (compare_tree_sccs_1): Handle RAW_DATA_CST. + +2024-10-25 Jakub Jelinek + + * lto-object.cc: Remove trailing whitespace. + * lto-symtab.cc: Likewise. + * lto-partition.cc: Likewise. + * lang-specs.h: Likewise. + * lto-lang.cc: Likewise. + +2024-10-24 David Malcolm + Gaius Mulley + + PR other/116613 + * lto-common.cc: Add #define INCLUDE_MEMORY. + * lto-dump.cc: Likewise. + * lto-partition.cc: Likewise. + * lto-symtab.cc: Likewise. + * lto.cc: Likewise. + 2024-09-03 Tobias Burnus PR lto/116535 diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog index 05b7d7c7e3a..c22f80fa6a8 100644 --- a/gcc/m2/ChangeLog +++ b/gcc/m2/ChangeLog @@ -1,3 +1,252 @@ +2024-10-25 Jakub Jelinek + + * mc-boot/GFpuIO.cc: Remove trailing whitespace. + * mc-boot/GFIO.cc: Likewise. + * mc-boot/GFormatStrings.cc: Likewise. + * mc-boot/GCmdArgs.cc: Likewise. + * mc-boot/GDebug.h: Likewise. + * mc-boot/GM2Dependent.cc: Likewise. + * mc-boot/GRTint.cc: Likewise. + * mc-boot/GDebug.cc: Likewise. + * mc-boot/GmcError.cc: Likewise. + * mc-boot/Gmcp4.cc: Likewise. + * mc-boot/GM2RTS.cc: Likewise. + * mc-boot/GIO.cc: Likewise. + * mc-boot/Gmcp5.cc: Likewise. + * mc-boot/GDynamicStrings.cc: Likewise. + * mc-boot/Gmcp1.cc: Likewise. + * mc-boot/GFormatStrings.h: Likewise. + * mc-boot/Gmcp2.cc: Likewise. + * mc-boot/Gmcp3.cc: Likewise. + * pge-boot/GFIO.cc: Likewise. + * pge-boot/GDebug.h: Likewise. + * pge-boot/GM2Dependent.cc: Likewise. + * pge-boot/GDebug.cc: Likewise. + * pge-boot/GM2RTS.cc: Likewise. + * pge-boot/GSymbolKey.cc: Likewise. + * pge-boot/GIO.cc: Likewise. + * pge-boot/GIndexing.cc: Likewise. + * pge-boot/GDynamicStrings.cc: Likewise. + * pge-boot/GFormatStrings.h: Likewise. + +2024-10-24 David Malcolm + Gaius Mulley + + PR other/116613 + * gm2-gcc/gcc-consolidation.h: Add #define INCLUDE_MEMORY. + * gm2-gcc/m2configure.cc: Likewise. + * mc-boot/GASCII.cc: Regenerate. + * mc-boot/GASCII.h: Ditto. + * mc-boot/GArgs.cc: Ditto. + * mc-boot/GArgs.h: Ditto. + * mc-boot/GAssertion.cc: Ditto. + * mc-boot/GAssertion.h: Ditto. + * mc-boot/GBreak.cc: Ditto. + * mc-boot/GBreak.h: Ditto. + * mc-boot/GCOROUTINES.h: Ditto. + * mc-boot/GCmdArgs.cc: Ditto. + * mc-boot/GCmdArgs.h: Ditto. + * mc-boot/GDebug.cc: Ditto. + * mc-boot/GDebug.h: Ditto. + * mc-boot/GDynamicStrings.cc: Ditto. + * mc-boot/GDynamicStrings.h: Ditto. + * mc-boot/GEnvironment.cc: Ditto. + * mc-boot/GEnvironment.h: Ditto. + * mc-boot/GFIO.cc: Ditto. + * mc-boot/GFIO.h: Ditto. + * mc-boot/GFormatStrings.cc: Ditto. + * mc-boot/GFormatStrings.h: Ditto. + * mc-boot/GFpuIO.cc: Ditto. + * mc-boot/GFpuIO.h: Ditto. + * mc-boot/GIO.cc: Ditto. + * mc-boot/GIO.h: Ditto. + * mc-boot/GIndexing.cc: Ditto. + * mc-boot/GIndexing.h: Ditto. + * mc-boot/GM2Dependent.cc: Ditto. + * mc-boot/GM2Dependent.h: Ditto. + * mc-boot/GM2EXCEPTION.cc: Ditto. + * mc-boot/GM2EXCEPTION.h: Ditto. + * mc-boot/GM2RTS.cc: Ditto. + * mc-boot/GM2RTS.h: Ditto. + * mc-boot/GMemUtils.cc: Ditto. + * mc-boot/GMemUtils.h: Ditto. + * mc-boot/GNumberIO.cc: Ditto. + * mc-boot/GNumberIO.h: Ditto. + * mc-boot/GPushBackInput.cc: Ditto. + * mc-boot/GPushBackInput.h: Ditto. + * mc-boot/GRTExceptions.cc: Ditto. + * mc-boot/GRTExceptions.h: Ditto. + * mc-boot/GRTco.h: Ditto. + * mc-boot/GRTentity.h: Ditto. + * mc-boot/GRTint.cc: Ditto. + * mc-boot/GRTint.h: Ditto. + * mc-boot/GSArgs.cc: Ditto. + * mc-boot/GSArgs.h: Ditto. + * mc-boot/GSFIO.cc: Ditto. + * mc-boot/GSFIO.h: Ditto. + * mc-boot/GSYSTEM.h: Ditto. + * mc-boot/GSelective.h: Ditto. + * mc-boot/GStdIO.cc: Ditto. + * mc-boot/GStdIO.h: Ditto. + * mc-boot/GStorage.cc: Ditto. + * mc-boot/GStorage.h: Ditto. + * mc-boot/GStrCase.cc: Ditto. + * mc-boot/GStrCase.h: Ditto. + * mc-boot/GStrIO.cc: Ditto. + * mc-boot/GStrIO.h: Ditto. + * mc-boot/GStrLib.cc: Ditto. + * mc-boot/GStrLib.h: Ditto. + * mc-boot/GStringConvert.cc: Ditto. + * mc-boot/GStringConvert.h: Ditto. + * mc-boot/GSysExceptions.h: Ditto. + * mc-boot/GSysStorage.cc: Ditto. + * mc-boot/GSysStorage.h: Ditto. + * mc-boot/GTimeString.cc: Ditto. + * mc-boot/GTimeString.h: Ditto. + * mc-boot/GUnixArgs.h: Ditto. + * mc-boot/Galists.cc: Ditto. + * mc-boot/Galists.h: Ditto. + * mc-boot/Gdecl.cc: Ditto. + * mc-boot/Gdecl.h: Ditto. + * mc-boot/Gdtoa.h: Ditto. + * mc-boot/Gerrno.h: Ditto. + * mc-boot/Gkeyc.cc: Ditto. + * mc-boot/Gkeyc.h: Ditto. + * mc-boot/Gldtoa.h: Ditto. + * mc-boot/Glibc.h: Ditto. + * mc-boot/Glibm.h: Ditto. + * mc-boot/Glists.cc: Ditto. + * mc-boot/Glists.h: Ditto. + * mc-boot/GmcComment.cc: Ditto. + * mc-boot/GmcComment.h: Ditto. + * mc-boot/GmcComp.cc: Ditto. + * mc-boot/GmcComp.h: Ditto. + * mc-boot/GmcDebug.cc: Ditto. + * mc-boot/GmcDebug.h: Ditto. + * mc-boot/GmcError.cc: Ditto. + * mc-boot/GmcError.h: Ditto. + * mc-boot/GmcFileName.cc: Ditto. + * mc-boot/GmcFileName.h: Ditto. + * mc-boot/GmcLexBuf.cc: Ditto. + * mc-boot/GmcLexBuf.h: Ditto. + * mc-boot/GmcMetaError.cc: Ditto. + * mc-boot/GmcMetaError.h: Ditto. + * mc-boot/GmcOptions.cc: Ditto. + * mc-boot/GmcOptions.h: Ditto. + * mc-boot/GmcPreprocess.cc: Ditto. + * mc-boot/GmcPreprocess.h: Ditto. + * mc-boot/GmcPretty.cc: Ditto. + * mc-boot/GmcPretty.h: Ditto. + * mc-boot/GmcPrintf.cc: Ditto. + * mc-boot/GmcPrintf.h: Ditto. + * mc-boot/GmcQuiet.cc: Ditto. + * mc-boot/GmcQuiet.h: Ditto. + * mc-boot/GmcReserved.cc: Ditto. + * mc-boot/GmcReserved.h: Ditto. + * mc-boot/GmcSearch.cc: Ditto. + * mc-boot/GmcSearch.h: Ditto. + * mc-boot/GmcStack.cc: Ditto. + * mc-boot/GmcStack.h: Ditto. + * mc-boot/GmcStream.cc: Ditto. + * mc-boot/GmcStream.h: Ditto. + * mc-boot/Gmcflex.h: Ditto. + * mc-boot/Gmcp1.cc: Ditto. + * mc-boot/Gmcp1.h: Ditto. + * mc-boot/Gmcp2.cc: Ditto. + * mc-boot/Gmcp2.h: Ditto. + * mc-boot/Gmcp3.cc: Ditto. + * mc-boot/Gmcp3.h: Ditto. + * mc-boot/Gmcp4.cc: Ditto. + * mc-boot/Gmcp4.h: Ditto. + * mc-boot/Gmcp5.cc: Ditto. + * mc-boot/Gmcp5.h: Ditto. + * mc-boot/GnameKey.cc: Ditto. + * mc-boot/GnameKey.h: Ditto. + * mc-boot/GsymbolKey.cc: Ditto. + * mc-boot/GsymbolKey.h: Ditto. + * mc-boot/Gtermios.h: Ditto. + * mc-boot/Gtop.cc: Ditto. + * mc-boot/Gvarargs.cc: Ditto. + * mc-boot/Gvarargs.h: Ditto. + * mc-boot/Gwlists.cc: Ditto. + * mc-boot/Gwlists.h: Ditto. + * mc-boot/Gwrapc.h: Ditto. + * mc/keyc.mod (checkGccConfigSystem): Add + #define INCLUDE_MEMORY. + * pge-boot/GASCII.cc: Regenerate. + * pge-boot/GASCII.h: Ditto. + * pge-boot/GArgs.cc: Ditto. + * pge-boot/GArgs.h: Ditto. + * pge-boot/GAssertion.cc: Ditto. + * pge-boot/GAssertion.h: Ditto. + * pge-boot/GBreak.h: Ditto. + * pge-boot/GCmdArgs.h: Ditto. + * pge-boot/GDebug.cc: Ditto. + * pge-boot/GDebug.h: Ditto. + * pge-boot/GDynamicStrings.cc: Ditto. + * pge-boot/GDynamicStrings.h: Ditto. + * pge-boot/GEnvironment.h: Ditto. + * pge-boot/GFIO.cc: Ditto. + * pge-boot/GFIO.h: Ditto. + * pge-boot/GFormatStrings.h: Ditto. + * pge-boot/GFpuIO.h: Ditto. + * pge-boot/GIO.cc: Ditto. + * pge-boot/GIO.h: Ditto. + * pge-boot/GIndexing.cc: Ditto. + * pge-boot/GIndexing.h: Ditto. + * pge-boot/GLists.cc: Ditto. + * pge-boot/GLists.h: Ditto. + * pge-boot/GM2Dependent.cc: Ditto. + * pge-boot/GM2Dependent.h: Ditto. + * pge-boot/GM2EXCEPTION.cc: Ditto. + * pge-boot/GM2EXCEPTION.h: Ditto. + * pge-boot/GM2RTS.cc: Ditto. + * pge-boot/GM2RTS.h: Ditto. + * pge-boot/GNameKey.cc: Ditto. + * pge-boot/GNameKey.h: Ditto. + * pge-boot/GNumberIO.cc: Ditto. + * pge-boot/GNumberIO.h: Ditto. + * pge-boot/GOutput.cc: Ditto. + * pge-boot/GOutput.h: Ditto. + * pge-boot/GPushBackInput.cc: Ditto. + * pge-boot/GPushBackInput.h: Ditto. + * pge-boot/GRTExceptions.cc: Ditto. + * pge-boot/GRTExceptions.h: Ditto. + * pge-boot/GSArgs.h: Ditto. + * pge-boot/GSEnvironment.h: Ditto. + * pge-boot/GSFIO.cc: Ditto. + * pge-boot/GSFIO.h: Ditto. + * pge-boot/GSYSTEM.h: Ditto. + * pge-boot/GScan.h: Ditto. + * pge-boot/GStdIO.cc: Ditto. + * pge-boot/GStdIO.h: Ditto. + * pge-boot/GStorage.cc: Ditto. + * pge-boot/GStorage.h: Ditto. + * pge-boot/GStrCase.cc: Ditto. + * pge-boot/GStrCase.h: Ditto. + * pge-boot/GStrIO.cc: Ditto. + * pge-boot/GStrIO.h: Ditto. + * pge-boot/GStrLib.cc: Ditto. + * pge-boot/GStrLib.h: Ditto. + * pge-boot/GStringConvert.h: Ditto. + * pge-boot/GSymbolKey.cc: Ditto. + * pge-boot/GSymbolKey.h: Ditto. + * pge-boot/GSysExceptions.h: Ditto. + * pge-boot/GSysStorage.cc: Ditto. + * pge-boot/GSysStorage.h: Ditto. + * pge-boot/GTimeString.h: Ditto. + * pge-boot/GUnixArgs.h: Ditto. + * pge-boot/Gbnflex.cc: Ditto. + * pge-boot/Gbnflex.h: Ditto. + * pge-boot/Gdtoa.h: Ditto. + * pge-boot/Gerrno.h: Ditto. + * pge-boot/Gldtoa.h: Ditto. + * pge-boot/Glibc.h: Ditto. + * pge-boot/Glibm.h: Ditto. + * pge-boot/Gpge.cc: Ditto. + * pge-boot/Gtermios.h: Ditto. + * pge-boot/Gwrapc.h: Ditto. + 2024-10-20 Gaius Mulley * gm2-compiler/M2MetaError.mod (op): Corrected ordering. diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog index b108558e2bd..6932445f267 100644 --- a/gcc/objc/ChangeLog +++ b/gcc/objc/ChangeLog @@ -1,3 +1,23 @@ +2024-10-25 Jakub Jelinek + + * objc-encoding.cc: Remove trailing whitespace. + * objc-map.h: Likewise. + * objc-next-runtime-abi-01.cc: Likewise. + * objc-act.cc: Likewise. + * objc-map.cc: Likewise. + +2024-10-24 David Malcolm + Gaius Mulley + + PR other/116613 + * objc-act.cc: Add #define INCLUDE_MEMORY. + * objc-encoding.cc: Likewise. + * objc-gnu-runtime-abi-01.cc: Likewise. + * objc-lang.cc: Likewise. + * objc-next-runtime-abi-01.cc: Likewise. + * objc-next-runtime-abi-02.cc: Likewise. + * objc-runtime-shared-support.cc: Likewise. + 2024-05-02 Iain Sandoe * objc-next-runtime-abi-02.cc (WEAK_PROTOCOLS_AFTER): New. diff --git a/gcc/objcp/ChangeLog b/gcc/objcp/ChangeLog index a0d407e9636..7b0b5f238b5 100644 --- a/gcc/objcp/ChangeLog +++ b/gcc/objcp/ChangeLog @@ -1,3 +1,16 @@ +2024-10-25 Jakub Jelinek + + * objcp-decl.cc: Remove trailing whitespace. + * objcp-lang.cc: Likewise. + * objcp-decl.h: Likewise. + +2024-10-24 David Malcolm + Gaius Mulley + + PR other/116613 + * objcp-decl.cc + * objcp-lang.cc: Likewise. + 2024-05-07 Rainer Orth * Make-lang.in (cc1objplus$(exeext)): Remove $(NETLIBS). diff --git a/gcc/rust/ChangeLog b/gcc/rust/ChangeLog index eb855d02955..7389ff6f06c 100644 --- a/gcc/rust/ChangeLog +++ b/gcc/rust/ChangeLog @@ -1,3 +1,17 @@ +2024-10-25 Jakub Jelinek + + * util/optional.h: Remove trailing whitespace. + * util/expected.h: Likewise. + * util/rust-unicode-data.h: Likewise. + +2024-10-24 David Malcolm + Gaius Mulley + + PR other/116613 + * resolve/rust-ast-resolve-expr.cc: Add #define INCLUDE_MEMORY. + * rust-attribs.cc: Likewise. + * rust-system.h: Likewise. + 2024-10-18 Alejandro Colomar * backend/rust-tree.h (array_type_nelts_top) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index aa9382e1116..a75921d207c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,269 @@ +2024-10-25 Andrew Pinski + + PR rtl-optimization/58195 + * gcc.target/aarch64/csel-neg-1.c: New test. + * gcc.target/aarch64/csel-neg-2.c: New test. + +2024-10-25 Sam James + + PR lto/47333 + * g++.dg/lto/pr47333_0.C: Ignore -Wtemplate-body. + +2024-10-25 Sam James + + PR lto/62026 + * g++.dg/lto/pr62026_0.C: Pass -Wno-return-type. + +2024-10-25 Sam James + + PR c++/95677 + * g++.dg/lto/pr95677_0.C: Use dg-lto-*. + +2024-10-25 Sam James + + * gcc.dg/lto/tbaa_0.c: Use dg-lto directives, pass -std=gnu89, and + use -flto-partition=none. + +2024-10-25 Sam James + + * gcc.dg/lto/tbaa-1.c: Move to... + * gcc.dg/lto/tbaa_0.c: ...here. + +2024-10-25 Sam James + + PR target/47333 + * g++.dg/lto/pr47333.C: Move to... + * g++.dg/lto/pr47333_0.C: ...here. + +2024-10-25 Sam James + + PR lto/62026 + * g++.dg/lto/pr62026.C: Move to... + * g++.dg/lto/pr62026_0.C: ...here. + +2024-10-25 Sam James + + PR c++/95677 + * g++.dg/lto/pr95677.C: Move to... + * g++.dg/lto/pr95677_0.C: ...here. + +2024-10-25 Andrew Pinski + + * gcc.target/aarch64/cpunative/info_25: New file. + * gcc.target/aarch64/cpunative/info_26: New file. + * gcc.target/aarch64/cpunative/native_cpu_25.c: New test. + * gcc.target/aarch64/cpunative/native_cpu_26.c: New test. + +2024-10-25 Wilco Dijkstra + + PR target/117292 + * gcc.target/aarch64/sve/single_5.c: Remove xfails. + * gcc.target/aarch64/pr117292.c: New test. + +2024-10-25 Paul Thomas + + PR fortran/79685 + * gfortran.dg/use_rename_13.f90: New test. + +2024-10-25 Sam James + + PR rtl-optimization/115933 + * gcc.dg/pr115933.c: New test. + +2024-10-25 Andrew Carlotti + + * gcc.target/aarch64/advsimd-intrinsics/mf8-reinterpret.c: New test. + +2024-10-25 Andrew Carlotti + + * gcc.target/aarch64/movv16qi_2.c: Test mfloat as well. + * gcc.target/aarch64/movv16qi_3.c: Ditto. + * gcc.target/aarch64/movv2x16qi_1.c: Ditto. + * gcc.target/aarch64/movv3x16qi_1.c: Ditto. + * gcc.target/aarch64/movv4x16qi_1.c: Ditto. + * gcc.target/aarch64/movv8qi_2.c: Ditto. + * gcc.target/aarch64/movv8qi_3.c: Ditto. + * gcc.target/aarch64/mfloat-init-1.c: New test. + +2024-10-25 Jennifer Schmitz + + * gcc.dg/tree-ssa/pow_fold_1.c: New test. + +2024-10-25 Pan Li + + * gcc.dg/tree-ssa/sat_u_add-simplify-1-u16.c: New test. + * gcc.dg/tree-ssa/sat_u_add-simplify-1-u32.c: New test. + * gcc.dg/tree-ssa/sat_u_add-simplify-1-u64.c: New test. + * gcc.dg/tree-ssa/sat_u_add-simplify-1-u8.c: New test. + +2024-10-25 Jakub Jelinek + + PR lto/117201 + PR lto/117288 + * gcc.dg/lto/pr117201_0.c: New test. + * gcc.dg/lto/pr117288_0.c: New test. + +2024-10-25 Richard Sandiford + + * gcc.dg/tree-ssa/shifts-3.c: Accept widen_mult for f2 too. + +2024-10-25 Eric Botcazou + + PR ada/116551 + * gnat.dg/specs/vfa3.ads: New test. + +2024-10-25 Jennifer Schmitz + + * gcc.target/aarch64/sve2/acle/asm/aba_s32.c: New tests. + * gcc.target/aarch64/sve2/acle/asm/aba_s64.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/aba_u32.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/aba_u64.c: Likewise. + +2024-10-24 Nathaniel Shead + + * g++.dg/modules/class-10_a.H: New test. + * g++.dg/modules/class-10_b.C: New test. + +2024-10-24 Nathaniel Shead + + * g++.dg/modules/clone-2_a.C: New test. + * g++.dg/modules/clone-2_b.C: New test. + * g++.dg/modules/clone-3_a.C: New test. + * g++.dg/modules/clone-3_b.C: New test. + +2024-10-24 Nathaniel Shead + + PR c++/115007 + * g++.dg/modules/virt-6_a.C: New test. + * g++.dg/modules/virt-6_b.C: New test. + +2024-10-24 Nathaniel Shead + + * g++.dg/modules/virt-5_a.C: New test. + * g++.dg/modules/virt-5_b.C: New test. + +2024-10-24 David Malcolm + + PR other/116613 + * gcc.dg/plugin/analyzer_cpython_plugin.c: Convert call outcomes + from "get_desc" to print_desc". + * gcc.dg/plugin/analyzer_gil_plugin.c: Update for changes to + pending_diagnostic vfuncs. + +2024-10-24 Joseph Myers + + * gcc.dg/stack-check-2.c: Use -fno-ipa-icf. + +2024-10-24 Dimitar Dimitrov + + PR ipa/113197 + * gcc.dg/lto/pr113197_0.c: Require effective target pie. + +2024-10-24 David Malcolm + Gaius Mulley + + PR other/116613 + * gcc.dg/plugin/diagnostic_group_plugin.c: Update for use of + std::unique_ptr. + * gcc.dg/plugin/diagnostic_plugin_xhtml_format.c: Likewise. + * gcc.dg/plugin/ggcplug.c: Likewise. + +2024-10-24 Richard Sandiford + + * gcc.target/aarch64/sve/cnt_fold_6.c: New test. + +2024-10-24 Richard Sandiford + + * gcc.dg/tree-ssa/shifts-3.c: New test. + * gcc.dg/tree-ssa/shifts-4.c: Likewise. + * gcc.target/aarch64/sve/cnt_fold_5.c: Likewise. + +2024-10-24 Richard Sandiford + + * gcc.target/aarch64/sve/cnt_fold_4.c: New test. + +2024-10-24 Richard Sandiford + + * gcc.dg/tree-ssa/shifts-1.c: New test. + * gcc.dg/tree-ssa/shifts-2.c: Likewise. + +2024-10-24 Richard Sandiford + + * gcc.dg/tree-ssa/mulexactdiv-5.c: New test. + * gcc.dg/tree-ssa/mulexactdiv-6.c: Likewise. + * gcc.dg/tree-ssa/mulexactdiv-7.c: Likewise. + * gcc.dg/tree-ssa/mulexactdiv-8.c: Likewise. + * gcc.target/aarch64/sve/cnt_fold_3.c: Likewise. + +2024-10-24 Richard Sandiford + + * gcc.dg/tree-ssa/mulexactdiv-1.c: New test. + * gcc.dg/tree-ssa/mulexactdiv-2.c: Likewise. + * gcc.dg/tree-ssa/mulexactdiv-3.c: Likewise. + * gcc.dg/tree-ssa/mulexactdiv-4.c: Likewise. + * gcc.target/aarch64/sve/cnt_fold_1.c: Likewise. + * gcc.target/aarch64/sve/cnt_fold_2.c: Likewise. + +2024-10-24 Richard Sandiford + + * gcc.dg/tree-ssa/cmpexactdiv-6.c: New test. + +2024-10-24 Jakub Jelinek + + PR c++/117259 + * g++.dg/ubsan/pr117259.C: New test. + +2024-10-24 Jakub Jelinek + + PR sanitizer/117209 + * gcc.dg/asan/pr117209.c: New test. + +2024-10-24 Jennifer Schmitz + + * gcc.target/aarch64/sve2/acle/asm/sra_s32.c: New test. + * gcc.target/aarch64/sve2/acle/asm/sra_s64.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/sra_u32.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/sra_u64.c: Likewise. + +2024-10-24 Soumya AR + + * gcc.target/aarch64/sve/const_fold_lsl_1.c: New test. + +2024-10-24 Jennifer Schmitz + + * gcc.target/aarch64/sve/acle/asm/div_s32.c: New test. + * gcc.target/aarch64/sve/acle/asm/mul_s16.c: Adjust expected outcome. + * gcc.target/aarch64/sve/acle/asm/mul_s32.c: New test. + * gcc.target/aarch64/sve/acle/asm/mul_s64.c: Adjust expected outcome. + * gcc.target/aarch64/sve/acle/asm/mul_s8.c: Likewise. + * gcc.target/aarch64/sve/div_const_run.c: New test. + * gcc.target/aarch64/sve/mul_const_run.c: Likewise. + +2024-10-24 Jennifer Schmitz + + * gcc.target/aarch64/sve/index_const_fold.c: New test. + +2024-10-24 Jakub Jelinek + + PR rtl-optimization/116488 + PR rtl-optimization/117226 + * gcc.dg/torture/pr116488.c (c, e): Change type from char to + signed char. + * gcc.dg/torture/pr117226.c (main): Change f type from char to + signed char. + +2024-10-24 Pan Li + + * gcc.target/riscv/rvv/autovec/vec_sat_arith.h: Add test helper macros. + * gcc.target/riscv/rvv/autovec/binop/vec_sat_s_add-13.c: New test. + * gcc.target/riscv/rvv/autovec/binop/vec_sat_s_add-14.c: New test. + * gcc.target/riscv/rvv/autovec/binop/vec_sat_s_add-15.c: New test. + * gcc.target/riscv/rvv/autovec/binop/vec_sat_s_add-16.c: New test. + * gcc.target/riscv/rvv/autovec/binop/vec_sat_s_add-run-13.c: New test. + * gcc.target/riscv/rvv/autovec/binop/vec_sat_s_add-run-14.c: New test. + * gcc.target/riscv/rvv/autovec/binop/vec_sat_s_add-run-15.c: New test. + * gcc.target/riscv/rvv/autovec/binop/vec_sat_s_add-run-16.c: New test. + 2024-10-23 Pengxuan Zheng PR target/113860 diff --git a/include/ChangeLog b/include/ChangeLog index 591afcfe096..39d46998674 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,21 @@ +2024-10-25 Jakub Jelinek + + * dyn-string.h: Remove trailing whitespace. + * libiberty.h: Likewise. + * xregex.h: Likewise. + * splay-tree.h: Likewise. + * partition.h: Likewise. + * plugin-api.h: Likewise. + * demangle.h: Likewise. + * vtv-change-permission.h: Likewise. + * fibheap.h: Likewise. + * hsa_ext_image.h: Likewise. + * hashtab.h: Likewise. + * libcollector.h: Likewise. + * sort.h: Likewise. + * symcat.h: Likewise. + * hsa_ext_amd.h: Likewise. + 2024-10-07 Tobias Burnus * gomp-constants.h (GOMP_OMP_PREDEF_ALLOC_MAX, diff --git a/libbacktrace/ChangeLog b/libbacktrace/ChangeLog index b2f08b6939e..eb27d281224 100644 --- a/libbacktrace/ChangeLog +++ b/libbacktrace/ChangeLog @@ -1,3 +1,8 @@ +2024-10-25 Ian Lance Taylor + + * macho.c (dwarf_section_names): Add __debug_addr and + __debug_line_str. + 2024-10-18 Ian Lance Taylor * dwarf.c (resolve_unit_addrs_overlap_walk): New static function. diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 703f30d4f5a..9e54d1aed28 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,23 @@ +2024-10-25 Jakub Jelinek + + * directives.cc: Remove trailing whitespace. + * mkdeps.cc: Likewise. + * line-map.cc: Likewise. + * internal.h: Likewise. + * files.cc: Likewise. + * init.cc: Likewise. + * makeucnid.cc: Likewise. + * system.h: Likewise. + * include/line-map.h: Likewise. + * include/symtab.h: Likewise. + * include/cpplib.h: Likewise. + * expr.cc: Likewise. + * charset.cc: Likewise. + * macro.cc: Likewise. + * errors.cc: Likewise. + * lex.cc: Likewise. + * traditional.cc: Likewise. + 2024-10-23 Jakub Jelinek * include/cpplib.h (struct cpp_options): Add diff --git a/libffi/ChangeLog b/libffi/ChangeLog index 1d32126ebe6..aa96baa2714 100644 --- a/libffi/ChangeLog +++ b/libffi/ChangeLog @@ -1,3 +1,8 @@ +2024-10-24 Yang Yujie + + * src/loongarch64/ffi.c: Avoid defining floats + in struct call_context if the ABI is soft-float. + 2024-10-16 Joseph Myers * testsuite/libffi.call/va_struct2.c (test_fn): Cast n to void. diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 4a17251e9dd..63e1c6e3edc 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,91 @@ +2024-10-25 Jakub Jelinek + + * crtstuff.c: Remove trailing whitespace. + * libgcov.h: Likewise. + * config/alpha/crtfastmath.c: Likewise. + * config/alpha/vms-gcc_shell_handler.c: Likewise. + * config/alpha/vms-unwind.h: Likewise. + * config/pa/linux-atomic.c: Likewise. + * config/pa/linux-unwind.h: Likewise. + * config/pa/quadlib.c: Likewise. + * config/pa/fptr.c: Likewise. + * config/s390/32/_fixsfdi.c: Likewise. + * config/s390/32/_fixunssfdi.c: Likewise. + * config/s390/32/_fixunsdfdi.c: Likewise. + * config/c6x/pr-support.c: Likewise. + * config/lm32/_udivsi3.c: Likewise. + * config/lm32/libgcc_lm32.h: Likewise. + * config/lm32/_udivmodsi4.c: Likewise. + * config/lm32/_mulsi3.c: Likewise. + * config/lm32/_modsi3.c: Likewise. + * config/lm32/_umodsi3.c: Likewise. + * config/lm32/_divsi3.c: Likewise. + * config/darwin-crt3.c: Likewise. + * config/msp430/mpy.c: Likewise. + * config/ia64/tf-signs.c: Likewise. + * config/ia64/fde-vms.c: Likewise. + * config/ia64/unwind-ia64.c: Likewise. + * config/ia64/vms-unwind.h: Likewise. + * config/ia64/sfp-exceptions.c: Likewise. + * config/ia64/quadlib.c: Likewise. + * config/ia64/unwind-ia64.h: Likewise. + * config/rl78/vregs.h: Likewise. + * config/arm/bpabi.c: Likewise. + * config/arm/unwind-arm.c: Likewise. + * config/arm/pr-support.c: Likewise. + * config/arm/linux-atomic.c: Likewise. + * config/arm/bpabi-lib.h: Likewise. + * config/frv/frvend.c: Likewise. + * config/frv/cmovw.c: Likewise. + * config/frv/frvbegin.c: Likewise. + * config/frv/cmovd.c: Likewise. + * config/frv/cmovh.c: Likewise. + * config/aarch64/cpuinfo.c: Likewise. + * config/i386/crtfastmath.c: Likewise. + * config/i386/cygming-crtend.c: Likewise. + * config/i386/32/tf-signs.c: Likewise. + * config/i386/crtprec.c: Likewise. + * config/i386/sfp-exceptions.c: Likewise. + * config/i386/w32-unwind.h: Likewise. + * config/m32r/initfini.c: Likewise. + * config/sparc/crtfastmath.c: Likewise. + * config/gcn/amdgcn_veclib.h: Likewise. + * config/nios2/linux-atomic.c: Likewise. + * config/nios2/linux-unwind.h: Likewise. + * config/nios2/lib2-mul.c: Likewise. + * config/nios2/lib2-nios2.h: Likewise. + * config/xtensa/unwind-dw2-xtensa.c: Likewise. + * config/rs6000/darwin-fallback.c: Likewise. + * config/rs6000/ibm-ldouble.c: Likewise. + * config/rs6000/sfp-machine.h: Likewise. + * config/rs6000/darwin-asm.h: Likewise. + * config/rs6000/darwin-crt2.c: Likewise. + * config/rs6000/aix-unwind.h: Likewise. + * config/rs6000/sfp-exceptions.c: Likewise. + * config/gthr-vxworks.c: Likewise. + * config/riscv/atomic.c: Likewise. + * config/visium/memcpy.c: Likewise. + * config/darwin-crt-tm.c: Likewise. + * config/stormy16/lib2funcs.c: Likewise. + * config/arc/ieee-754/divtab-arc-sf.c: Likewise. + * config/arc/ieee-754/divtab-arc-df.c: Likewise. + * config/arc/initfini.c: Likewise. + * config/sol2/gmon.c: Likewise. + * config/microblaze/divsi3_table.c: Likewise. + * config/m68k/fpgnulib.c: Likewise. + * libgcov-driver.c: Likewise. + * unwind-dw2.c: Likewise. + * fp-bit.c: Likewise. + * dfp-bit.h: Likewise. + * dfp-bit.c: Likewise. + * libgcov-driver-system.c: Likewise. + +2024-10-24 David Malcolm + Gaius Mulley + + PR other/116613 + * libgcov-util.c: Add #define INCLUDE_MEMORY. + 2024-10-17 Christophe Lyon * config/aarch64/t-aarch64: Always use -Werror diff --git a/libgcc/config/avr/libf7/ChangeLog b/libgcc/config/avr/libf7/ChangeLog index ce80d3815be..373b32f44a6 100644 --- a/libgcc/config/avr/libf7/ChangeLog +++ b/libgcc/config/avr/libf7/ChangeLog @@ -1,3 +1,7 @@ +2024-10-25 Jakub Jelinek + + * f7-renames.h: Remove trailing whitespace. + 2024-06-14 Georg-Johann Lay PR target/115419 diff --git a/libgcc/config/libbid/ChangeLog b/libgcc/config/libbid/ChangeLog index db0fc68230c..82aae325d66 100644 --- a/libgcc/config/libbid/ChangeLog +++ b/libgcc/config/libbid/ChangeLog @@ -1,3 +1,84 @@ +2024-10-25 Jakub Jelinek + + * _le_td.c: Remove trailing whitespace. + * bid128_compare.c: Likewise. + * bid_div_macros.h: Likewise. + * bid64_to_bid128.c: Likewise. + * bid64_to_uint32.c: Likewise. + * bid128_to_uint64.c: Likewise. + * bid64_div.c: Likewise. + * bid128_round_integral.c: Likewise. + * bid_binarydecimal.c: Likewise. + * bid128_string.c: Likewise. + * bid_flag_operations.c: Likewise. + * bid128_to_int64.c: Likewise. + * _mul_sd.c: Likewise. + * bid64_mul.c: Likewise. + * bid128_noncomp.c: Likewise. + * _gt_dd.c: Likewise. + * bid64_add.c: Likewise. + * bid64_string.c: Likewise. + * bid_from_int.c: Likewise. + * bid128.c: Likewise. + * _ge_dd.c: Likewise. + * _ne_sd.c: Likewise. + * _dd_to_td.c: Likewise. + * _unord_sd.c: Likewise. + * bid64_to_uint64.c: Likewise. + * _gt_sd.c: Likewise. + * _sd_to_td.c: Likewise. + * _addsub_td.c: Likewise. + * _ne_td.c: Likewise. + * bid_dpd.c: Likewise. + * bid128_add.c: Likewise. + * bid128_next.c: Likewise. + * _lt_sd.c: Likewise. + * bid64_next.c: Likewise. + * bid128_mul.c: Likewise. + * _lt_dd.c: Likewise. + * _ge_td.c: Likewise. + * _unord_dd.c: Likewise. + * bid64_sqrt.c: Likewise. + * bid_sqrt_macros.h: Likewise. + * bid64_fma.c: Likewise. + * _sd_to_dd.c: Likewise. + * bid_conf.h: Likewise. + * bid64_noncomp.c: Likewise. + * bid_gcc_intrinsics.h: Likewise. + * _gt_td.c: Likewise. + * _ge_sd.c: Likewise. + * bid128_minmax.c: Likewise. + * bid128_quantize.c: Likewise. + * bid32_to_bid64.c: Likewise. + * bid_round.c: Likewise. + * _td_to_sd.c: Likewise. + * bid_inline_add.h: Likewise. + * bid128_fma.c: Likewise. + * _eq_td.c: Likewise. + * bid32_to_bid128.c: Likewise. + * bid64_rem.c: Likewise. + * bid128_2_str_tables.c: Likewise. + * _mul_dd.c: Likewise. + * _dd_to_sd.c: Likewise. + * bid128_div.c: Likewise. + * _lt_td.c: Likewise. + * bid64_compare.c: Likewise. + * bid64_to_int32.c: Likewise. + * _unord_td.c: Likewise. + * bid128_rem.c: Likewise. + * bid_internal.h: Likewise. + * bid64_to_int64.c: Likewise. + * _eq_dd.c: Likewise. + * _td_to_dd.c: Likewise. + * bid128_to_int32.c: Likewise. + * bid128_to_uint32.c: Likewise. + * _ne_dd.c: Likewise. + * bid64_quantize.c: Likewise. + * _le_dd.c: Likewise. + * bid64_round_integral.c: Likewise. + * _le_sd.c: Likewise. + * bid64_minmax.c: Likewise. + 2024-05-05 liuhongt * bid128_fma.c (add_and_round): Fix bug: the result diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 4029186da96..314ba364be7 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,172 @@ +2024-10-25 Jonathan Wakely + + * testsuite/21_strings/basic_string/operators/char/op_plus_string_view.cc: + Check __cpp_lib_constexpr_string. + +2024-10-25 Giuseppe D'Angelo + + * include/bits/basic_string.h: Implement the four operator+ + overloads between basic_string and (types convertible to) + basic_string_view. + * include/bits/version.def: Bump the feature-testing macro. + * include/bits/version.h: Regenerate. + * testsuite/21_strings/basic_string/operators/char/op_plus_fspath_neg.cc: New test. + * testsuite/21_strings/basic_string/operators/char/op_plus_string_view.cc: New test. + * testsuite/21_strings/basic_string/operators/char/op_plus_string_view_compat.cc: + New test. + +2024-10-25 Jakub Jelinek + + * include/debug/debug.h: Remove trailing whitespace. + * include/parallel/base.h: Likewise. + * include/parallel/types.h: Likewise. + * include/parallel/settings.h: Likewise. + * include/parallel/multiseq_selection.h: Likewise. + * include/parallel/partition.h: Likewise. + * include/parallel/random_number.h: Likewise. + * include/parallel/find_selectors.h: Likewise. + * include/parallel/partial_sum.h: Likewise. + * include/parallel/list_partition.h: Likewise. + * include/parallel/search.h: Likewise. + * include/parallel/algorithmfwd.h: Likewise. + * include/parallel/random_shuffle.h: Likewise. + * include/parallel/multiway_mergesort.h: Likewise. + * include/parallel/sort.h: Likewise. + * include/parallel/algobase.h: Likewise. + * include/parallel/numericfwd.h: Likewise. + * include/parallel/multiway_merge.h: Likewise. + * include/parallel/losertree.h: Likewise. + * include/bits/basic_ios.h: Likewise. + * include/bits/stringfwd.h: Likewise. + * include/bits/ostream_insert.h: Likewise. + * include/bits/stl_heap.h: Likewise. + * include/bits/unordered_map.h: Likewise. + * include/bits/hashtable_policy.h: Likewise. + * include/bits/stl_iterator_base_funcs.h: Likewise. + * include/bits/valarray_before.h: Likewise. + * include/bits/regex.h: Likewise. + * include/bits/postypes.h: Likewise. + * include/bits/stl_iterator.h: Likewise. + * include/bits/localefwd.h: Likewise. + * include/bits/stl_algo.h: Likewise. + * include/bits/ios_base.h: Likewise. + * include/bits/stl_function.h: Likewise. + * include/bits/basic_string.h: Likewise. + * include/bits/hashtable.h: Likewise. + * include/bits/valarray_after.h: Likewise. + * include/bits/char_traits.h: Likewise. + * include/bits/gslice.h: Likewise. + * include/bits/locale_facets_nonio.h: Likewise. + * include/bits/mask_array.h: Likewise. + * include/bits/specfun.h: Likewise. + * include/bits/random.h: Likewise. + * include/bits/slice_array.h: Likewise. + * include/bits/valarray_array.h: Likewise. + * include/tr1/float.h: Likewise. + * include/tr1/functional_hash.h: Likewise. + * include/tr1/math.h: Likewise. + * include/tr1/hashtable_policy.h: Likewise. + * include/tr1/stdio.h: Likewise. + * include/tr1/complex.h: Likewise. + * include/tr1/stdbool.h: Likewise. + * include/tr1/stdarg.h: Likewise. + * include/tr1/inttypes.h: Likewise. + * include/tr1/fenv.h: Likewise. + * include/tr1/stdlib.h: Likewise. + * include/tr1/wchar.h: Likewise. + * include/tr1/tgmath.h: Likewise. + * include/tr1/limits.h: Likewise. + * include/tr1/wctype.h: Likewise. + * include/tr1/stdint.h: Likewise. + * include/tr1/ctype.h: Likewise. + * include/tr1/random.h: Likewise. + * include/tr1/shared_ptr.h: Likewise. + * include/ext/mt_allocator.h: Likewise. + * include/ext/sso_string_base.h: Likewise. + * include/ext/debug_allocator.h: Likewise. + * include/ext/vstring_fwd.h: Likewise. + * include/ext/pointer.h: Likewise. + * include/ext/pod_char_traits.h: Likewise. + * include/ext/malloc_allocator.h: Likewise. + * include/ext/vstring.h: Likewise. + * include/ext/bitmap_allocator.h: Likewise. + * include/ext/pool_allocator.h: Likewise. + * include/ext/type_traits.h: Likewise. + * include/ext/ropeimpl.h: Likewise. + * include/ext/codecvt_specializations.h: Likewise. + * include/ext/throw_allocator.h: Likewise. + * include/ext/extptr_allocator.h: Likewise. + * include/ext/atomicity.h: Likewise. + * include/ext/concurrence.h: Likewise. + * include/c_compatibility/wchar.h: Likewise. + * include/c_compatibility/stdint.h: Likewise. + * include/backward/hash_fun.h: Likewise. + * include/backward/binders.h: Likewise. + * include/backward/hashtable.h: Likewise. + * include/backward/auto_ptr.h: Likewise. + * libsupc++/eh_arm.cc: Likewise. + * libsupc++/unwind-cxx.h: Likewise. + * libsupc++/si_class_type_info.cc: Likewise. + * libsupc++/vec.cc: Likewise. + * libsupc++/class_type_info.cc: Likewise. + * libsupc++/vmi_class_type_info.cc: Likewise. + * libsupc++/guard_error.cc: Likewise. + * libsupc++/bad_typeid.cc: Likewise. + * libsupc++/eh_personality.cc: Likewise. + * libsupc++/atexit_arm.cc: Likewise. + * libsupc++/pmem_type_info.cc: Likewise. + * libsupc++/vterminate.cc: Likewise. + * libsupc++/eh_terminate.cc: Likewise. + * libsupc++/bad_cast.cc: Likewise. + * libsupc++/exception_ptr.h: Likewise. + * libsupc++/eh_throw.cc: Likewise. + * libsupc++/bad_alloc.cc: Likewise. + * libsupc++/nested_exception.cc: Likewise. + * libsupc++/pointer_type_info.cc: Likewise. + * libsupc++/pbase_type_info.cc: Likewise. + * libsupc++/bad_array_new.cc: Likewise. + * libsupc++/pure.cc: Likewise. + * libsupc++/eh_exception.cc: Likewise. + * libsupc++/bad_array_length.cc: Likewise. + * libsupc++/cxxabi.h: Likewise. + * libsupc++/guard.cc: Likewise. + * libsupc++/eh_catch.cc: Likewise. + * libsupc++/cxxabi_forced.h: Likewise. + * libsupc++/tinfo.h: Likewise. + +2024-10-24 François Dumont + + * testsuite/23_containers/unordered_map/96088.cc (test03): Fix increments + value when _GLIBCXX_USE_CXX11_ABI is equal to 0. + +2024-10-24 Jonathan Wakely + + * testsuite/26_numerics/complex/ext_c++23.cc: Fix typo in macro. + * testsuite/26_numerics/headers/cmath/constexpr_std_c++23.cc: + Likewise. + * testsuite/26_numerics/headers/cmath/functions_std_c++23.cc: + Likewise. + * testsuite/26_numerics/headers/cmath/nextafter_c++23.cc: + Likewise. + +2024-10-24 Jonathan Wakely + + * include/std/variant (__throw_bad_variant_access(unsigned)): + Define new function as inline friend, with namespace-scope + declaration using noreturn attribute. + (__throw_bad_variant_access(const char*)): Remove. + (__throw_bad_variant_access(bool)): Remove. + (visit, visit): Adjust calls to __throw_bad_variant_access. + +2024-10-24 Ricardo Jesus + + * config/cpu/aarch64/opt/ext/opt_random.h (__VEXT): Replace uses + of __builtin_shuffle with __builtin_shufflevector. + (__aarch64_lsl_128): Move shift amount to a template parameter. + (__aarch64_lsr_128): Move shift amount to a template parameter. + (__aarch64_recursion): Update call sites of __aarch64_lsl_128 + and __aarch64_lsr_128. + 2024-10-23 Jonathan Wakely * testsuite/18_support/headers/cstdalign/macros.cc: New test.