Re: [PATCH 1/3] d: Add TARGET_D_HAS_STDCALL_CONVENTION

2021-04-14 Thread ibuclaw--- via Gcc-patches
> On 05/04/2021 21:43 Iain Buclaw wrote: > > > Hi, > > This patch adds TARGET_D_HAS_STDCALL_CONVENTION as a new D front-end > target hook. It replaces the use of the D front-end `is64bit' parameter > in determining whether to insert the "stdcall" function attribute. > > It is also used to

[PATCH 1/3] d: Add TARGET_D_HAS_STDCALL_CONVENTION

2021-04-05 Thread Iain Buclaw via Gcc-patches
Hi, This patch adds TARGET_D_HAS_STDCALL_CONVENTION as a new D front-end target hook. It replaces the use of the D front-end `is64bit' parameter in determining whether to insert the "stdcall" function attribute. It is also used to determine whether `extern(System)' should be the same as