[Mono-bugs] [Bug 60095][Wis] Changed - (x & 0) == 0 is a constant true

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 12 Jun 2004 11:16:56 -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 bmaurer@users.sf.net.

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

--- shadow/60095	2004-06-12 11:04:19.000000000 -0400
+++ shadow/60095.tmp.3324	2004-06-12 11:16:56.000000000 -0400
@@ -54,6 +54,10 @@
 On mcs this does not compile. (it considers y unassigned)
 
 CSC compiles it (because you always take the if statement).
 
 Does the spec define this behavior? Clearly MS is applying an algebaic
  simplifier, do we need that?
+
+------- Additional Comments From bmaurer@users.sf.net  2004-06-12 11:16 -------
+The spec says nada about this sort of case. Miguel, do you want us to
+handle it? I suspect the code is not too hard, but do we want the bloat?