[Issue 9969] dmd ABI mistake (cfloat static array initialisation)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Apr 20 10:14:13 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9969



--- Comment #2 from John Colvin <john.loughran.colvin at gmail.com> 2013-04-20 18:14:12 BST ---
(In reply to comment #1)
> Looks like an issue 9449.
> 
> I think the problem isn't  "ABI mistake" (or a codegen bug as often mentioned
> here - many people who can spot an error from asm output tend to blame backend)
> but absence of crosstalk between how dmd assumes memset functions look like and
> how they are actually defined in druntime.

I'm confused as to how trying to pass a variable on the stack to an extern(C)
function with less than 6 arguments on linux x64 is not a codegen error of some
sorts. It's using the wrong calling convention...

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list