Thread overview
[Issue 19853] Profiling broken?
May 14, 2019
Hiroki Noda
Dec 17, 2022
Iain Buclaw
May 12, 2019
https://issues.dlang.org/show_bug.cgi?id=19853

feklushkin.denis@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|phobos                      |dmd

--- Comment #1 from feklushkin.denis@gmail.com ---
Reproduceable only on DMD

--
May 14, 2019
https://issues.dlang.org/show_bug.cgi?id=19853

Hiroki Noda <kubo39@gmail.com> changed:

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

--- Comment #2 from Hiroki Noda <kubo39@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
---

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=19853

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3

--