Compiling upstream `basement` library with ghc-9.4/head and -fexpose-all-unfoldings causes compiler to loop.
To reproduce
git clone git@github.com:haskell-foundation/foundation.git
cd foundation/basement/
git checkout 39985b94b4de4d02e8decb5e378b53ad3f72c0cc
cabal build -w /opt/ghc-9.4.1/bin/ghc --ghc-options="-fexpose-all-unfoldings"