[Bug target/110027] Misaligned vector store on detect_stack_use_after_return
elrodc at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Mar 8 11:41:29 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110027
--- Comment #9 from Chris Elrod <elrodc at gmail dot com> ---
> Interestingly this seems to be only reproducible on Arch Linux. Other gcc 13.1.1 builds, Fedora for instance, seem to behave correctly.
I haven't tried that reproducer on Fedora with gcc 13.2.1, which could have
regressed since 13.1.1.
However, the dup example in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114276
does reproduce on Fedora with gcc-13.2.1 once you add extra compile flags
`-std=c++23 -fstack-protector-strong`.
I'll try the original reproducer later, it may be the case that adding/removing
these flags fuzzes the alignment.
More information about the Gcc-bugs
mailing list