Thread overview
[Issue 24235] Functions 0-out single element static arrays
Nov 08, 2023
Basile-z
Nov 09, 2023
RazvanN
November 08, 2023
https://issues.dlang.org/show_bug.cgi?id=24235

isaacbunsen@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|x86                         |x86_64
           Severity|enhancement                 |major

--- Comment #1 from isaacbunsen@gmail.com ---
DMD64 D Compiler v2.105.3-dirty
Windows 10 Home Version 10.0.19045

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

--- Comment #2 from isaacbunsen@gmail.com ---
Also fails on
DMD32 D Compiler v2.100.2-dirty

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

Basile-z <b2.temp@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |backend, wrong-code

--
November 09, 2023
https://issues.dlang.org/show_bug.cgi?id=24235

--- Comment #3 from isaacbunsen@gmail.com ---
Prior tests were run on a Microsoft surface pro 7
Intel(R) Core(TM) i3-1005G1 CPU
Windows 10 Home Version 10.0.19045
DMD64 D Compiler v2.105.3-dirty

The issue does not occur on my other windows computer.
Intel(R) Core(TM) i7-6700HQ CPU
Windows 10 Education
DMD64 D Compiler v2.105.2-dirty

The issue does not occur on the surface pro 7 when building and running on Ubuntu through WSL.

--
November 09, 2023
https://issues.dlang.org/show_bug.cgi?id=24235

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

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

--- Comment #4 from RazvanN <razvan.nitu1305@gmail.com> ---
I can confirm that this cannot be reproduced on a linux system.

--
November 09, 2023
https://issues.dlang.org/show_bug.cgi?id=24235

--- Comment #5 from isaacbunsen@gmail.com ---
Important to note, I am building with dub

--
November 09, 2023
https://issues.dlang.org/show_bug.cgi?id=24235

--- Comment #6 from isaacbunsen@gmail.com ---
I have narrowed it down. `dmd -m64 [file]` and `dmd -debug [file]` both trigger the assert. Both flags are passed by dub on my machine. `dmd [file]` does not trigger the assert.

--