[Mono-bugs] [Bug 76840][Wis] New - mjs miscompiles do-while that uses ++ operator and assigment as part of condition.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Nov 28 15:50:26 EST 2005


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 cnataren at novell.com.

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

--- shadow/76840	2005-11-28 15:50:26.000000000 -0500
+++ shadow/76840.tmp.8075	2005-11-28 15:50:26.000000000 -0500
@@ -0,0 +1,54 @@
+Bug#: 76840
+Product: Mono: Compilers
+Version: 1.0
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: JScript
+AssignedTo: cesar at ciencias.unam.mx                            
+ReportedBy: cnataren at novell.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mjs miscompiles do-while that uses ++ operator and assigment as part of condition.
+
+Steps to reproduce the problem:
+1. Compile test case
+
+Actual Results:
+
+cesar at itaca:~/mono/backup/mcs/class/Microsoft.JScript/Test/Mozilla> mjs
+mydowhile.js
+fall_false, last_exp.GetType () == LogicalNot done, 7
+Compilation succeeded
+cesar at itaca:~/mono/backup/mcs/class/Microsoft.JScript/Test/Mozilla> mono
+mydowhile.exe
+
+** ERROR **: Invalid IL code at IL004b in JScript 0:Global Code ():
+IL_004b: call      0x0a000007
+
+
+aborting...
+Aborted
+
+
+
+Expected Results:
+
+cesar at itaca:~/mono/backup/mcs/class/Microsoft.JScript/Test/Mozilla> rmono
+jsc.exe mydowhile.js
+Compilation succeed
+
+cesar at itaca:~/mono/backup/mcs/class/Microsoft.JScript/Test/Mozilla> rmono
+mydowhile.exe
+
+How often does this happen? 
+
+
+Additional Information:
+
+Mon Nov 28 14:04:15 CST 2005


More information about the mono-bugs mailing list