[Issue 19593] New: dstrcmp with -profile causes stack overflow

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 18 05:10:42 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=19593

          Issue ID: 19593
           Summary: dstrcmp with -profile causes stack overflow
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: kubo39 at gmail.com

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.

--


More information about the Digitalmars-d-bugs mailing list