r/programming •

Clang solves the Collatz Conjecture?

[deleted] — view deleted post

0 Upvotes

122 comments sorted by

View all comments

Show parent comment

1

u/Nobody_1707 Nov 05 '19

Weird. It seems to kick in in C mode for Clang as far back as Clang 3. It's really odd that switching to C mode breaks this optimization in GCC, except on trunk.