[Mono-bugs] [Bug 27937][Wis] New - Inliner can crash Mono on recursive calls.

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
18 Jul 2002 04:08:04 -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 miguel@ximian.com.

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

--- shadow/27937	Thu Jul 18 00:08:04 2002
+++ shadow/27937.tmp.15558	Thu Jul 18 00:08:04 2002
@@ -0,0 +1,38 @@
+Bug#: 27937
+Product: Mono/Runtime
+Version: unspecified
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: miguel@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Inliner can crash Mono on recursive calls.
+
+The following code crashes Mono in the inliner:
+
+class X {
+	int a ()
+	{
+		return b () + 1;
+	}
+
+	int b ()
+	{
+		return a () + 1;
+	}
+
+	static void Main ()
+	{
+		X x = new X ();
+
+		x.a ();
+	}
+}