Re:On C-optimizing compilers removing code that has undefine...
by vyodaiken on Tuesday June 20, 2017 @10:01PM
(#14600101)
Actually, it's even more ridiculous than that. Reading with a char * is UB. Reading with an unsigned char is not. Why? Because the C90 standard made it impossible to write memcpy in C so the committee added a hack for unsigned char .
[ Parent
| on HN ]
There are no comments on this comment yet.