[Mono-bugs] [Bug 39018][Nor] Changed - Missing implicit conversion on & operator.

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Fri, 4 Jul 2003 16:40:51 -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 miguel@ximian.com.

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

--- shadow/39018	Mon Mar  3 18:36:16 2003
+++ shadow/39018.tmp.28409	Fri Jul  4 16:40:51 2003
@@ -1,13 +1,13 @@
 Bug#: 39018
 Product: Mono/MCS
 Version: unspecified
 OS: unknown
 OS Details: 
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
 Priority: Normal
 Component: Misc
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: miguel@ximian.com               
 QAContact: mono-bugs@ximian.com
@@ -41,6 +41,14 @@
 		const int r = 31;
 		
 		long ll = (b & (l << r));
 	}
 }
 
+
+------- Additional Comments From miguel@ximian.com  2003-07-04 16:40 -------
+Fix on CVS.
+
+An optimization that avoids typecasts to longs in the presence of uint
+& int-constant (or the other way around) was always returning, even if
+it was not able to return two uints;  Now it will only return if it
+gets both types to be the same.