https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96532
--- Comment #9 from Christian Zietz <czietz at gmx dot net> --- (In reply to Jeffrey A. Law from comment #8) > Thorsten's testcase doesn't generate memset calls for me using the trunk. Fwiw, Compiler Explorer's "ARM GCC trunk", which reports itself as... arm-unknown-linux-gnueabihf-gcc (GCC) 15.0.1 20250309 (experimental) Copyright (C) 2025 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ... still generates a memset() (tail) call with Thorsten's testcase as of today. See: https://godbolt.org/z/3s7fK7oET