@dev how on earthwhat is C++ doing??
@ionchy @dev WHATEVER IT WANTS
@ionchy from what I understand, the optimizer sees undefined behavior and thinks it is its chance to commit crimes
@dev @ionchy how is an empty loop undefined behaviour
@david @ionchy I've been told that infinite loops without side effects are UB
@dev @david @ionchy see also the C optimizer solving the collatz conjecture
@justinfrank @dev @ionchy this seems incorrect
@david @justinfrank @ionchy found this from John! https://blog.regehr.org/archives/140
@dev @david @ionchy oh it might only be C++ toohttps://godbolt.org/z/3skK9j
@ionchy @dev WHATEVER IT WANTS