Type Punning in C and C++
- I had a bug that took me a while to track down.
- A pointer cast worked fine at -O0 and silently broke at -O2.
Unverified
- I had a bug that took me a while to track down.
- A pointer cast worked fine at -O0 and silently broke at -O2.
Sources: Pwkf