[Issue 18867] New: Optimizer crash on assignment to vector element
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Wed May 16 19:55:47 UTC 2018
    
    
  
https://issues.dlang.org/show_bug.cgi?id=18867
          Issue ID: 18867
           Summary: Optimizer crash on assignment to vector element
           Product: D
           Version: D2
          Hardware: x86_64
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: kinke at gmx.net
This crashes the backend with `-O`, since v2.073:
```
import core.simd;
ulong2 foo(ulong s)
{
    ulong2 v;
    v[0] = s;
    return v;
}
```
Internal error: dmd/backend/cgcod.c 1695
See https://run.dlang.io/is/uFBgBt.
--
    
    
More information about the Digitalmars-d-bugs
mailing list