[Mono-bugs] [Bug 31541][Nor] Changed - compilation issue with labels and goto
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
4 Oct 2002 16:26:17 -0000
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 martin@gnome.org.
http://bugzilla.ximian.com/show_bug.cgi?id=31541
--- shadow/31541 Fri Oct 4 11:19:51 2002
+++ shadow/31541.tmp.17269 Fri Oct 4 12:26:17 2002
@@ -12,12 +12,13 @@
ReportedBy: lupus@ximian.com
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
URL:
Cc:
Summary: compilation issue with labels and goto
+BugsThisDependsOn: 30715
mcs can't compile the following code.
class T {
static int fib (int n) {
int f0 = 0, f1 = 1, f2 = 0, i;
@@ -63,7 +64,12 @@
goto L1;
L3:
return n;
}
static void Main() {}
}
+
+
+------- Additional Comments From martin@gnome.org 2002-10-04 12:26 -------
+It's because flow analysis is _not_ done here. The only way to fix this is using the flow analysis code rather than ec.Breaks.
+