https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93031
Alexander Monakov <amonakov at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amonakov at gcc dot gnu.org --- Comment #2 from Alexander Monakov <amonakov at gcc dot gnu.org> --- That must be the most well-written report I've seen so far sacrificed to the God of Unfairly Closed Bugreports. Note that GCC aims to allow partial overlap for situations when alignment<size, see responses from Richi in PR 91091 ("Note that GCC middle-end semantics would allow partial overlaps here unless you factor in alignment requirements") and PR 91419. It sounds messy but possible to respect alignment for ABI purposes and "forget" it for optimization purposes, but hard to say if such feature would have any users. If there are examples of legacy code in need of such option, it might be good to know.