[Issue 18010] Undefined reference to _d_arraycopy when copying arrays in -betterC

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Nov 25 05:11:54 UTC 2017


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

--- Comment #1 from Basile B. <b2.temp at gmx.com> ---
(In reply to Mike from comment #0)
---------------------------
> 
> If I add -noboundscheck flag all works fine.

Actually there's a random return code, the test case you provided is a
"compilable" test. "runnable" is rather (after reduction)

---
extern (C) int main()
{
    char[256] buf;
    char[] str;
    buf[0..0] = str[0..0];
    return 0;
}
---

--


More information about the Digitalmars-d-bugs mailing list