This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: function-at-a-time processing in C


    First, where is the documentation?  Yes, I can figure these out
    from my knowledge of C, but I still want documentation.

    Second, why is there an IF_STMT?  What does it do that COND_EXPR
    doesn't do?

    Third, why are there separate FOR_STMT, WHILE_STMT, DO_STMT?  They are
    all variants of each other.  In fact, they are all special cases of
    LOOP_EXPR.  Using separate tree codes means useless extra code, and
    more difficulty writing optimizers.

We can't know without the documentation, right?  ;-)

Seriously, I also agree with these points, but didn't want to raise the
issue until I first saw the documentation.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]