Order of evaluation - aka hidden undefined behaviours.

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue Sep 25 16:02:13 PDT 2012


On 9/25/12 6:58 PM, Iain Buclaw wrote:
[snip]
> Serious note: This test is bogus as this and similar other failing tests
> on non-x86 platforms are not at all obvious to the users who get issues.
> So what are we to do about it?

The right answer is to have the front-end rewrite such expressions in a 
form that enforces correct order of operations.

Andrei




More information about the Digitalmars-d mailing list