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: nob...@puremagic.com Reporter: john.loughran.col...@gmail.com // test.d import std.regex; regex(); > dmd test.d -inline -profile -w phobos\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 ?? --