digitalmars.D.bugs - [Issue 19302] New: statement not reachable in
- d-bugmail puremagic.com (23/24) Oct 12 2018 https://issues.dlang.org/show_bug.cgi?id=19302
https://issues.dlang.org/show_bug.cgi?id=19302 Issue ID: 19302 Summary: statement not reachable in std.regex.internal.parser.Parser.parseAtom, only in -inline -profile builds Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: phobos Assignee: nobody puremagic.com Reporter: john.loughran.colvin gmail.com // test.d import std.regex; regex();dmd test.d -inline -profile -wphobos\std\regex\internal\parser.d(845): Warning: statement is not reachable It's trivial to fix this bug (just remove the offending "break" in std.regex.internal.parser.Parser.parseAtom), but I'm more interested in why on earth it only occurs with -inline -profile ?? --
Oct 12 2018