Undefined behaviors & Clang 3.3

deadalnix deadalnix at gmail.com
Fri Jun 21 11:24:33 PDT 2013


On Friday, 21 June 2013 at 15:51:55 UTC, qznc wrote:
> The D definition mirrors what modern PC architectures do and 
> hence can be compiled efficiently there. C avoids coupling with 
> any architecture hence "undefined".
>
> What architectures do not wrap around?

Some used to have +0 and -0 and so wrapping around do not work. 
But this didn't survived (or maybe in some exotic not heavily 
used chips).

Similarly, some arch used to use different values than 0 for 
null. I don't know any modern one that does it.


More information about the Digitalmars-d mailing list