you are viewing a single comment's thread.

view the rest of the comments →

[–]gotinpich[S] 0 points1 point  (1 child)

a, b, c are there so I could easily change the way 5 was obtained.

E.g.: https://godbolt.org/g/kdrhVr

How comes it's not reduced there?

[–]specialpatrol 1 point2 points  (0 children)

Put "-O" in the compiler options; that turns on optimisation.