Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-08-06[mcs] switch statement with constant block at first label. Fixes #21805Marek Safar
2013-09-13Don't crash when unreachable code contains unreachable constant switch. ↵Marek Safar
Fixes #14587
2006-05-03In mcs:Raja R Harinath
Fix #76471, #76665 * flowanalysis.cs (FlowBranching.BranchingType.Embedded): New. (FlowBranching.CreateBranching): Handle it: create a FlowBranchingContinuable. (FlowBranching.BreakCrossesExceptionBoundary): Remove. (FlowBranching.AddContinueOrigin): Similar to AddBreakOrigin, except that it handles the 'continue' command. (FlowBranching.UsageVector.MergeOrigins): Rename from MergeBreakOrigins. (FlowBranchingContinuable): Similar to FlowBranchingBreakable, except that it overrides AddContinueOrigin. (FlowBranchingException): Override AddContinueOrigin, similar to AddBreakOrigin. * statement.cs (While.Resolve, Foreach.ArrayForeach.Resolve): Create a new branching around the embedded statement. (Do.Resolve, For.Resolve): Likewise. Do reachability analysis for control flow after the embedded statement. (Continue.Resolve): Move all error checking to AddContinueOrigin. In gmcs: Fix #76471, #76665 * flowanalysis.cs (FlowBranching.BranchingType.Embedded): New. (FlowBranching.CreateBranching): Handle it: create a FlowBranchingContinuable. (FlowBranching.BreakCrossesExceptionBoundary): Remove. (FlowBranching.AddContinueOrigin): Similar to AddBreakOrigin, except that it handles the 'continue' command. (FlowBranching.UsageVector.MergeOrigins): Rename from MergeBreakOrigins. (FlowBranchingContinuable): Similar to FlowBranchingBreakable, except that it overrides AddContinueOrigin. (FlowBranchingException): Override AddContinueOrigin, similar to AddBreakOrigin. * statement.cs (While.Resolve, Foreach.ArrayForeach.Resolve): Create a new branching around the embedded statement. (Do.Resolve, For.Resolve): Likewise. Do reachability analysis for control flow after the embedded statement. (Continue.Resolve): Move all error checking to AddContinueOrigin. In tests: * test-504.cs: New test from #76471. In errors: * cs0162-5.cs: New test from #76665. svn path=/trunk/mcs/; revision=60218