[Issue 17898] New: Segfault in compile with -deps and -unittest
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Oct 14 11:22:24 UTC 2017
https://issues.dlang.org/show_bug.cgi?id=17898
Issue ID: 17898
Summary: Segfault in compile with -deps and -unittest
Product: D
Version: D2
Hardware: x86
OS: All
Status: NEW
Severity: regression
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: saurabh.das at gmail.com
Reported by Dhananjay at
http://forum.dlang.org/post/qpxiduxiddbjkjptbxww@forum.dlang.org
Sample program "test.d":
import std.stdio : writeln;
unittest { writeln("Unittest"); }
void main() { writeln("Main"); }
Command: dmd -deps=deps.csv -unittest test.d
Output: Segmentation fault: 11
OS: Mac OS X 10.11.6. Has also been reproduced on linux/x64.
DMD version: 2.076.1
The error goes away if -unittest or -deps is not passed.
--
More information about the Digitalmars-d-bugs
mailing list