|
|
|
|
|
by xscott
1527 days ago
|
|
> It's not sufficient to say "there's an int2ptr cast, so stop optimization." Complicated or not, it's necessary that optimizations do not break correct code. There doesn't seem to be a problem (UB or otherwise) in the first function at the top of the article, but the second one has a clear aliasing problem that violates the promise the `strict` makes. That translation was invalid. |
|