6 ms·
https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#Type-punning https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#Typ...
by jotux 1y ago
https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#Type-punning https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#Typ...
- ryao 1y agoWhat is your point? I already said that GCC defines it even though the C standard does not. As per the GCC developers: > Type punning via unions is undefined behavior in both c and c++. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118141#c13 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118141#c13