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

--- Comment #7 from Martin Nowak <[email protected]> ---
For yet unknown reason gdb reads an incorrect sizeof for the .length variable
of the string. This only applies to the arrays in main not the ones passed to
the dup functions.
It also works in lldb.

It would be more optimal if dmd cached and emitted only a single instance per
array type. Will try to implement that and see if it helps before spending more
hours debugging gdb.

--

Reply via email to