G
Done, 25 issues listed as a fake appendix in the TOC. I managed to merge some newly filed, so it's 7 not 10, despite the bot tripping over a few more while generating Haskell reproducers for the originally Cmm-only issues.
G
Hmm looks like the pipeline failed for taking too long. Should I make it retry? Seems wasteful for a documentation MR
G
Interesting, I hadn't considered the RiscV / LoongArch linker implications, but if they're required for a merge then I'll need to. The problem was the .Ldwstr_ labels could reach object files on both architectures which would break -fobject-determinism with -g. The simplest solution is get mkDwarfStringTable to number strings in order of first occurrence, which is the order .debug_str already uses. This changes the labels to .Ldwstr_, and the table is then passed into pprDwarfInfo. C compilers…
G
Marge bot/ turned up an interesting failure cases with this change. Alpine 3.12 ships GNU as 2.34, which compresses debug sections by default whenever that makes them smaller. I've changed the tests to handle compressed debug sections where they appear.
G
Another finding: https://gitlab.haskell.org/sjakobi/GlaHiCo/-/snippets/6375
G
Simon Jakobi (18a5e7ed) at 04 Dec 20:10 NCG: Give static indirection aliases a symbol type
G
The bot adds the following related defect: DWARF 5, section 6.4.2 is not followed where it's supposed to be. Found while checking this issue: in the DW_CFA_expression and DW_CFA_val_expression rules of a register other than Sp, pprSetUnwind writes Sp as DW_OP_call_frame_cfa, which DWARF 5 excludes from the operands of these two instructions. For such a rule for R1, rbx on x86-64, lldb 18.1.3 gives the register as unavailable; gdb 15.1 gives the value the statement names, but aborts with an…
G
Removing what? The _ :: SrcSpan parameter? If I remove that, and still want to use LogAction for the signature, that means changing LogAction like this: type LogAction = LogFlags -> MessageClass - -> SrcSpan -> SDoc -> IO () And that breaks any function that needs that SrcSpan, because the MessageClass is not always expected to contain the SrcSpan, it only does so when it is a InternalMCDiagnostic. For instance, look at this parLogAction :: LogQueue -> LogAction parLogAction log_queue log_flags…
G
Perhaps the best we can do is some documentation and/or moving them to an .Unsafe module
G
I don't see a way you can fix this. You need to expose internals of Name. I have written plenty of code relying on it, for example looking at constructed quotations in tests without splicing them, checking that they indeed are constructed as expected. You could discourage usage of Name internals (and mkNameG etc), but making Name completely opaque will make current legitimate usage impossible. 👎 from me.
G
Another one: https://gitlab.haskell.org/sjakobi/GlaHiCo/-/snippets/6374
G
2 more findings: https://gitlab.haskell.org/sjakobi/GlaHiCo/-/snippets/6373
G
Is this a duplicate of #22792?
G
Done in ab8b5b06 commit ab8b5b0699430d37315e808ea518a1380c88bbe2 Author: Vladislav Zavialov Date: Wed Oct 14 18:41:09 2026 +0200 Curried contexts in prefix GADT constructors (#27424) Prefix GADT constructor declarations now accept multiple consecutive contexts, equivalent to a single conjoined context: data G a where MkCurried :: C a => (D a, E a) => G a MkConjoined :: (C a, D a, E a) => G a This is a step towards GHC Proposal #402 "Stable GADT constructor syntax". To represent multiple…
G
Done in eaa95a6f commit eaa95a6f1136a9379cad2d334708355d70d08908 Author: Andrei Borzenkov Date: Tue Aug 11 10:30:03 2026 +0400 Parentheses in prefix GADT constructors (#27423) Updated `splitLHsGadtTy` to allow looking through the parentheses for inner binders. General example of a code pattern that's allowed now: data S a where MkS :: (forall a. S a) That should work now with any combination of nested foralls and parentheses. We don't perform parenthesis unwrapping for record GADT constructors…
G
I think the solution here is that a quote should capture the scope that it is defined in, I am not following this thread properly, but this particular sentence caught my eye, because it may (just possibly) overlap with work that Apporv is doing in the long-running !15868. I'm tagging him here @ani. The issue that he and I have been working on is this. Suppose we have {-# LANGUAGE RebindableSyntax #-} module Lib where import Wombat( (>>=) ) fooQuote = [| ...(do { x<-e1; e2 })... |] module Client…
G
Simon Peyton Jones (666b92a6) at 29 Nov 22:54 Fix evaluated-ness bug in Simplifier (#26548)