Bug 8313 – stack overflow on recursive ifti evaluation

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-06-27T10:14:00Z
Last change time
2013-11-19T18:41:16Z
Keywords
ice
Assigned to
nobody
Creator
timon.gehr

Comments

Comment #0 by timon.gehr — 2012-06-27T10:14:07Z
DMD 2.059 crashes due to what appears to be a stack overflow when run on the following code: auto bar()(int x){return x;} auto bar()(int x = bar()){return x;} static assert(bar(1));
Comment #1 by bugzilla — 2013-11-13T01:46:09Z
Comment #2 by github-bugzilla — 2013-11-19T18:14:10Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/a39d707f9de2e66d669448e709d737682ac95a77 fix Issue 8313 - stack overflow on recursive ifti evaluation https://github.com/D-Programming-Language/dmd/commit/d0c2fb661960200a45f32046d5edeb837eab01ea Merge pull request #2753 from WalterBright/fix8313 fix Issue 8313 - stack overflow on recursive ifti evaluation