[Issue 23851] New: Segfault when compiling with -profile=gc
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Apr 22 13:33:04 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=23851
Issue ID: 23851
Summary: Segfault when compiling with -profile=gc
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: blocker
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: y.oudjana at protonmail.com
Created attachment 1871
--> https://issues.dlang.org/attachment.cgi?id=1871&action=edit
GDB backtrace
Compiling the following program with -profile=gc makes DMD segfault:
```
import std.stdio;
int main(string[] args) {
int[] a;
a ~= 2;
writeln(a);
return 0;
}
```
Attached a backtrace.
$ dmd --version
DMD64 D Compiler v2.103.0
...
--
More information about the Digitalmars-d-bugs
mailing list