Bug 17672 - mono --llvm botches f# list equality
Summary: mono --llvm botches f# list equality
Status: RESOLVED FIXED
Alias: None
Product: Runtime
Classification: Mono
Component: JIT ()
Version: 3.2.x
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-02-09 17:15 UTC by Søren Debois
Modified: 2014-02-12 19:19 UTC (History)
4 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Test case "bug.fs" mentioned in the description. (29 bytes, application/octet-stream)
2014-02-09 17:15 UTC, Søren Debois
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Søren Debois 2014-02-09 17:15:59 UTC
Created attachment 6014 [details]
Test case "bug.fs" mentioned in the description.

Running mono with vs. without the --llvm switch on produces different results for the one-line f# program 

    printfn "%b" (["A"] = ["A"])

(attached, bug.fs). To wit:

> fsharpc bug.fs
F# Compiler for F# 3.0 (Open Source Edition)
Freely distributed under the Apache 2.0 Open Source License
> mono --llvm bug.exe
false
> mono bug.exe
true
> mono --version
Mono JIT compiler version 3.2.6 ((no/9b58377 Thu Jan 16 17:49:56 EST 2014)
Copyright (C) 2002-2012 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:           normal
	SIGSEGV:       altstack
	Notification:  kqueue
	Architecture:  x86
	Disabled:      none
	Misc:          softdebug 
	LLVM:          yes(3.3svn-mono-(no/8bdedb5)
	GC:            sgen
>
Comment 1 Zoltan Varga 2014-02-10 16:57:23 UTC
I can reproduce this with 3.2.6, but not with mono master.
Comment 2 Rodrigo Kumpera 2014-02-12 19:19:21 UTC
The fix will be part of mono 3.2.7.