News for hackers. Stuff that matters.
Re:54-line if condition in gcc's reload.c by GnarfGnarf on Wednesday July 02, 2014 @09:56AM (#7976963)
I will never have the skills to maintain let alone write a compiler. However, in a situation like this, I would break up the condition into a set of sub-conditions, set intermediate booleans, and progressively build upon the condition tests so as to make the code more intelligible and maintainable. No need for additional functions.

(Amusing incongruity: "boolean" fails the spellchecker in an IT forum :o)

Re:54-line if condition in gcc's reload.c by valarauca1 on Wednesday July 02, 2014 @10:10AM (#7977046)
>booleans

C doesn't support native booleans, C99 does-ish. And you can hack it in with

    #typedef enum {false, true} bool;
C uses ints, all the way down, for everything, until you hit turtles.