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

bug in native code compilation of let rec on float arrays #5476

Closed
vicuna opened this issue Jan 13, 2012 · 1 comment
Closed

bug in native code compilation of let rec on float arrays #5476

vicuna opened this issue Jan 13, 2012 · 1 comment
Assignees
Labels

Comments

@vicuna
Copy link

@vicuna vicuna commented Jan 13, 2012

Original bug ID: 5476
Reporter: @lefessan
Assigned to: @lefessan
Status: closed (set by @xavierleroy on 2013-08-31T10:44:17Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.12.1
Fixed in version: 3.13.0+dev
Category: ~DO NOT USE (was: OCaml general)
Related to: #6939
Monitored by: @protz @hcarty

Bug description

Gabriel Scherer found that the following code leads to a segmentation fault:

let test =
let rec x = [| y; y |] and y = 1. in
assert (x = [| 1.; 1. |]);
assert (y = 1.);

File attachments

@vicuna
Copy link
Author

@vicuna vicuna commented Jan 14, 2012

Comment author: @lefessan

I forgot to mention it, but I applied Gabriel's patch in the SVN as commit r12021. If everybody is ok with it, I am going to close this bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants