[Mono-bugs] [Bug 404905] New: gmcs buggy unsafe code compilation

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Jun 29 21:01:45 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=404905


           Summary: gmcs buggy unsafe code compilation
           Product: Mono: Compilers
           Version: 1.9.0
          Platform: x86-64
               URL: http://corsis.de/contact
        OS/Version: openSUSE 11.0
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: cetin.sert at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Other


Description of Problem:


Steps to reproduce the problem:
1. gmcs -unsafe -o+ Program.cs -out:opt.exe
2. gmcs -unsafe -o- Program.cs -out:unopt.exe
3. compare outputs of
3.1 mono opt.exe
3.2 mono unopt.exe


Actual Results:
cetin at linux-d312:~/lab/monotest/ledit> mono opt.exe
Match: MULTIPLICATION       Time: 612   Distance: 3    GNULevenshtein
Match: MULTIPLICATION       Time: 658   Distance: 3    YetiLevenshtein
Match: A                    Time: 713   Distance: -1069779 
UnsafeVectorLevenshtein
Match: MULTIPLICATION       Time: 922   Distance: 3    VectorLevenshtein
Match: MULTIPLICATION       Time: 2242  Distance: 3    MatrixLevenshtein
Match: MULTIPLICATION       Time: 1895  Distance: 3    JaggedLevenshtein

cetin at linux-d312:~/lab/monotest/ledit> mono unopt.exe
Match: MULTIPLICATION       Time: 615   Distance: 3    GNULevenshtein
Match: MULTIPLICATION       Time: 660   Distance: 3    YetiLevenshtein
Match: COLIPLICATION        Time: 712   Distance: 4    UnsafeVectorLevenshtein
Match: MULTIPLICATION       Time: 910   Distance: 3    VectorLevenshtein
Match: MULTIPLICATION       Time: 2249  Distance: 3    MatrixLevenshtein
Match: MULTIPLICATION       Time: 1912  Distance: 3    JaggedLevenshtein

Expected Results:
cetin at linux-d312:~/lab/monotest/ledit> mono
LevenshteinAlgorithmPerformanceTest.exe
Match: MULTIPLICATION       Time: 649   Distance: 3    GNULevenshtein
Match: MULTIPLICATION       Time: 894   Distance: 3    UnsafeVectorLevenshtein
Match: MULTIPLICATION       Time: 901   Distance: 3    VectorLevenshtein
Match: MULTIPLICATION       Time: 2244  Distance: 3    MatrixLevenshtein
Match: MULTIPLICATION       Time: 1932  Distance: 3    JaggedLevenshtein

How often does this happen? 
Always

Additional Information:
LevenshteinAlgorithmPerformanceTest.exe is an older binary compiled with a
Microsoft C# compiler.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list