>>106286803
>An infinite loop is considered undefined behavior, so it was optimized away
Back in the day, a compiler that did shit like that was considered broken.
>>106286814
RAD was right. Nobody can takes the likes of clang seriously if they are pulling this bullshit. Delete code if it passes some obscure "Undefined Behavior" threshold.