Current GDC experience and questions
Johannes Pfau
nospam at example.com
Fri Mar 8 08:11:41 PST 2013
Am Fri, 8 Mar 2013 15:18:53 +0000
schrieb Iain Buclaw <ibuclaw at ubuntu.com>:
> Yet not all attributes that GCC offers actually make sense to have in
> D. We certainly need to have a review of each one and discuss what is
> most important to have. Also defining our own unique attributes
> along the way. :o)
>
To get the discussion started: I think we could adopt these LDC
pragmas:
LDC_no_typeinfo
LDC_no_moduleinfo
Maybe nice to have:
LDC_global_crt_ctor and LDC_global_crt_dtor
(is this the same as
__attribute__((constructor))/__attribute__((destructor))) ?
Not needed in GDC?
LDC_allow_inline
(allow inlining a function continaining inline asm. not necessary for
gdc extended inline asm)
More information about the D.gnu
mailing list