[Git][ghc/ghc][wip/T24359] Disable nop-check temporarily

Simon Peyton Jones (@simonpj) gitlab at gitlab.haskell.org
Wed Nov 27 12:57:05 UTC 2024



Simon Peyton Jones pushed to branch wip/T24359 at Glasgow Haskell Compiler / GHC


Commits:
6f626e65 by Simon Peyton Jones at 2024-11-27T12:56:41+00:00
Disable nop-check temporarily

.. to allow libraries to build..

- - - - -


1 changed file:

- compiler/GHC/HsToCore/Binds.hs


Changes:

=====================================
compiler/GHC/HsToCore/Binds.hs
=====================================
@@ -926,9 +926,9 @@ finishSpecPrag poly_rhs rule_bndrs poly_id rule_args
        ; return Nothing  }  -- Function is NOINLINE, and the specialisation inherits that
                             -- See Note [Activation pragmas for SPECIALISE]
 
-  | all is_nop_arg rule_args
-  = do { diagnosticDs (DsUselessSpecialiseForNoInlineFunction poly_id)
-       ; return Nothing  }  -- Specialisation does nothing
+--  | all is_nop_arg rule_args
+--  = do { diagnosticDs (DsUselessSpecialiseForNoInlineFunction poly_id)
+--       ; return Nothing  }  -- Specialisation does nothing
 
   | otherwise
   -- The RULE looks like



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/6f626e658e6908590e5b4f86252abc5ec514cd07

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/6f626e658e6908590e5b4f86252abc5ec514cd07
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20241127/974347c3/attachment.html>


More information about the ghc-commits mailing list