3 ms·
The GCC developers disagree as of last December: > Type punning via unions is undefined behavior in both c and c++. https://gcc.gnu.org/bugzilla/show_bug.cgi?
by ryao 1y ago
The GCC developers disagree as of last December:
> 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
- saagarjha 1y agoI think they're wrong about C.