[Git][ghc/ghc][wip/boxed-rep] 5 commits: Add regression test for #19053

Ben Gamari gitlab at gitlab.haskell.org
Tue Dec 15 20:40:55 UTC 2020



Ben Gamari pushed to branch wip/boxed-rep at Glasgow Haskell Compiler / GHC


Commits:
3ee696cc by Sebastian Graf at 2020-12-15T10:53:31-05:00
Add regression test for #19053

- - - - -
535dae66 by Ben Gamari at 2020-12-15T10:53:58-05:00
testsuite: Mark divbyzero, derefnull as fragile

Due to #18548.
- - - - -
331f5568 by Ben Gamari at 2020-12-15T11:21:06-05:00
Revert "Implement BoxedRep proposal"

This was inadvertently merged.

This reverts commit 6c2eb2232b39ff4720fda0a4a009fb6afbc9dcea.

- - - - -
50fae07d by Ben Gamari at 2020-12-15T15:15:16-05:00
Roll-back broken haddock commit

Updates haddock submodule to revert a commit that does not build.

- - - - -
c11e220c by Andrew Martin at 2020-12-15T15:40:37-05:00
Implement BoxedRep proposal

This implements the BoxedRep proposal, refacoring the `RuntimeRep`
hierarchy from:

```haskell
data RuntimeRep = LiftedPtrRep | UnliftedPtrRep | ...
```

to

```haskell
data RuntimeRep = BoxedRep Levity | ...
data Levity = Lifted | Unlifted
```

Closes #17526.

- - - - -


5 changed files:

- libraries/binary
- testsuite/tests/rts/all.T
- + testsuite/tests/stranal/should_run/T19053.hs
- testsuite/tests/stranal/should_run/all.T
- utils/haddock


Changes:

=====================================
libraries/binary
=====================================
@@ -1 +1 @@
-Subproject commit f22b3d34bb46f95ec5a23d1ef894e2a05818a781
+Subproject commit b224410161f112dd1133a787ded9831799589ce7


=====================================
testsuite/tests/rts/all.T
=====================================
@@ -38,6 +38,7 @@ test('derefnull',
       when(platform('i386-apple-darwin'), [ignore_stderr, exit_code(139)]),
       when(platform('x86_64-apple-darwin'), [ignore_stderr, exit_code(139)]),
       when(opsys('mingw32'), [ignore_stderr, exit_code(11)]),
+      when(opsys('mingw32'), [fragile(18548)]),
       # ThreadSanitizer changes the output
       when(have_thread_sanitizer(), skip),
       # since these test are supposed to crash the
@@ -63,6 +64,7 @@ test('divbyzero',
       when(platform('powerpc64-unknown-linux'), [ignore_stdout, exit_code(0)]),
       when(platform('powerpc64le-unknown-linux'), [ignore_stdout, exit_code(0)]),
       when(opsys('mingw32'), [ignore_stderr, exit_code(8)]),
+      when(opsys('mingw32'), [fragile(18548)]),
       # The output under OS X is too unstable to readily compare
       when(platform('i386-apple-darwin'), [ignore_stderr, exit_code(136)]),
       when(platform('x86_64-apple-darwin'), [ignore_stderr, exit_code(136)]),


=====================================
testsuite/tests/stranal/should_run/T19053.hs
=====================================
@@ -0,0 +1,8 @@
+import Data.List (group)
+import System.Exit (exitFailure, exitSuccess)
+
+main :: IO ()
+main = do
+  _ <- getContents
+  if last (group "a") == "a" then exitSuccess else exitFailure
+


=====================================
testsuite/tests/stranal/should_run/all.T
=====================================
@@ -26,3 +26,4 @@ test('T14171', [expect_broken(14171), exit_code(1)], compile_and_run, [''])
 test('T14290', normal, compile_and_run, [''])
 test('T14285', normal, multimod_compile_and_run, ['T14285', ''])
 test('T17676', normal, compile_and_run, [''])
+test('T19053', normal, compile_and_run, [''])


=====================================
utils/haddock
=====================================
@@ -1 +1 @@
-Subproject commit 4ffb30d8b637ccebecc81ce610f0af451ac8088d
+Subproject commit ae66ba1fd78849bd0fd608ad482a17508be722da



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/6c2eb2232b39ff4720fda0a4a009fb6afbc9dcea...c11e220cbc75b7c148482dc16683e56cffe6e5c7

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/6c2eb2232b39ff4720fda0a4a009fb6afbc9dcea...c11e220cbc75b7c148482dc16683e56cffe6e5c7
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20201215/236a247a/attachment-0001.html>


More information about the ghc-commits mailing list