Using fold() in frontends

Mark Mitchell mark@codesourcery.com
Tue Mar 8 03:59:00 GMT 2005


Richard Kenner wrote:

> I think the confusion may be in what is being called "parsing and 
> semantic analysis" as opposed to "the front end".  I agree that fold
> is probably not appropriate to be called during the former, but the latter
> includes the act of building the GENERIC tree and I see absolutely no
> reason to avoid calling fold as part of that process: it's far more efficient
> to do it then and build simpler trees than to burden the gimplication
> process with junk trees.

I think you're in violent agreement with the rest of us.

-- 
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304



More information about the Gcc mailing list