Issue ID: 18489
           Summary: [REG 2.073]Internal error: dmd/backend/cgcod.c 1688
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd

this code:

import core.simd;
double dot (double2 a, double2 b) {
    double r = a.ptr[0] * b.ptr[0] + a.ptr[1] * b.ptr[1];
    return r;

void main(){}

when compiling with -O will cause ICE


Reply via email to