postincrement behaviour (differences between dmd and gdc)

Kagamin spam at here.lot
Wed Apr 20 03:15:08 PDT 2011


Iain Buclaw Wrote:

> And the backend for GDC interprets it as:
> 
>   x = x;
>   x++;

As I understand, you pass the expression to the backend as is, the backend interprets it in the C way, and you get surprising result on discrepancy between C and D semantics?


More information about the Digitalmars-d mailing list