[Mono-bugs] [Bug 37708][Maj] Changed - mcs miscompiles break statement

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Fri, 7 Feb 2003 01:58:08 -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 mathpup@mylinuxisp.com.


--- shadow/37708	Fri Feb  7 01:47:58 2003
+++ shadow/37708.tmp.14525	Fri Feb  7 01:58:08 2003
@@ -1,14 +1,14 @@
 Bug#: 37708
 Product: Mono/MCS
 Version: unspecified
+OS: unknown
 OS Details: 
 Status: NEW   
+Severity: Unknown
 Priority: Major
 Component: Misc
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: mathpup@mylinuxisp.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -62,6 +62,13 @@
 Additional Information:
 ------- Additional Comments From mathpup@mylinuxisp.com  2003-02-07 01:47 -------
 Created an attachment (id=3341)
 Test case
+------- Additional Comments From mathpup@mylinuxisp.com  2003-02-07 01:58 -------
+Also, if I comment out the line with "return 0;" mcs still compiles the program, 
+but csc complains: Testing.Method(int)': not all code paths return a value. It 
+seems likely that these are both symptoms of the same bug. (And 
+interestingly, it's the latter case that I actually noticed first.)