On 6 June 2015 at 16:53, Dan Olson via D.gnu <d.gnu@puremagic.com> wrote:
"Iain Buclaw via D.gnu" <d.gnu@puremagic.com> writes:

> On 5 Jun 2015 08:05, "Dan Olson via D.gnu" <d.gnu@puremagic.com>
> wrote:
>
> That's interesting, it should do that for you automatically, there
> should be only one reason why that doesn't happen, and I don't use it
> for pragma mangle.

That is what I expected too based on previous digitalmars.D
thread when you described gdc mangle and mangleof.

Alas, after looking at backend, it turns out that the answer is no.

In the glue sources (d-decls.cc), replace 'set_user_assembler_name' with 'SET_DECL_ASSEMBLER_NAME' and rebuild the module without your workaround.

Regards
Iain.