https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93031
--- Comment #7 from Alexander Monakov ---
In comment #2 I touched upon a potentially more practical way to offer
-fno-strict-alignment:
Run early work with ABI alignments: compute __alignof correctly, lay out
composite types as required by ABI,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93031
--- Comment #6 from Richard Biener ---
It's still UB. Note that GCC has for a _long_ time made this assumption - just
the places we take advantage of it have grown.
Note it would be _very_ difficult to provide a -fno-strict-alignment option
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93031
Vladislav Valtchev changed:
What|Removed |Added
CC||vladislav.valtchev at gmail
dot co
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93031
felix changed:
What|Removed |Added
CC||felix.von.s at posteo dot de
--- Comment #4
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93031
--- Comment #3 from Pascal Cuoq ---
@amonakov
The two blog posts below exist themselves, and describe tools that exist,
because software that makes misaligned access exists, although it seems to
be a “examples too numerous to list” situation
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93031
Alexander Monakov changed:
What|Removed |Added
CC||amonakov at gcc dot gnu.org
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93031
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---