From 951c1fb03d80094c8b0d9bcc463d86fa71695b3a Mon Sep 17 00:00:00 2001 From: Sylvain Henry Date: Wed, 22 Apr 2020 11:23:31 +0200 Subject: Fix unboxed-sums GC ptr-slot rubbish value (#17791) This patch allows boot libraries to use unboxed sums without implicitly depending on `base` package because of `absentSumFieldError`. See updated Note [aBSENT_SUM_FIELD_ERROR_ID] in GHC.Core.Make --- includes/stg/MiscClosures.h | 1 + 1 file changed, 1 insertion(+) (limited to 'includes') diff --git a/includes/stg/MiscClosures.h b/includes/stg/MiscClosures.h index 7918cf4e01..dc2b0715ca 100644 --- a/includes/stg/MiscClosures.h +++ b/includes/stg/MiscClosures.h @@ -418,6 +418,7 @@ RTS_FUN_DECL(stg_raiseDivZZerozh); RTS_FUN_DECL(stg_raiseUnderflowzh); RTS_FUN_DECL(stg_raiseOverflowzh); RTS_FUN_DECL(stg_raiseIOzh); +RTS_FUN_DECL(stg_paniczh); RTS_FUN_DECL(stg_makeStableNamezh); RTS_FUN_DECL(stg_makeStablePtrzh); -- cgit v1.2.1