www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11371] New: core.simd and ctfe


           Summary: core.simd and ctfe
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: john.loughran.colvin gmail.com

--- Comment #0 from John Colvin <john.loughran.colvin gmail.com> 2013-10-28
18:55:17 GMT ---

import core.simd;

long2 f()
    long2 q;
    return q;

enum long2 v = f();

$dmd simdcrash.d
simdcrash.d(5): Error: CTFE internal error: illegal value
dmd: interpret.c:6420: void VarDeclaration::setValue(Expression*): Assertion
`isCtfeValueValid(newval)' failed.
Aborted (core dumped)

Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 28 2013