[Mono-bugs] [Bug 72561][Wis] New - [PATCH] mono/tests/libtest.c:get_sp() buggy

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 13 Feb 2005 14:39:20 -0500 (EST)

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 robertj@gmx.net.


--- shadow/72561	2005-02-13 14:39:20.000000000 -0500
+++ shadow/72561.tmp.31892	2005-02-13 14:39:20.000000000 -0500
@@ -0,0 +1,27 @@
+Bug#: 72561
+Product: Mono: Runtime
+Version: 1.1
+OS Details: 
+Status: NEW   
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: robertj@gmx.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: [PATCH] mono/tests/libtest.c:get_sp() buggy
+get_sp() of libtest.c doen't work as expected with gcc version 2.95.3
+on Linux. The stack address of 2 consecutive calls seems to drift
+even when no STDCALL calling convention bug occured.
+I know that the STDCALL test is unimportant for Mono on Linux,
+but the failure of the pinvoke2-test might be confusing to others.
+The patch contains a method that tests whether get_sp() is
+reliable with the compiler/OS.