This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: [RFC] fold Reorganization Plan


On Feb 12, 2005, at 15:58, Richard Kenner wrote:
    As several front-end people have suggested, calling fold whilst
    constructing parse trees shouldn't be necessary (as shown by the
    shining examples of g77 and GNAT).

I don't follow. GNAT certainly calls fold for every expression it makes.

But GNAT doesn't rely on GCC for constant folding static expressions, or even call the back end before semantic analysis has finished! This is what we're talking about.

-Geert


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