|
|
|
|
|
by nothrabannosir
652 days ago
|
|
> This is also the reason why undefined behavior can affect code executing prior to the occurrence of the undefined condition, because logical deduction as performed by the compiler is not restricted to the forward direction of control flow (and also because compilers reorder code as a consequence of their analysis). According to Martin Uecker, of the C standard comittee, that is not true: > In C, undefined behavior can not time travel. This was never supported by the wording and we clarified this in C23. https://news.ycombinator.com/item?id=40790203 |
|