Nonstandard GCC features
bearophile
bearophileHUGS at lycos.com
Fri Nov 21 05:48:38 PST 2008
Michel Fortin:
>Just use data.ptr if you want to escape the bound checks.<
Ah, thank you.
>Do we need that when we have exceptions in D?<
You are right. But maybe people that write a kernel may prefer to check error return values instead of using exceptions. Note this article was about GCC used to write the Linux kernel, that has different (and harder) requirements compared to application code, for example I think you don't need __builtin_return_address often in normal code.
Bye,
bearophile
More information about the Digitalmars-d
mailing list