Bug 19593 – dstrcmp with -profile causes stack overflow
Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2019-01-18T05:10:42Z
Last change time
2019-01-19T18:23:15Z
Assigned to
No Owner
Creator
Hiroki Noda
Comments
Comment #0 by kubo39 — 2019-01-18T05:10:42Z
I got stack overflow this with -profile option.
---
void main()
{
auto r = "abc" >= "abc";
}
---
The reason is that dmd wraps dstrcmp function body with trace_pro.
Comment #1 by github-bugzilla — 2019-01-19T18:23:13Z