Program crashes when built with Clang but runs when built with GCC
Just how wild can a simple GCD program get? I wrote a stupid gcd program that returns, well, GCD of two numbers. Funny enough, the program runs fine when compiled with gcc but crashes with illegal hardware instruction when compiled with clang. My too...
Aug 25, 20227 min read1
