[Mono-bugs] [Bug 77235][Min] Changed - gmcs makes wrong decision on execution control flow

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Jan 13 14:00:02 EST 2006


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 miguel at ximian.com.

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

--- shadow/77235	2006-01-12 18:10:44.000000000 -0500
+++ shadow/77235.tmp.26540	2006-01-13 14:00:02.000000000 -0500
@@ -1,14 +1,14 @@
 Bug#: 77235
 Product: Mono: Compilers
 Version: 1.1
 OS: GNU/Linux [Other]
 OS Details: 
-Status: NEW   
-Resolution: 
-Severity: 
+Status: RESOLVED   
+Resolution: WONTFIX
+Severity: Unknown
 Priority: Minor
 Component: C#
 AssignedTo: rharinath at novell.com                            
 ReportedBy: alex.gap at mail.ru               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -71,6 +71,18 @@
 
 Additional Information:
 Please, don't say me that you will fix it after microsoft. I understand,
 that this bug is rare and it applies to every integral variable, not just
 boolean. But boolean case is 99% of such kind of bug. Boolean only fix
 would be very satisfied and appreciated. Thank you.
+
+------- Additional Comments From miguel at ximian.com  2006-01-13 14:00 -------
+Fixing this kind of problem is very complicated and that is why
+compilers do not tend to fix this.
+
+You could rewrite your code insteda which will do the right thing:
+
+if (flag){
+   return y;
+} else {
+   return x;
+}


More information about the mono-bugs mailing list