Critical code generation bug with GHC 9.12.3

Zubin Duggal via ghc-devs <[email protected]> Thu, 8 Jan 2026 15:28:15 +0530
Newsgroups gmane.comp.lang.haskell.ghc.devel,gmane.comp.lang.haskell.glasgow.user,gmane.comp.lang.haskell.cafe
Message-ID <aV9_t2vchPeRH16X@zubin-pc>
--===============2469513504646015020==
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="3knlg35hqrm5tssw"
Content-Disposition: inline


--3knlg35hqrm5tssw
Content-Type: text/plain; protected-headers=v1; charset=us-ascii;
	format=flowed
Content-Disposition: inline
Subject: Critical code generation bug with GHC 9.12.3
MIME-Version: 1.0

Hello all,

Unfortunately we discovered a major code generation regression
in GHC 9.12.3 that results in incorrect runtime results for
certain operations involving sub-word divisions.

We recommend avoiding upgrading to this minor release at this
time.

See https://gitlab.haskell.org/ghc/ghc/-/issues/26711 for more
details.

This is the same bug that affected GHC 9.12.1. A patch re-introducing
this bug was accidently backported onto the 9.12.3 branch
and went unnoticed throughout the testing period.

We are taking steps to ensure similar situations are less likely
to occur again, including looking at ways to improve our testing procedure
for minor GHC release, potentially using the Stackage infrastructure
to run the testsuites of a broad range of packages to detect
such issues.

We are also starting to prepare GHC 9.12.4 with a fix, which
we hope to release soon. However, a significant amount of time
has passed since the initial set of backports to GHC 9.12.3
were completed, which means that a number of merge requests
addressing issues of various severities has been marked for
backporting to the GHC 9.12 branch. We are in the process of
triaging this list and preparing a robust and reliable GHC 9.12.4
release.

Thanks,
Zubin.

--3knlg35hqrm5tssw
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEAZROpSIRC5DIH2KdfM/Cd6FMl6cFAmlff7cACgkQfM/Cd6FM
l6fbCwf9FiWXftbP9ubiyZ0uVADXGFAk9DtismK+tYLfun8U5Fet2hSxuupAuXuz
51x+N7nliAuYw3cxiJ9dxp++zSedcodNfUxKehupgPk4Cs1HtJfFbW+Xil+I3GdW
Dbnd50IWqWAFZAZ5riO9l2qh4/0fK7ZjhXELR3UwKwmLaJbDO49sKLFuobQn+YNE
yioHjt3+Zj+oNnACSvmcpPUFVo8801r8wem4khoetroQolzgBn0XkIpjpP/zDWtL
qtR794x5k1wRXlGN6BjOQUOlaCEwoK4qUbVxtqLF6a5MMHu3tF4Nct6eXnxAZiHs
eq219W6hhNQkluGrY/Ut5NISjG9sHQ==
=LWGv
-----END PGP SIGNATURE-----

--3knlg35hqrm5tssw--

--===============2469513504646015020==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ghc-devs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

--===============2469513504646015020==--