This is the mail archive of the
mailing list for the GCC project.
Re: Patch to allow Ada to work with tree-ssa
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: mark at codesourcery dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 22 Jun 04 15:38:33 EDT
- Subject: Re: Patch to allow Ada to work with tree-ssa
However, you've penalized the vastly more common case (100% of the
cases in ANSI/ISO C89) at the expense of an uncommon case.
That's true in Ada as well, of course. But, unfortunately, much of
compiler development concentrates on getting the very uncommon cases right.
That's why you should find another way -- a different tree code, a
flag in the node indicating how many arguments are in use, or stuff
the additional arguments into the existing slots by using a TREE_LIST
in those slots as necessary.
Yes, but what I hear from the tree-ssa folks is that it's absolutely
critical that GIMPLE be as simple as possible, which goes against any
of those methods. That's the tradeoff here. If it were permitted to
make GIMPLE be more complex, we likely wouldn't have need the extra
fields in the first place!