[GHC] #9390: Inlining prevents evaluation of ignored parts of unboxed tuples

GHC ghc-devs at haskell.org
Sat Sep 13 16:43:42 UTC 2014


#9390: Inlining prevents evaluation of ignored parts of unboxed tuples
-------------------------------------+-------------------------------------
              Reporter:  snoyberg    |            Owner:
                  Type:  bug         |           Status:  merge
              Priority:  normal      |        Milestone:  7.8.4
             Component:  Compiler    |          Version:  7.8.3
            Resolution:              |         Keywords:
      Operating System:  Linux       |     Architecture:  x86_64 (amd64)
       Type of failure:  Incorrect   |       Difficulty:  Unknown
  result at runtime                  |       Blocked By:
             Test Case:              |  Related Tickets:
  simplCore/should_run/T9390         |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by Herbert Valerio Riedel <hvr@…>):

 In [changeset:"abff2ffd2d6e30b93daa0def282b9fc0795ad10d/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="abff2ffd2d6e30b93daa0def282b9fc0795ad10d"
 Move docstring of `seq` to primops.txt.pp

 The documentation for `seq` was recently augmented via #9390 &
 cbfa107604f4cbfaf02bd633c1faa6ecb90c6dd7. However, it doesn't show
 up in the Haddock generated docs because `#ifdef __HADDOCK__` doesn't
 work as expected.  Also, it's easier to just fix the problem at the
 origin (which in this is case is the primops.txt.pp file).

 The benefit/downside of this is that now the extended documentation
 shows up everywhere `seq` is re-exported directly.
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9390#comment:36>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list