http://d.puremagic.com/issues/show_bug.cgi?id=7625
Summary: inlining on works with explicit else branch Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: d...@dawgfoto.de --- Comment #0 from d...@dawgfoto.de 2012-03-01 16:10:26 PST --- int foo(int v) { return bar(2 * v); } int bar(int a) { if (a > 0) return 1; // else return baz(a); } int baz(int a) { if (a > 0) throw new Exception("a > 0"); return a - 1; } -------- bar is only inlined by foo when 'else' is present. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------