Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiler crash when turning on -unsafe option. #6277

Closed
vicuna opened this issue Dec 18, 2013 · 1 comment

Comments

Projects
None yet
1 participant
@vicuna
Copy link

commented Dec 18, 2013

Original bug ID: 6277
Reporter: @sbriais
Status: closed (set by @xavierleroy on 2015-12-11T18:25:32Z)
Resolution: fixed
Priority: normal
Severity: crash
Platform: Linux 64 bits
Version: 4.01.0
Fixed in version: 4.01.1+dev
Category: back end (clambda to assembly)
Related to: #6216
Monitored by: @gasche

Bug description

The compiler crash when compiling the attached code with -unsafe turned on.

Steps to reproduce

$ ocamlopt -unsafe -c foo.ml

Fatal error: Selection.emit_expr: unbound var j_1010
Fatal error: exception Misc.Fatal_error

File attachments

@vicuna

This comment has been minimized.

Copy link
Author

commented Dec 18, 2013

Comment author: @xavierleroy

This is another manifestation of the problem with float unboxing described in #6216. The fix for #6216 (patch "cmmgen-patch.diff" there) also fixes this issue. Already corrected in 4.01 bugfix branch and in trunk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.