----Original Message---- >From: Florian Weimer >Sent: 18 August 2005 13:00
> * Dave Korn: > >> PMFBI, but how is all this going to work on a cross compiler? > > Constant folding works in a cross-compiler, too. 8-) I was referring to this bit: > Remember that it's not > enough simply to execute the optimizers. You have to build a symbol > table and an environment for the code to execute in. IIUIC, that would be a requirement for the optimisers to be able to perform the full constant-folding and get the same results as if the function was executed at runtime instead, wouldn't it? It seems to me like it would be quite a difficult thing to get right in a cross environment. cheers, DaveK -- Can't think of a witty .sigline today....