Marge Bot pushed to branch wip/marge_bot_batch_merge_job at Glasgow Haskell Compiler / GHC
Commits:
-
12a706cf
by Cheng Shao at 2026-03-14T16:37:54-04:00
-
b5d39cad
by Matthew Pickering at 2026-03-14T16:38:37-04:00
-
6e798f4f
by Andreas Klebinger at 2026-03-15T04:59:49-04:00
-
d7db04e7
by Simon Hengel at 2026-03-15T04:59:51-04:00
-
1b6e5bd1
by Matthew Pickering at 2026-03-15T04:59:51-04:00
5 changed files:
- .gitlab/generate-ci/gen_ci.hs
- docs/users_guide/exts/recursive_do.rst
- libraries/base/src/GHC/Weak/Finalize.hs
- m4/fp_prog_cc_linker_target.m4
- testsuite/tests/ghc-e/should_fail/all.T
Changes:
| ... | ... | @@ -173,7 +173,7 @@ configureArgsStr :: BuildConfig -> String |
| 173 | 173 | configureArgsStr bc = unwords $
|
| 174 | 174 | ["--enable-unregisterised"| unregisterised bc ]
|
| 175 | 175 | ++ ["--disable-tables-next-to-code" | not (tablesNextToCode bc) ]
|
| 176 | - ++ ["--with-intree-gmp" | Just _ <- pure (crossTarget bc) ]
|
|
| 176 | + ++ ["--with-intree-gmp" | Just _ <- [crossTarget bc] ]
|
|
| 177 | 177 | ++ ["--with-system-libffi" | crossTarget bc == Just "wasm32-wasi" ]
|
| 178 | 178 | ++ ["--enable-ipe-data-compression" | withZstd bc ]
|
| 179 | 179 | ++ ["--enable-strict-ghc-toolchain-check"]
|
| ... | ... | @@ -56,7 +56,7 @@ or equivalently |
| 56 | 56 | |
| 57 | 57 | As you can guess ``justOnes`` will evaluate to ``Just [-1,-1,-1,...``.
|
| 58 | 58 | |
| 59 | -GHC's implementation the mdo-notation closely follows the original
|
|
| 59 | +GHC's implementation of the mdo-notation closely follows the original
|
|
| 60 | 60 | translation as described in the paper `A recursive do for
|
| 61 | 61 | Haskell <https://leventerkok.github.io/papers/recdo.pdf>`__, which
|
| 62 | 62 | in turn is based on the work `Value Recursion in Monadic
|
| ... | ... | @@ -16,12 +16,9 @@ import GHC.Internal.Weak.Finalize |
| 16 | 16 | |
| 17 | 17 | import GHC.Internal.Base
|
| 18 | 18 | import GHC.Internal.Exception
|
| 19 | -import GHC.Internal.IORef
|
|
| 20 | -import GHC.Internal.Conc.Sync (labelThreadByteArray#, myThreadId)
|
|
| 21 | -import GHC.Internal.IO (catchException, unsafePerformIO)
|
|
| 19 | +import GHC.Internal.IO (catchException)
|
|
| 22 | 20 | import GHC.Internal.IO.Handle.Types (Handle)
|
| 23 | 21 | import GHC.Internal.IO.Handle.Text (hPutStrLn)
|
| 24 | -import GHC.Internal.Encoding.UTF8 (utf8EncodeByteArray#)
|
|
| 25 | 22 | |
| 26 | 23 | |
| 27 | 24 | {-# DEPRECATED runFinalizerBatch
|
| ... | ... | @@ -8,7 +8,7 @@ |
| 8 | 8 | # a linker
|
| 9 | 9 | AC_DEFUN([FP_PROG_CC_LINKER_TARGET],
|
| 10 | 10 | [
|
| 11 | - AC_MSG_CHECKING([whether $CC used as a linker understands --target])
|
|
| 11 | + AC_MSG_CHECKING([whether $1 used as a linker understands --target])
|
|
| 12 | 12 | |
| 13 | 13 | echo 'int foo() { return 0; }' > conftest1.c
|
| 14 | 14 | echo 'int main() { return 0; }' > conftest2.c
|
| ... | ... | @@ -20,7 +20,7 @@ AC_DEFUN([FP_PROG_CC_LINKER_TARGET], |
| 20 | 20 | # See Note [Don't pass --target to emscripten toolchain] in GHC.Toolchain.Program
|
| 21 | 21 | CONF_CC_SUPPORTS_TARGET=NO
|
| 22 | 22 | AC_MSG_RESULT([no])
|
| 23 | - elif "$CC" $$3 --target=$LlvmTarget -o conftest conftest1.o conftest2.o;
|
|
| 23 | + elif "$1" $$3 --target=$LlvmTarget -o conftest conftest1.o conftest2.o;
|
|
| 24 | 24 | then
|
| 25 | 25 | $3="--target=$LlvmTarget $$3"
|
| 26 | 26 | AC_MSG_RESULT([yes])
|
| ... | ... | @@ -25,7 +25,7 @@ test('T18441fail1', req_interp, makefile_test, ['T18441fail1']) |
| 25 | 25 | |
| 26 | 26 | test('T18441fail2', [req_interp, normalise_version('ghc')], makefile_test, ['T18441fail2'])
|
| 27 | 27 | |
| 28 | -test('T18441fail3', [ignore_stderr, exit_code(1)], run_command, ['{compiler} -e ":! abcde"'])
|
|
| 28 | +test('T18441fail3', [req_interp, ignore_stderr, exit_code(1)], run_command, ['{compiler} -e ":! abcde"'])
|
|
| 29 | 29 | |
| 30 | 30 | test('T18441fail4', req_interp, makefile_test, ['T18441fail4'])
|
| 31 | 31 | |
| ... | ... | @@ -57,7 +57,7 @@ test('T18441fail17', req_interp, makefile_test, ['T18441fail17']) |
| 57 | 57 | |
| 58 | 58 | test('T18441fail18', req_interp, makefile_test, ['T18441fail18'])
|
| 59 | 59 | |
| 60 | -test('T18441fail19', [ignore_stderr, exit_code(1)], run_command, ['{compiler} -e ":cd abcd"'])
|
|
| 60 | +test('T18441fail19', [req_interp, ignore_stderr, exit_code(1)], run_command, ['{compiler} -e ":cd abcd"'])
|
|
| 61 | 61 | |
| 62 | 62 | test('T23663', [req_interp, normalise_version('ghc')], makefile_test, ['T23663'])
|
| 63 | 63 |