[Mono-bugs] [Bug 70400][Min] Changed - Wrong behavior of breaking out of SWITCH, when done from within a nested SWITCH and a nested IF

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 28 Feb 2005 12:39:25 -0500 (EST)


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 vgapeyev@cis.upenn.edu.

http://bugzilla.ximian.com/show_bug.cgi?id=70400

--- shadow/70400	2005-02-28 12:24:02.000000000 -0500
+++ shadow/70400.tmp.16673	2005-02-28 12:39:25.000000000 -0500
@@ -1,9 +1,9 @@
 Bug#: 70400
 Product: Mono: Compilers
-Version: 1.0
+Version: 1.1
 OS: unknown
 OS Details: Mandrake 10.0
 Status: REOPENED   
 Resolution: 
 Severity: Unknown
 Priority: Minor
@@ -92,6 +92,35 @@
 ------- Additional Comments From bmaurer@users.sf.net  2004-12-09 17:49 -------
 It looks like this was not merged into the 1.0 branch. Martin, you
 fixed  bug 59867, so am assigning
 
 ------- Additional Comments From martin@ximian.com  2005-01-20 11:45 -------
 This has been fixed in HEAD a long time ago.
+
+------- Additional Comments From vgapeyev@cis.upenn.edu  2005-02-28 12:39 -------
+(My apologies for messing up with the first re-raising attempt a few
+minitues ago.)
+
+Despite Martin's assurance on 2005-01-20, this code still does not
+work as expected in the 1.1.4 release...  (Note: the code now
+malfunctions differently, but I didn't tweak it, so it might not
+exemplify the current problem concisely...)
+
+1.1.4 actual behavior: 
+
+mcs simple.cs
+simple.cs(10) warning CS0162: Unreachable code detected
+simple.cs(12) warning CS0162: Unreachable code detected
+simple.cs(15) warning CS0162: Unreachable code detected
+Compilation succeeded - 3 warning(s)
+mono simple.exe
+
+(i.e., there is no output) 
+
+Expected: there should be no compiler warnings, since the code is
+reachable, and Line 14 should produce:
+**** This one is expected
+
+(If you guys care to know, I still use mono 0.29 because of the bugs
+from this series!)
+
+--Vladimir