[commit: ghc] master: The parallel package has warnings (918dcf8)

git at git.haskell.org git at git.haskell.org
Thu Jul 30 10:02:28 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/918dcf835198237b2fb26d5010b246717b0cb726/ghc

>---------------------------------------------------------------

commit 918dcf835198237b2fb26d5010b246717b0cb726
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Thu Jul 30 11:01:55 2015 +0100

    The parallel package has warnings
    
    This patch suppresses them until they are fixed
    
    libraries/parallel/Control/Parallel/Strategies.hs:513:2: warning:
        Rule "parList/rseq" may never fire
          because ‘rseq’ might inline first
        Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘rseq’
    
    libraries/parallel/Control/Parallel/Strategies.hs:582:1: warning:
        Rule "evalBuffer/rseq" may never fire
          because ‘rseq’ might inline first
        Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘rseq’
    
    libraries/parallel/Control/Parallel/Strategies.hs:583:1: warning:
        Rule "parBuffer/rseq" may never fire
          because ‘rseq’ might inline first
        Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘rseq’


>---------------------------------------------------------------

918dcf835198237b2fb26d5010b246717b0cb726
 mk/warnings.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mk/warnings.mk b/mk/warnings.mk
index 2e82428..a960e0e 100644
--- a/mk/warnings.mk
+++ b/mk/warnings.mk
@@ -39,6 +39,7 @@ utils/hpc_dist-install_EXTRA_HC_OPTS += -fwarn-tabs
 
 # Libraries that have dubious RULES
 libraries/bytestring_dist-install_EXTRA_HC_OPTS += -fno-warn-inline-rule-shadowing
+libraries/parallel_dist-install_EXTRA_HC_OPTS += -fno-warn-inline-rule-shadowing
 
 # Cabal doesn't promise to be warning-free
 utils/ghc-cabal_dist_EXTRA_HC_OPTS += -w



More information about the ghc-commits mailing list