June 25, 2012 [Issue 8294] New: complex breaks calling in 64 bit DMD | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=8294 Summary: complex breaks calling in 64 bit DMD Product: D Version: D1 Platform: x86_64 OS/Version: Linux Status: NEW Severity: major Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: fawzi@gmx.ch --- Comment #0 from Fawzi Mohamed <fawzi@gmx.ch> 2012-06-25 04:41:24 PDT --- module t; extern(C) int printf(char*,...); void fff(void delegate(char[]) d, cfloat x){ printf("%p %p\n".ptr,d.funcptr,d.ptr); } int main(char[][] argv){ cfloat x; auto d=delegate void(char[]) { }; printf("%p %p\n".ptr,d.funcptr,d.ptr); fff(d,x); return 0; } will print garbage in fff. The simple fact of passing in x pollutes the first argument. This is probably be related with Bug 5570, and the work done in it, as it is a 64 bit only issue. D2 does not seem to have the issue. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
March 04, 2013 [Issue 8294] complex breaks calling in 64 bit DMD | ||||
---|---|---|---|---|
| ||||
Posted in reply to Fawzi Mohamed | http://d.puremagic.com/issues/show_bug.cgi?id=8294 Don <clugdbug@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Don <clugdbug@yahoo.com.au> 2013-03-04 01:35:39 PST --- Fixed in DMD1.075. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation