D and expression evaluation order.

Luís Marques luismarques+spam at gmail.com
Thu Apr 26 14:51:48 PDT 2007


Bruno Medeiros wrote:
> In that case, it is possible for the compiler to detect if the 
> evaluation order matters, and if it doesn't (currently the only allowed 
> situation in D), it can push the arguments in any order it pleases him.

The compiler can only detect some cases, kind of like constant folding, 
but it might aliviate many cases. Inter-module flow analysis would help 
here (coming soon with GCC, weee!)

--
Luís



More information about the Digitalmars-d mailing list