Remix.run Logo
ryao a day 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

saagarjha 14 hours ago | parent [-]

I think they're wrong about C.