https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82898
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |alias, missed-optimization CC| |rguenth at gcc dot gnu.org --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- Indeed - nothing can be done here. Unsure whether the C standard says anything about it. Does int main() { int i; (float *)&i; } already invoke undefined behavior? I guess not.