Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
jeffrey young
GHC
Commits
3592d110
Verified
Commit
3592d110
authored
4 years ago
by
Moritz Angermann
Browse files
Options
Downloads
Patches
Plain Diff
[Aarch64] No div-by-zero; disable test.
parent
191fea2b
Branches
ghc-spj
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testsuite/tests/rts/all.T
+9
-0
9 additions, 0 deletions
testsuite/tests/rts/all.T
with
9 additions
and
0 deletions
testsuite/tests/rts/all.T
+
9
−
0
View file @
3592d110
...
...
@@ -48,6 +48,15 @@ test('derefnull',
test
('
divbyzero
',
[
# SIGFPE on Linux
exit_code
(
136
),
# The LLVM backend in particular does not guarantee any particular
# behavior on division-by-zero (#10332).
omit_ways
(
llvm_ways
),
when
(
not
(
have_ncg
()),
skip
),
# Aarch64 does not have div-by-zero exceptions for sdiv/udiv.
# The only option would be to implement this in assembly with checks for
# each devision. Neither gcc, nor llvm do this as of right now. Microsoft
# apparently does so though?
when
(
arch
('
aarch64
'),
skip
),
# Apparently the output can be different on different
# Linux setups, so just ignore it. As long as we get
# the right exit code we're OK.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment