https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110027
Christoph Erhardt <gcc at sicherha dot de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #56169|0 |1 is obsolete| | --- Comment #26 from Christoph Erhardt <gcc at sicherha dot de> --- Created attachment 58325 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58325&action=edit Reproducer program, new version Unfortunately, the fix appears to be incomplete. On x86_64 Fedora Linux 40 with the latest GCC 14.1.1, my reproducer program still segfaults with a misaligned `vmovdqa64`. I have managed to further strip the program down to a now-manageable size - see attachment. $ gcc -Wall -Wextra -g -Og -fsanitize=address -fno-stack-protector -mavx512f a-repro.i $ ./a.out AddressSanitizer:DEADLYSIGNAL ================================================================= ==107156==ERROR: AddressSanitizer: SEGV on unknown address (pc 0x000000401463 bp 0x7ffd76144620 sp 0x7ffd76144200 T0) ==107156==The signal is caused by a READ memory access. ==107156==Hint: this fault was caused by a dereference of a high value address (see register values below). Disassemble the provided pc to learn which register was used. #0 0x401463 in blake3_compress_subtree_wide /home/christoph/Projects/gcc-asan-stack-misalign/repro.c:52 #1 0x40158c in main /home/christoph/Projects/gcc-asan-stack-misalign/repro.c:57 #2 0x7f60dde3d087 in __libc_start_call_main (/lib64/libc.so.6+0x2a087) (BuildId: 4a92fcedbba6d6d2629ce066a2970017faa9995e) #3 0x7f60dde3d14a in __libc_start_main_alias_2 (/lib64/libc.so.6+0x2a14a) (BuildId: 4a92fcedbba6d6d2629ce066a2970017faa9995e) #4 0x4010b4 in _start (/home/christoph/Projects/gcc-asan-stack-misalign/a.out+0x4010b4) (BuildId: 9f1d4d25413300b7347d0776d7087844a8d56649) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV /home/christoph/Projects/gcc-asan-stack-misalign/repro.c:52 in blake3_compress_subtree_wide ==107156==ABORTING