leon0399 / benchmarks

World's complete programming language benchmark
https://leon0399.ru/experiments/benchmarks/
MIT License
4 stars 1 forks source link

Loop in Collatz benchmark using gcc #1

Open leon0399 opened 2 years ago

leon0399 commented 2 years ago

Current behavior

Program goes to infinite loop (on 113382 iteration), which does not happen, when program compiled using clang

Expected behavior

Not to loop 🤷

Steps to reproduce

c-plus-plus $ make all
c-plus-plus $ ./collatz/MaxSequence-gcc