Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
See what's new at GitLab
4
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
K
Kawa
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
14
Issues
14
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
2
Merge Requests
2
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
kashell
Kawa
Commits
cb821fa7
Commit
cb821fa7
authored
Mar 24, 2020
by
Per Bothner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* CompileArith.java (getReturnKind): Fix for DIVIDE_GENERIC.
Fixes GitLab issues
#68
"JVM crash with split-at".
parent
4c6ca789
Pipeline
#129420139
failed with stage
in 5 minutes and 25 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
gnu/kawa/functions/ChangeLog
gnu/kawa/functions/ChangeLog
+5
-0
gnu/kawa/functions/CompileArith.java
gnu/kawa/functions/CompileArith.java
+4
-0
No files found.
gnu/kawa/functions/ChangeLog
View file @
cb821fa7
2020-03-24 Per Bothner <per@bothner.com>
* CompileArith.java (getReturnKind): Fix for DIVIDE_GENERIC.
Fixes GitLab issues #68 "JVM crash with split-at".
2020-03-18 Per Bothner <per@bothner.com>
* LispRealFormat.java, LispFormat.java: Support for srfi-48 version
...
...
gnu/kawa/functions/CompileArith.java
View file @
cb821fa7
...
...
@@ -463,6 +463,10 @@ public class CompileArith implements Inlineable
{
if
(
op
>=
ASHIFT_GENERAL
&&
op
<=
LSHIFT_RIGHT
)
return
kind1
;
if
(
op
==
DIVIDE_GENERIC
&&
kind1
>
0
&&
kind1
<=
Arithmetic
.
INTNUM_CODE
&&
kind2
>
0
&&
kind2
<=
Arithmetic
.
INTNUM_CODE
)
return
Arithmetic
.
RATNUM_CODE
;
return
getReturnKind2
(
kind1
,
kind2
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment