Skip to content

Fix #6710: reverse code for dcmpg/dcmpl and fcmpg/fcmpl #6722

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

Merged
merged 2 commits into from
Jun 22, 2019

Conversation

liufengyun
Copy link
Contributor

Note that the test may only run with the bootstrapped compiler,
because the ConstFold in non-bootstrapped compiler is using
the wrongly generated byte-code.

Note that the test may only run with the bootstrapped compiler,
because the ConstFold in non-bootstrapped compiler is using
the wrongly generated byte-code.
Copy link
Contributor

@odersky odersky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does the scalac backend do?

@liufengyun
Copy link
Contributor Author

Scalac has similar regression, which was fixed in scala/scala#5207 . The tests there were already included in this PR.

/cc: @lrytz Could you please advise if this is the proper fix?

@odersky odersky merged commit a225cb2 into scala:master Jun 22, 2019
@allanrenucci allanrenucci deleted the fix-6710 branch June 22, 2019 09:59
liufengyun added a commit to dotty-staging/dotty that referenced this pull request Jun 22, 2019
The two branches are currently dead code, as we never
call `genCZJUMP` with tk = DOUBLE or FLOAT. However, in
case the two branches become reachable, it's good to
make the logic consistent as in `genCJUMP` (scala#6722).
odersky added a commit that referenced this pull request Jun 26, 2019
Follow up to #6722: make dead code consistent in handling NaN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants