[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2020-08-31 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5570 Dlang Bot changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2020-08-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5570 Walter Bright changed: What|Removed |Added Keywords||backend --

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2019-12-04 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5570 Ali Cehreli changed: What|Removed |Added CC||acehr...@yahoo.com --- Comment #54 from Ali Ceh

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2019-07-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5570 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #53 from Dlang Bot --- @SSoulai

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2018-12-23 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5570 Nicholas Wilson changed: What|Removed |Added CC||iamthewilsona...@hotmail.co

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2018-10-05 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5570 Issue 5570 depends on issue 9239, which changed state. Issue 9239 Summary: x86_64 ABI: 3 byte structs are never enregistered https://issues.dlang.org/show_bug.cgi?id=9239 What|Removed |Added -

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2018-09-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5570 --- Comment #51 from Mike Franklin --- An potential additional $500 has been offered for a fix to this issue: https://forum.dlang.org/post/xlvstldxxehkqaxux...@forum.dlang.org --

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2018-09-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5570 Mike Franklin changed: What|Removed |Added CC||slavo5...@yahoo.com See Also|http:/

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2018-09-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5570 Mike Franklin changed: What|Removed |Added See Also|http://d.puremagic.com/issu | |es/show_bug.cgi?id=6772

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2018-09-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5570 Mike Franklin changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2018-09-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5570 Mike Franklin changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2018-09-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5570 Mike Franklin changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2018-02-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5570 Timothee Cour changed: What|Removed |Added CC||timothee.co...@gmail.com --- Comment #50 from

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2018-02-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5570 Walter Bright changed: What|Removed |Added Keywords||C++ --

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2015-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5570 Andrei Alexandrescu changed: What|Removed |Added Version|D1 & D2 |D2 --

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2015-01-15 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5570 yebblies changed: What|Removed |Added CC||yebbl...@gmail.com --- Comment #49 from yebblies

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2014-08-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5570 Andrei Alexandrescu changed: What|Removed |Added CC||and...@erdani.com --- Comment #48 from

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2014-08-11 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5570 Martin Nowak changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2014-08-11 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5570 --- Comment #47 from Martin Nowak --- What's still left for this issue and why is there so much ABI dependent code in the frontend? --

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2014-03-10 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=5570 --- Comment #46 from github-bugzi...@puremagic.com 2014-03-10 17:01:14 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/f6b484366eb4b6c75056a5d6ce274c0fb2fa2

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2014-03-10 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=5570 --- Comment #45 from Walter Bright 2014-03-10 16:30:15 PDT --- Similar issue for Win64: http://d.puremagic.com/issues/show_bug.cgi?id=12343 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are recei

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2014-03-10 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=5570 --- Comment #44 from Walter Bright 2014-03-10 02:26:47 PDT --- Partial fix: https://github.com/D-Programming-Language/dmd/pull/3372 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving th

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2014-02-12 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=5570 Etienne changed: What|Removed |Added CC||etci...@gmail.com --- Comment #43 from Etie

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2014-02-11 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=5570 cami...@bountysource.com changed: What|Removed |Added CC||cami...@bountysource.com --

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2013-09-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 --- Comment #41 from thelastmamm...@gmail.com 2013-09-22 20:07:53 PDT --- (In reply to comment #40) > (In reply to comment #39) > > This leads to a lot of duplication, for example the authors had to > > duplicate c > > bindings just to address

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2013-09-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 --- Comment #40 from Andrej Mitrovic 2013-09-22 02:47:30 PDT --- (In reply to comment #39) > This leads to a lot of duplication, for example the authors had to duplicate c > bindings just to address this: > https://github.com/Jebbs/DSFML-C whe

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2013-09-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 thelastmamm...@gmail.com changed: What|Removed |Added CC||thelastmamm...@gmail.com ---

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2013-06-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 --- Comment #38 from David Nadlinger 2013-06-06 13:20:26 PDT --- I don't think the three byte struct issue (see linked bug) has been fixed yet, but I haven't checked in a while. -- Configure issuemail: http://d.puremagic.com/issues/userprefs

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2013-06-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 Martin Nowak changed: What|Removed |Added CC||c...@dawg.eu --- Comment #37 from Marti

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2013-02-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 --- Comment #36 from github-bugzi...@puremagic.com 2013-02-25 10:38:47 PST --- Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/b2da13f39701796a6934e200f7c024305bd0c9

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2013-02-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 --- Comment #35 from github-bugzi...@puremagic.com 2013-02-23 15:10:03 PST --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/8fbb9279d51605d74824789d4954477b714bef

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2013-02-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 Marco Leise changed: What|Removed |Added CC||marco.le...@gmx.de --- Comment #34 from

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2012-12-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 --- Comment #33 from David Nadlinger 2012-12-29 18:04:07 PST --- I added issue 9239 as a blocker of this, as it also concerns the System V x86-64 ABI. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2012-10-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 Andrej Mitrovic changed: What|Removed |Added CC||andrej.mitrov...@gmail.com --- Comme

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2012-10-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 Adrian Matoga changed: What|Removed |Added CC||e...@atari8.info --- Comment #31 from

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 --- Comment #30 from Don 2012-07-30 02:01:12 PDT --- Progress at DMD1.075/2.060 beta2: This now works for structs which contain integral types only, or which contain floating point types only. It doesn't work if you have an int member and a flo

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2012-06-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 --- Comment #29 from Iain Buclaw 2012-06-27 10:02:08 PDT --- (In reply to comment #27) > (In reply to comment #26) > > (In reply to comment #25) > > > Sigh – seems like I was not exactly right about how GDC and LDC are > > > handling > > > ar

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2012-06-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 --- Comment #28 from Walter Bright 2012-06-26 11:19:22 PDT --- My intention is to have the following all behave the same way: delegate struct S { void*, void* } void*[2] for parameter passing. The same goes for dynamic arrays. Tha

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2012-06-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 --- Comment #27 from klickverbot 2012-06-26 09:33:02 PDT --- (In reply to comment #26) > (In reply to comment #25) > > Sigh – seems like I was not exactly right about how GDC and LDC are handling > > arrays. Instead of treating them like the e

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2012-06-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 Iain Buclaw changed: What|Removed |Added CC||ibuc...@ubuntu.com --- Comment #26 from

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2012-06-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 --- Comment #25 from klickverbot 2012-06-26 04:48:42 PDT --- Sigh – seems like I was not exactly right about how GDC and LDC are handling arrays. Instead of treating them like the equivalent struct, they are treated as if length and pointer we

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2012-06-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 Fawzi Mohamed changed: What|Removed |Added CC||fa...@gmx.ch --- Comment #24 from Fawz

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2012-06-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 --- Comment #22 from klickverbot 2012-06-20 09:25:24 PDT --- (In reply to comment #21) > When fixing the remaining issues, please also consider treating dynamic D > arrays as »struct Array(T) { T* ptr; size_t length; }« on x86_64, i.e. passing

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2012-06-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 --- Comment #22 from klickverbot 2012-06-20 09:25:24 PDT --- (In reply to comment #21) > When fixing the remaining issues, please also consider treating dynamic D > arrays as »struct Array(T) { T* ptr; size_t length; }« on x86_64, i.e. passing

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2012-06-17 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 klickverbot changed: What|Removed |Added CC||c...@klickverbot.at --- Comment #21 from

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2012-05-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 --- Comment #20 from Walter Bright 2012-05-31 12:39:49 PDT --- (In reply to comment #19) > Just a simple example (I've used to see if the progress on the bug fixed some > of the problems I had :): > > --- > extern (C) > { > struct lldiv_t

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2012-05-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 --- Comment #19 from Leandro Lucarella 2012-05-31 04:29:21 PDT --- Just a simple example (I've used to see if the progress on the bug fixed some of the problems I had :): --- extern (C) { struct lldiv_t { long quot,

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2012-05-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 Don changed: What|Removed |Added CC||clugd...@yahoo.com.au --- Comment #18 from Don

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2012-05-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 --- Comment #17 from Johan Hernandez 2012-05-07 12:40:48 PDT --- I'm very happy to see some commits on this issue, this is really important!!! Walter++!!! -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ---

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2012-05-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 --- Comment #15 from github-bugzi...@puremagic.com 2012-05-07 12:29:35 PDT --- Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/246f737c0f246f0b89ee27bfb611965e64f611

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2012-05-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 --- Comment #15 from github-bugzi...@puremagic.com 2012-05-07 12:29:35 PDT --- Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/246f737c0f246f0b89ee27bfb611965e64f611

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2012-05-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 James Miller changed: What|Removed |Added CC||ja...@aatch.net --- Comment #14 from Ja

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2012-04-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 Johan Hernandez changed: What|Removed |Added CC||thepumpkin1...@gmail.com --- Comment

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2012-04-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 Leandro Lucarella changed: What|Removed |Added See Also||http://d.puremagic.com/issu

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2012-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 --- Comment #11 from Jonathan M Davis 2012-04-11 09:51:04 PDT --- In general, something which has never worked is going to be treated as less of a priority than something which worked before and doesn't now - _especially_ when it's part of a n

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2012-04-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 --- Comment #10 from Mihail Strashun 2012-04-11 04:23:31 PDT --- (In reply to comment #9) > So, something which was in D > itself (as opposed to how it talks with C code) which used to work but doesn't > now could certainly be more of a blocke

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2012-04-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 Jonathan M Davis changed: What|Removed |Added CC||jmdavisp...@gmx.com --- Comment #9

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2012-04-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 Mihail Strashun changed: What|Removed |Added CC||m.stras...@gmail.com --- Comment #8

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2012-04-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 Nick Sabalausky changed: What|Removed |Added CC||cbkbbej...@mailinator.com S

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2012-02-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 Graham changed: What|Removed |Added CC||grahamc00...@yahoo.co.uk --- Comment #6 from

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2012-02-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 Trass3r changed: What|Removed |Added CC||mrmoc...@gmx.de --- Comment #5 from Trass3r

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2011-12-17 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 siegelords_ab...@yahoo.com changed: What|Removed |Added CC||siegelords_ab...@yahoo.com

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2011-12-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 Damian Ziemba changed: What|Removed |Added CC||nazriel6...@gmail.com --- Comment #3 f

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2011-12-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 Mathias Baumann changed: What|Removed |Added CC||mathias.baumann@sociomantic

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2011-12-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 --- Comment #1 from Leandro Lucarella 2011-12-16 04:20:00 PST --- Any ETA for a fix? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2011-12-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5570 Leandro Lucarella changed: What|Removed |Added Keywords||wrong-code CC|