Marge Bot pushed to branch wip/marge_bot_batch_merge_job at Glasgow Haskell Compiler / GHC
Commits:
-
d5d940b3
by Matthew Pickering at 2025-12-07T03:58:31-05:00
-
f6cbfed3
by Rodrigo Mesquita at 2025-12-07T03:58:32-05:00
-
d844061d
by Rodrigo Mesquita at 2025-12-07T03:58:32-05:00
6 changed files:
- .gitlab-ci.yml
- libraries/ghc-internal/src/GHC/Internal/Stack/Decode.hs
- + testsuite/tests/bytecode/T26640.hs
- + testsuite/tests/bytecode/T26640.script
- + testsuite/tests/bytecode/T26640.stdout
- testsuite/tests/bytecode/all.T
Changes:
| ... | ... | @@ -416,7 +416,7 @@ hadrian-ghc-in-ghci: |
| 416 | 416 | # workaround for docker permissions
|
| 417 | 417 | - sudo chown ghc:ghc -R .
|
| 418 | 418 | variables:
|
| 419 | - GHC_FLAGS: -Werror
|
|
| 419 | + GHC_FLAGS: -Werror -Wwarn=unused-imports
|
|
| 420 | 420 | tags:
|
| 421 | 421 | - x86_64-linux
|
| 422 | 422 | script:
|
| ... | ... | @@ -428,7 +428,7 @@ hadrian-ghc-in-ghci: |
| 428 | 428 | - "echo ' ghc-options: -Werror' >> hadrian/cabal.project.local"
|
| 429 | 429 | # Load ghc-in-ghci then immediately exit and check the modules loaded
|
| 430 | 430 | - export CORES="$(mk/detect-cpu-count.sh)"
|
| 431 | - - echo ":q" | HADRIAN_ARGS=-j$CORES hadrian/ghci -j$CORES | tail -n2 | grep "Ok,"
|
|
| 431 | + - echo ":q" | HADRIAN_ARGS=-j$CORES hadrian/ghci-multi -j$CORES | tail -n2 | grep "Ok,"
|
|
| 432 | 432 | after_script:
|
| 433 | 433 | - .gitlab/ci.sh save_cache
|
| 434 | 434 | - cat ci_timings.txt
|
| ... | ... | @@ -269,7 +269,7 @@ decodeLargeBitmap getterFun# stackSnapshot# index relativePayloadOffset = do |
| 269 | 269 | cWordArrayToList ptr size = mapM (peekElemOff ptr) [0 .. (size - 1)]
|
| 270 | 270 | |
| 271 | 271 | usedBitmapWords :: Int -> Int
|
| 272 | - usedBitmapWords 0 = error "Invalid large bitmap size 0."
|
|
| 272 | + usedBitmapWords 0 = 0
|
|
| 273 | 273 | usedBitmapWords size = (size `div` fromIntegral wORD_SIZE_IN_BITS) + 1
|
| 274 | 274 | |
| 275 | 275 | bitmapWordsPointerness :: Word -> [Word] -> [Pointerness]
|
| 1 | +-- Main.hs
|
|
| 2 | +module Main where
|
|
| 3 | +main = pure ()
|
|
| 4 | + |
| 1 | +:l T26640
|
|
| 2 | +:break 3
|
|
| 3 | +main
|
|
| 4 | +import GHC.Conc
|
|
| 5 | +import GHC.Stack.CloneStack
|
|
| 6 | +() <- mapM_ (\ix -> do !_ <- decode =<< cloneThreadStack ix; return ()) =<< listThreads |
| 1 | +Breakpoint 0 activated at T26640.hs:3:8-14
|
|
| 2 | +Stopped in Main.main, T26640.hs:3:8-14
|
|
| 3 | +_result :: IO () = _ |
| ... | ... | @@ -8,6 +8,7 @@ test('T25975', extra_ways(ghci_ways), compile_and_run, |
| 8 | 8 | |
| 9 | 9 | test('T26565', extra_files(["T26565.hs"]), ghci_script, ['T26565.script'])
|
| 10 | 10 | test('T23973', extra_files(["T23973.hs"]), ghci_script, ['T23973.script'])
|
| 11 | +test('T26640', extra_files(["T26640.hs"]), ghci_script, ['T26640.script'])
|
|
| 11 | 12 | |
| 12 | 13 | # Nullary data constructors
|
| 13 | 14 | test('T26216', extra_files(["T26216_aux.hs"]), ghci_script, ['T26216.script']) |