https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94482
--- Comment #7 from Evan Nemerson <e...@coeus-group.com> --- Created attachment 48203 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48203&action=edit Non-reduced test case Thanks for looking into this. ASan didn't have any issues with the original, non-reduced test. Here is a compressed copy. I'm generating a new reduced version now, checking ASan and UBSan along the way (as well as using -Wall -Werror to make sure the result compiles cleanly), I'll upload it as soon as it's ready.