[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
   ||m

--- Comment #52 from Nicholas Wilson  ---
See https://github.com/dlang/dmd/pull/9013

--


[Issue 19510] [2.084 REG] random and spurious error about a missing NOLOGO.d file

2018-12-23 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19510

--- Comment #1 from Basile B.  ---
Note that the issue is not related to piping the source code. The problem was
observed for the first time when trying to build dcd with -m64. It was also
much less random by the way.


to verify if this is fixed:

```
git clone https://www.github.com/dlang-community/dcd
git submodule update --init --recursive
set MFLAGS=-m64
build.bat
```

Other detail: last time before today that I was on win my dmd was at 2.082 so
this could be a 2.083 regression as well.

--


[Issue 18913] Cannot move static array of non-copyable type

2018-12-23 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18913

--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/a3fdf76c092e7c4852986316598ec882ab0d46c1
Fix Issue 18913 - Cannot move static array of non-copyable type

https://github.com/dlang/phobos/commit/e03499831700e60daf9d58ada076646f178618ab
Merge pull request #6810 from edi33416/issue_18913

Fix Issue 18913 - Cannot move static array of non-copyable type
merged-on-behalf-of: Petar Kirov 

--


[Issue 19510] New: [2.084 REG] random and spurious error about a missing NOLOGO.d file

2018-12-23 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19510

  Issue ID: 19510
   Summary: [2.084 REG] random and spurious error about a missing
NOLOGO.d file
   Product: D
   Version: D2
  Hardware: x86
OS: Windows
Status: NEW
  Severity: regression
  Priority: P1
 Component: dmd
  Assignee: nob...@puremagic.com
  Reporter: b2.t...@gmx.com

1. Go to an empty folder
2. Save the following script in test.bat

```
if not exist "bin" mkdir "bin"
echo(module a; void main(){}| dmd -wi -O -release -m64 -Jbin -
```

3. execute the script many times. You'll randomly get the following error

> Error: module `NOLOGO` is in file '\NOLOGO.d' which cannot be read
> import path[0] = C:\dev\dmd\dmd2\windows\bin\..\..\src\phobos
> import path[1] = C:\dev\dmd\dmd2\windows\bin\..\..\src\druntime\import
> Error: linker exited with status 1

Test Environment:
- Windows 7 64 bit
- DMD 2.084 beta.1
- MS build tools are **not** setup

Seems to be an UB due to the way the linker command line is build:
https://github.com/dlang/dmd/search?q=NOLOGO_q=NOLOGO

--