[Issue 18489] [REG 2.073]Internal error: dmd/backend/cgcod.c 1688

2018-03-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18489

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

https://github.com/dlang/dmd/commit/65eed9c366c3a07f72152603cdb5f047e6d8948c
Fix issue 18489 - SROA w/ vector arguments

Since we can't easily slice the contents of a XMM register avoid slicing
symbols passed in such registers.

https://github.com/dlang/dmd/commit/a142adda22e2f7194f1fd85cbffc6e48624ef06f
Merge pull request #8057 from LemonBoy/b18489

Fix issue 18489 - SROA w/ vector arguments

--


[Issue 18489] [REG 2.073]Internal error: dmd/backend/cgcod.c 1688

2018-03-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18489

github-bugzi...@puremagic.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--


[Issue 18489] [REG 2.073]Internal error: dmd/backend/cgcod.c 1688

2018-03-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18489

Walter Bright  changed:

   What|Removed |Added

 CC||bugzi...@digitalmars.com

--- Comment #2 from Walter Bright  ---
https://github.com/dlang/dmd/pull/8057

--


[Issue 18489] [REG 2.073]Internal error: dmd/backend/cgcod.c 1688

2018-02-22 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18489

bitter.ta...@gmx.com changed:

   What|Removed |Added

 CC||bitter.ta...@gmx.com

--- Comment #1 from bitter.ta...@gmx.com ---
More codegen bugs, cool.

Here's [1] the culprit, the problem is the following:
```
a is fastpar and using register XMM1
__a_8 is fastpar and using register NOREG
```

The latter _should_ be the second half of the `a' parameter, I don't know if
the NOREG is right here.

[1]
https://github.com/dlang/dmd/blob/e439e910f344359456da9bef0df2a842020831dd/src/dmd/backend/cod1.c#L4768,L4772

--