www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19593] New: dstrcmp with -profile causes stack overflow

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 puremagic.com
          Reporter: kubo39 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.

--
Jan 17