Comment by ryao Comment by ryao a day ago 1 reply Copy Link View on Hacker News 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
Copy Link saagarjha a day ago Collapse Comment - I think they're wrong about C. Reply View | 0 replies
I think they're wrong about C.