[Mono-dev] Possible regression in Mono 2.10.1

Brian Luczkiewicz brian at sooloos.com
Sat Apr 9 00:55:09 EDT 2011


I just ran into this myself..and put in a bug report.

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

(0 - x) is being constant-folded to (x) in mono 2.10.1.



On Thu, Mar 24, 2011 at 7:05 PM, David Mitchell <dmitchell at logos.com> wrote:

> So I was playing around in my Terminal today, and I did the following:
>
> ws1331:macintosh dmitchell$
> /Library/Frameworks/Mono.framework/Versions/Current/bin/mono --version
> Mono JIT compiler version 2.10.1 (tarball Fri Feb 25 15:56:49 MST 2011)
> Copyright (C) 2002-2011 Novell, Inc and Contributors. www.mono-project.com
> TLS:           normal
> SIGSEGV:       normal
> Notification:  Thread + polling
> Architecture:  x86
> Disabled:      none
> Misc:          debugger softdebug
> LLVM:          yes(2.9svn-mono)
> GC:            Included Boehm (with typed GC)
> ws1331:macintosh dmitchell$
> /Library/Frameworks/Mono.framework/Versions/Current/bin/csharp
> csharp   csharp2
> ws1331:macintosh dmitchell$
> /Library/Frameworks/Mono.framework/Versions/Current/bin/csharp2
> Mono C# Shell, type "help;" for help
>
> Enter statements below.
> csharp> double f = -5.0;
> csharp> f = 0 - f;
> csharp> f;
> -5
> csharp>
>
> ----
>
> Does anyone think that this might be something of a problem?
>
> Perhaps one worthy of another point release?
>
> Thanks,
> — Dave
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20110409/595c1f82/attachment-0001.html 


More information about the Mono-devel-list mailing list