Build failure with profiling+assertions+debug info.
## Summary
```
ghc.exe: panic! (the 'impossible' happened)
GHC version 10.1.20260613:
getStgArgFromTrivialArg
(scc<mkResultVar> breakpoint) @a_aiWn
Call stack:
CallStack (from HasCallStack):
pprPanic, called at compiler\GHC\CoreToStg.hs:626:13 in ghc-10.1-inplace:GHC.CoreToStg
Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug
Development.Shake.cmd, system command failed
Command line: _build/stage0/bin/ghc.exe -Wall -hisuf p_hi -osuf p_o -hcsuf p_hc -static -prof -hide-all-packages -no-user-package-db "-package-env -" "-package-db _build/stage1/inplace/package.conf.d" "-this-unit-id ghc-10.1-inplace" "-this-package-name ghc" "-package-id Win32-2.14.2.1-inplace" "-package-id array-0.5.8.0-inplace" "-package-id base-4.23.0.0-inplace" "-package-id binary-0.8.9.3-inplace" "-package-id bytestring-0.12.2.0-inplace" "-package-id containers-0.8-inplace" "-package-id deepseq-1.5.2.0-inplace" "-package-id directory-1.3.10.1-inplace" "-package-id exceptions-0.10.12-inplace" "-package-id filepath-1.5.4.0-inplace" "-package-id ghc-boot-10.1-inplace" "-package-id ghc-boot-th-10.1-inplace" "-package-id ghc-heap-10.1-inplace" "-package-id ghc-internal-10.100.0-inplace" "-package-id ghc-toolchain-0.1.0.0-inplace" "-package-id ghci-10.1-inplace" "-package-id hpc-0.7.0.2-inplace" "-package-id os-string-2.0.8-inplace" "-package-id process-1.6.30.0-inplace" "-package-id rts-1.0.3" "-package-id semaphore-compat-2.0.0-inplace" "-package-id stm-2.5.3.1-inplace" "-package-id text-2.1.4-inplace" "-package-id time-1.15-inplace" "-package-id transformers-0.6.3.0-inplace" -i -iC:\Users\andi\repos\ghc_head/_build/stage1/compiler/build -iC:\Users\andi\repos\ghc_head/_build/stage1/compiler/build/autogen -iC:\Users\andi\repos\ghc_head/compiler/ -Irts/include -I_build/stage1/compiler/build -I_build/stage1/compiler/build/. -Icompiler/. -IC:/Users/andi/repos/ghc_head/libraries/process/include -IC:/Users/andi/repos/ghc_head/_build/stage1/libraries/process/build/include -IC:/Users/andi/repos/ghc_head/libraries/directory -IC:/Users/andi/repos/ghc_head/_build/stage1/libraries/directory/build -IC:/Users/andi/repos/ghc_head/libraries/time/lib/include -IC:/Users/andi/repos/ghc_head/_build/stage1/libraries/time/build/lib/include -IC:/Users/andi/repos/ghc_head/libraries/containers/containers/include -IC:/Users/andi/repos/ghc_head/_build/stage1/libraries/containers/containers/build/include -IC:/Users/andi/repos/ghc_head/libraries/Win32/include -IC:/Users/andi/repos/ghc_head/_build/stage1/libraries/Win32/build/include -IC:/Users/andi/repos/ghc_head/libraries/bytestring/include -IC:/Users/andi/repos/ghc_head/_build/stage1/libraries/bytestring/build/include -IC:/Users/andi/repos/ghc_head/libraries/ghc-internal/include -IC:/Users/andi/repos/ghc_head/_build/stage1/libraries/ghc-internal/build/include -IC:/Users/andi/repos/ghc_head/rts/include -IC:/Users/andi/repos/ghc_head/_build/stage1/rts/build/include -IC:/Users/andi/repos/ghc_head/libraries/libffi-clib/src/x86 -IC:/Users/andi/repos/ghc_head/_build/stage1/libraries/libffi-clib/build/src/x86 -IC:/Users/andi/repos/ghc_head/libraries/libffi-clib/include -IC:/Users/andi/repos/ghc_head/_build/stage1/libraries/libffi-clib/build/include -optP-include -optP_build/stage1/compiler/build/autogen/cabal_macros.h -optc--target=x86_64-unknown-windows-gnu -optc--rtlib=compiler-rt -optc-D_UCRT -optc-IC:/Users/andi/repos/ghc_head/inplace/mingw/include -optc-Qunused-arguments -optP-DHAVE_INTERNAL_INTERPRETER -optP-DCAN_LOAD_DLL -outputdir _build/stage1/compiler/build -fdiagnostics-color=always -package-env=- -Wall -Wno-name-shadowing -Wnoncanonical-monad-instances -Wnoncanonical-monoid-instances -XGHC2024 -XNoImplicitPrelude -no-global-package-db -package-db=C:/Users/andi/repos/ghc_head/_build/stage1/inplace/package.conf.d -ghcversion-file=rts/include/ghcversion.h -ghcversion-file=rts/include/ghcversion.h -Wnoncanonical-monad-instances -optc-Wno-unknown-pragmas -optP-Wno-nonportable-include-path -c -o _build/stage1/compiler/build/GHC/Driver/Make.p_o -DDEBUG -fprof-auto -haddock -Winvalid-haddock -Wno-deprecated-flags -Wcpp-undef -O2 +RTS -O64M -RTS -g3 -optc-fno-omit-frame-pointer compiler/GHC/Driver/Make.hs
Exit code: 1
Stderr:
ghc.exe: panic! (the 'impossible' happened)
GHC version 10.1.20260613:
getStgArgFromTrivialArg
(scc<mkResultVar> breakpoint) @a_aiWn
Call stack:
CallStack (from HasCallStack):
pprPanic, called at compiler\GHC\CoreToStg.hs:626:13 in ghc-10.1-inplace:GHC.CoreToStg
Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug
Build failed.
2026-06-15 20:09:58
andi@Alora CLANG64 ~/repos/ghc_head
```
## Steps to reproduce
`$ hadrian/build --flavour=default+debug_info+assertions -j6`
On the master branch.
@sheaf
## Environment
* GHC version used:
Optional:
* Operating System:
* System Architecture:
issue