[Mono-bugs] [Bug 33151][Wis] Changed - MCS creates bad MSIL for if statement

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
1 Nov 2002 17:05:33 -0000

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 david_stephenson@hp.com.


--- shadow/33151	Fri Nov  1 12:04:15 2002
+++ shadow/33151.tmp.648	Fri Nov  1 12:05:33 2002
@@ -47,6 +47,11 @@
 getNextChar() method from the disassembled exe generated by CSC and 
 resasemble then the code works fine, so from that I guess there is 
 something wrong with the IL for getNextChar() if you change the code from 
 if(endOfBufferedChars() == true){ to if(endOfBufferedChars()){ then the 
 program works fine......! The IL looks fine to me but all the CLR version 
 I have tried barf on the exe so something must be wrong...
+------- Additional Comments From david_stephenson@hp.com  2002-11-01 12:05 -------
+Created an attachment (id=2689)
+the example prog which shows the bug