ldc-developers/ldc — pull request #787 by redstar (2014-11-13 01:08:27+00:00)
Title: Fix for issue #637.

In case of a ctor `this` is passed to the function and is also the return value. This is the perfect case for the `Returned` attribute. But the x86_64 ABI missed the fact that the return value was a pointer to a struct and did a struct rewrite, resulting in an bitcast incompatible type.