SIMPLE: A language-independent tree IR
Per Bothner
per@bothner.com
Wed Jan 2 15:23:00 GMT 2002
Richard Henderson wrote:
> On Wed, Jan 02, 2002 at 02:51:49PM -0800, Per Bothner wrote:
>
>>If you're talking about some lower-level intermediate format...
>
> Yes, the one in the subject line. I thought that was clear.
Well, you did write something about removing _EXPR nodes and
just using _STMT nodes in your reply to Tom. I guess you
meant that the process of generating the lower-level format
would remove _EXPR nodes and just use _STMT nodes, not that
we would do so in tree.def.
If this lower-level representation is implemented using
tree nodes, then I still think it would be better to use
COND_EXPR instead of IF_STMT, just because I think the latter
is an abomination. There is no reason why an intermediate
format couldn't just with the restriction that COND_EXPR has
void sub-expressions.
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/
More information about the Gcc
mailing list