This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: function-at-a-time processing in C
- To: per at bothner dot com
- Subject: Re: function-at-a-time processing in C
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Date: Thu, 15 Jun 00 07:27:41 EDT
- Cc: gcc-patches at gcc dot gnu dot org
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.