Bug 11182 – dmd crashes on compiling regex

Status
RESOLVED
Resolution
FIXED
Severity
critical
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Windows
Creation time
2013-10-06T08:29:00Z
Last change time
2013-10-12T21:03:34Z
Assigned to
nobody
Creator
elvis.x.zhou

Comments

Comment #0 by elvis.x.zhou — 2013-10-06T08:29:49Z
import std.regex; void main() { enum r = ctRegex!(`*`); //crash enum r = ctRegex!(`[^]`); //crash enum r = ctRegex!(`[/]`); //link error only with -debug }
Comment #1 by elvis.x.zhou — 2013-10-06T11:21:28Z
Comment #2 by elvis.x.zhou — 2013-10-06T11:24:22Z
link error still exists, I've no idea how to debug phobos, is there a guidance on this topic?
Comment #3 by github-bugzilla — 2013-10-11T11:42:57Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/9f30e94d7d1f02090f85639c080ed3bedfedb7b3 Fix issue 11182 - dmd crashes on compiling regex https://github.com/D-Programming-Language/dmd/commit/e68fac3ce94c8fd64fdc21554bfcc933bdc9b169 Merge pull request #2635 from elvisxzhou/bug11182 Fix bug 11182 - dmd crashes on compiling regex
Comment #4 by kekeniro2 — 2013-10-12T21:03:34Z
(In reply to comment #2) > link error still exists, I've no idea how to debug phobos, is there a guidance > on this topic? I posted Issue 11239. It should be the same.