[Mono-bugs] [Bug 65320][Wis] New - Incrementing a unsafe pointer with a long generates and Invalid IL code ERROR

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 3 Sep 2004 13:21:30 -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 grompf@sublimeintervention.com.

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

--- shadow/65320	2004-09-03 13:21:30.000000000 -0400
+++ shadow/65320.tmp.528	2004-09-03 13:21:30.000000000 -0400
@@ -0,0 +1,29 @@
+Bug#: 65320
+Product: Mono: Runtime
+Version: unspecified
+OS: 
+OS Details: OSX 10.3.4
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: grompf@sublimeintervention.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Incrementing a unsafe pointer with a long generates and Invalid IL code ERROR
+
+Filing this in runtime as per lupus's request; I think this is compiler based tho.
+
+The attached testcase will generate:
+
+** ERROR **: Invalid IL code at IL001b in Test.MainClass:Main (string[]): IL_001b: add       
+
+when running (tested on CVS HEAD OSX, and 1.0.1 x86)
+
+The problem is incrementing a pointer with a long instead of an int.
+
+-kangaroo