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


On Thu, Jun 15, 2000 at 10:36:11AM -0700, Mark Mitchell wrote:
> So, I'm lost; I feel like your sentitments (which mirror mine) are
> precisely the reasons I didn't think we should put this stuff in
> language-independent code.

I suppose I may have overreacted a bit.  It's not actually
that much work to move lines from c-common.def to tree.def.
And obviously there's not as much consensus as to what the
language-independant tree codes should look like as I expected.

Do me a favor and arrange the code in the C and C++ front ends
to have a single point of hand-off between the entire function
as one big chain of language-dependant tree nodes and absolutely
everything to do with rtl.  This will make our future goals
easier to achieve.

I'm not sure how far you are from this architecture currently. 
Expanding trees to rtl appears to be curiously intertwined
between tsubst_expr and building_stmt_tree in the C++ front end;
I havn't seen what Stan and Ben have come up with for C.


r~

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