Bug 22725 – ImportC: segfault when compiling with -H

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Windows
Creation time
2022-02-02T09:36:55Z
Last change time
2022-02-03T16:37:29Z
Keywords
ice, ImportC
Assigned to
No Owner
Creator
Max Samukha

Comments

Comment #0 by maxsamukha — 2022-02-02T09:36:55Z
test.c: typedef struct S { } S; ---- dmd -H test.c Segmentation fault
Comment #1 by dlang-bot — 2022-02-03T16:37:29Z
dlang/dmd pull request #13607 "fix Issue 22725 - ImportC: segfault when compiling with -H" was merged into master: - 527ad9b6d9a96700e241e5e8297debd46867291a by Walter Bright: fix Issue 22725 - ImportC: segfault when compiling with -H https://github.com/dlang/dmd/pull/13607