Thread overview
[Issue 23450] Unexpected constructor behaviour in DMD in rare cases
Nov 02, 2022
Ketmar Dark
Nov 02, 2022
Dennis
Nov 02, 2022
Keivan
Nov 02, 2022
anonymous4
Nov 03, 2022
RazvanN
Nov 08, 2022
Walter Bright
Dec 17, 2022
Iain Buclaw
November 02, 2022
https://issues.dlang.org/show_bug.cgi?id=23450

Ketmar Dark <ketmar@ketmar.no-ip.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ketmar@ketmar.no-ip.org

--
November 02, 2022
https://issues.dlang.org/show_bug.cgi?id=23450

Steven Schveighoffer <schveiguy@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
                 CC|                            |schveiguy@gmail.com

--- Comment #1 from Steven Schveighoffer <schveiguy@gmail.com> ---
If you add a name for the second parameter in the function, you can see that the second parameter is null, and the first parameter is assigned `tt`.

Even -vcg-ast thinks that it's passing them in the right order. I think this is a codegen bug.

--
November 02, 2022
https://issues.dlang.org/show_bug.cgi?id=23450

Dennis <dkorpel@live.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dkorpel@live.nl

--- Comment #2 from Dennis <dkorpel@live.nl> ---
Might be the same as issue 21301.

There's something about long parameter lists with arrays/small structs of floats/doubles where DMD messes up the register/stack assignment.

--
November 02, 2022
https://issues.dlang.org/show_bug.cgi?id=23450

--- Comment #3 from Keivan <keivan.shah@silverleafcaps.com> ---
Also based on the discussion on the forums(https://forum.dlang.org/post/lxnogwxpuiwlxvruqlrs@forum.dlang.org), the issue might also be same as issue 22583

--
November 02, 2022
https://issues.dlang.org/show_bug.cgi?id=23450

anonymous4 <dfj1esp02@sneakemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=22583

--
November 03, 2022
https://issues.dlang.org/show_bug.cgi?id=23450

RazvanN <razvan.nitu1305@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |backend
                 CC|                            |razvan.nitu1305@gmail.com

--
November 08, 2022
https://issues.dlang.org/show_bug.cgi?id=23450

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=21301

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=23450

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3

--
December 13
https://issues.dlang.org/show_bug.cgi?id=23450

--- Comment #4 from dlangBugzillaToGithub <robert.schadek@posteo.de> ---
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/dmd/issues/20174

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB

--