| CARVIEW |
Select Language
HTTP/2 301
server: nginx
date: Wed, 04 Feb 2026 01:37:11 GMT
content-type: text/html
content-length: 115
location: https://gitlab.haskell.org/ghc/ghc/-/issues/23762
cache-control: no-cache
nel: {"max_age": 0}
x-gitlab-meta: {"correlation_id":"01KGK4QPHR7YHDT4T2P7VZC8AN","version":"1"}
x-request-id: 01KGK4QPHR7YHDT4T2P7VZC8AN
x-runtime: 0.030162
HTTP/2 200
server: nginx
date: Wed, 04 Feb 2026 01:37:11 GMT
content-type: text/html; charset=utf-8
content-length: 65273
cache-control: max-age=0, private, must-revalidate
content-security-policy:
etag: W/"5ad8d4a9c3dffb2ed91122d529b5acb8"
nel: {"max_age": 0}
permissions-policy: interest-cohort=()
referrer-policy: strict-origin-when-cross-origin
set-cookie: _gitlab_session=1fa66ec30fe69d2ddac00edbf34d71dc; path=/; secure; HttpOnly; SameSite=None
vary: Accept
x-content-type-options: nosniff
x-download-options: noopen
x-frame-options: SAMEORIGIN
x-gitlab-meta: {"correlation_id":"01KGK4QPWJST6YRAZW8W9VJ4KS","version":"1"}
x-permitted-cross-domain-policies: none
x-request-id: 01KGK4QPWJST6YRAZW8W9VJ4KS
x-runtime: 0.416025
x-ua-compatible: IE=edge
x-xss-protection: 1; mode=block
lookupIdSubst panic with GHC 9.4.5 (#23762) · Issues · Glasgow Haskell Compiler / GHC · GitLab
Skip to content
Admin message
Due to a large amount of spam we do not allow new users to create repositories, they are "external" users. If you are a new user and want to create a repository, for example for forking GHC, open a new issue on ghc/ghc using the "get-verified" issue template
lookupIdSubst panic with GHC 9.4.5
Summary
GHC 9.4.5 panics with lookupIdSubst when building a benchmark of my library.
[2 of 3] Compiling IGA ( benchmark/IGA.hs, /tmp/haskell-floating-point/dist-newstyle/build/x86_64-linux/ghc-9.4.5/rounded-hw-0.3.0/build/rounded-hw-benchmark/rounded-hw-benchmark-tmp/IGA.o )
<no location info>: error:
panic! (the 'impossible' happened)
GHC version 9.4.5:
lookupIdSubst
df_sfFs
InScope {$dUnbox_X0 $dIArray_Xf $dFractional_Xg $dIArray_adxd
df_adxe $dUnbox_adxf $dFractional_adxs $dIArray_adxt df_adxu
$dUnbox_adxv $sintervalGaussianEliminationU_ddPi
$sintervalGaussianEliminationU_ddPj
$sintervalGaussianEliminationU_ddPk intervalGaussianElimination
intervalGaussianEliminationU benchmark $trModule $trModule_seOB
$trModule_seOC $trModule_seOD $trModule_seOE loc_seOF loc_seOG
loc_seOH loc_seOI loc_seOJ loc_seOK loc_seOL $dIP_seOM $dIP_seON
$dIP_seOO loc_seRU loc_seRV loc_seRW loc_seRX loc_seRY loc_seRZ
loc_seS0 $dIP_seS1 $dIP_seS2 $dIP_seS3 loc_seZA loc_seZB loc_seZC
loc_seZD loc_seZE loc_seZF loc_seZG $dIP_seZH $dIP_seZI $dIP_seZJ
benchmark_sfzR benchmark_sfzS}
Call stack:
CallStack (from HasCallStack):
callStackDoc, called at compiler/GHC/Utils/Panic.hs:182:37 in ghc:GHC.Utils.Panic
pprPanic, called at compiler/GHC/Core/Subst.hs:260:17 in ghc:GHC.Core.Subst
Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug
Error: cabal: Failed to build rounded-hw-0.3.0.
Steps to reproduce
$ git clone https://github.com/minoki/haskell-floating-point.git
$ cd haskell-floating-point/
$ cabal build -w ghc-9.4.5 --enable-benchmarks rounded-hw
Expected behavior
The benchmark should build fine.
Environment
- GHC version used: 9.4.5
The GHC built from https://gitlab.haskell.org/ghc/ghc/-/commits/wip/9.4.6-backports/ is also affected, so this is a different issue from #22761 (closed).
Other series (9.2.x, 9.6.x, 9.8.1-alpha1) are not affected.
Optional:
- Operating System: x86_64 and AArch64
- System Architecture: Linux and macOS
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information