www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15123] New: segfault when compiling simple SIMD code


          Issue ID: 15123
           Summary: segfault when compiling simple SIMD code
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Keywords: ice, SIMD
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: schuetzm gmx.net

import core.simd;

byte16 foo() {
    return byte16.init;

# dmd -c foo.d
=> segfaults

According to digger, this was introduced here:

commit 9d3afe4f2fada2bdb8d98487445b1155cb405eff
Author: Walter Bright <walter walterbright.com>
Date:   Mon Sep 21 21:41:06 2015 -0700

    dmd: Merge pull request #5085 from 9rnsr/fix14886


    [REG2.066] Issue 14886 - std.parallelism.parallel with large static array
seems to hang compile

Sep 27 2015