[Mono-bugs] [Bug 63842][Maj] Changed - mcs sometimes generates incorrect IL-code using declarations after goto
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Wed, 27 Oct 2004 22:50:26 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by ravi@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=63842
--- shadow/63842 2004-09-16 00:27:25.000000000 -0400
+++ shadow/63842.tmp.31909 2004-10-27 22:50:25.000000000 -0400
@@ -10,13 +10,12 @@
Component: C#
AssignedTo: ravi@ximian.com
ReportedBy: priewasser@gmx.at
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
URL:
-Cc:
Summary: mcs sometimes generates incorrect IL-code using declarations after goto
Description of Problem:
The following simple program compiles using mcs but doesn't run, using csc
this program works with .net and mono.
@@ -49,6 +48,12 @@
block as unreachable, which is why code inside the implicit block (the
declaration and the goto label and the Console.WriteLine) is never
emitted.
I am working on this - I need to talk to Martin about implicit blocks
and why they are used.
+
+------- Additional Comments From ravi@ximian.com 2004-10-27 22:50 -------
+Martin, can I have your comments on this please ? I think it would be
+best for you to tackle this bug since it is in flow branching code.
+
+Why do we need implicit blocks anyway ?