[Issue 19853] Profiling broken?

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue May 14 01:42:36 UTC 2019


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

Hiroki Noda <kubo39 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kubo39 at gmail.com

--- Comment #2 from Hiroki Noda <kubo39 at gmail.com> ---
minimize.

Code:
---
import std.regex;

void issue19853()
{
    auto r = regex("[\\.\u002e\u3002\uff0e\uff61]");
}
---

Console:
---
(dmd-2.086.0)$ dmd -c -inline -profile -w issue19853.d
/home/kubo39/dlang/dmd-2.086.0/linux/bin64/../../src/phobos/std/regex/internal/parser.d(845):
Warning: statement is not reachable
dmd -c -inline -profile -w issue19853.d  1.68s user 0.18s system 99% cpu 1.858
total
(dmd-2.086.0)$ echo $?
1
---

--


More information about the Digitalmars-d-bugs mailing list