[Mono-bugs] [Bug 69779][Wis] New - gen-45.cs is failing (oddly) on ppc

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 21 Nov 2004 17:06:21 -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 grompf@sublimeintervention.com.

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

--- shadow/69779	2004-11-21 17:06:21.000000000 -0500
+++ shadow/69779.tmp.2726	2004-11-21 17:06:21.000000000 -0500
@@ -0,0 +1,53 @@
+Bug#: 69779
+Product: Mono: Compilers
+Version: 1.1
+OS: 
+OS Details: OSX 10.3.6
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: grompf@sublimeintervention.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: gen-45.cs is failing (oddly) on ppc
+
+This bug may be -> runtime, but I'll file it here first to get martins attention as he may have an 
+idea.
+
+gen-45.cs when compiled on ppc is currently saying (when run):
+
+gmcs gen-45.cs ; mono gen-45.exe 
+ALPHA SOFTWARE: Mono C# Compiler 1.1.2.0 for Generics
+Compilation succeeded
+
+** (gen-45.exe:11398): WARNING **: Missing method Hello in assembly /Users/plasma/
+Documents/Development/mono/bugs/gen-45.exe typeref index 1
+
+Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of 
+an object
+
+Now, oddly if its compiled on x86 and copied to ppc it works fine.
+
+Additionally; if I move the:
+
+public void ArrayMethod<V> (params V[] args)
+        { }
+
+ABOVE
+
+public void Hello<V,W> (V v, W w, Test<V,W> x)
+        { }
+
+it compiles and runs perfectly.
+
+gmcs gen-45.cs ; mono gen-45.exe ; echo $?
+ALPHA SOFTWARE: Mono C# Compiler 1.1.2.0 for Generics
+Compilation succeeded
+0
+
+-kangaroo