Bugzilla – Bug 318846
mcs emits a branch from a try block
Last modified: 2007-09-15 21:24:23 UTC
---- Reported by jankit@novell.com 2005-08-30 07:08:02 MST ---- Test case: using System; class test { public static void Main (string [] args) { try { goto abc; }catch { } abc: Console.WriteLine ("At abc.."); } } mcs, then monodis: <snip> .maxstack 2 .try { // 0 IL_0000: br IL_0010 --> branch !! IL_0005: leave IL_0010 } // end .try 0 catch [mscorlib]System.Object { // 0 IL_000a: pop IL_000b: leave IL_0010 } // end handler 0 IL_0010: ldstr "At abc.." <snip> ---- Additional Comments From martin@ximian.com 2006-03-22 08:24:25 MST ---- *** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO77601 *** Unknown operating system unknown. Setting to default OS "Other". This bug was marked DUPLICATE in the database it was moved from. Changing resolution to "MOVED"