[Issue 15018] New: Win64: ICE when assigning struct of size 4 to slice
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Sat Sep  5 09:33:47 PDT 2015
    
    
  
https://issues.dlang.org/show_bug.cgi?id=15018
          Issue ID: 15018
           Summary: Win64: ICE when assigning struct of size 4 to slice
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: r.sagitario at gmx.de
Slight variation of issue 11596:
/////
struct S { short[2] m; }
S f()
{
    S s;
    return s;
}
void g(S s) {}
void h()
{
    S[3] s3;
    s3[] = f();
}
/////
Compiling with git-head or dmd 2.068 for Win64 yields:
Internal error: backend\cgcs.c 355
--
    
    
More information about the Digitalmars-d-bugs
mailing list