[GHC] #13211: NegativeLiterals -0.0 :: Double

GHC ghc-devs at haskell.org
Sat Feb 25 20:28:19 UTC 2017


#13211: NegativeLiterals -0.0 :: Double
-------------------------------------+-------------------------------------
        Reporter:  rwbarton          |                Owner:  Nolan
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.1
      Resolution:                    |             Keywords:  newcomer
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Nolan):

 Oops, it failed. Testing summary:

 {{{
 Unexpected results from:
 TEST="T2762 BinaryLiterals0 T4029"

 SUMMARY for test run started at Sat Feb 25 19:00:27 2017 MSK
  2:45:29 spent to go through
     5766 total tests, which gave rise to
    18079 test cases, of which
    12034 were skipped

       72 had missing libraries
     5830 expected passes
      140 expected failures

        0 caused framework failures
        0 unexpected passes
        1 unexpected failures
        2 unexpected stat failures

 Unexpected failures:
    parser/should_run/BinaryLiterals0.run  BinaryLiterals0 [exit code
 non-0] (normal)

 Unexpected stat failures:
    perf/space_leaks/T2762.run  T2762 [stat too good] (normal)
    perf/space_leaks/T4029.run  T4029 [stat not good enough] (ghci)
 }}}

 T4029:
 {{{
 testsuite/tests/parser/should_run/BinaryLiterals0.hs:14:13: error:
     • Couldn't match expected type ‘(Int, Int)’
                   with actual type ‘a0 -> b0 -> (a0, b0)’
     • Probable cause: ‘(-)’ is applied to too few arguments
       In the expression: (,) - 0 b0
       In the expression:
           [(,) 0 b0, (,) 0 b1, (,) 0 b10, (,) 0 b11, ....] :: [(Int, Int)]
       In an equation for ‘lst’:
           lst = [(,) 0 b0, (,) 0 b1, (,) 0 b10, ....] :: [(Int, Int)]
    |
 14 |           , (,) -0b0, (,) -0b1, (,) -0b10, (,) -0b11
    |             ^^^^^^^^
 ... and 3 similar
 }}}

 T2762:
 {{{
     Expected    T2762(normal) peak_megabytes_allocated: 3 +/-0%
     Lower bound T2762(normal) peak_megabytes_allocated: 3
     Upper bound T2762(normal) peak_megabytes_allocated: 3
     Actual      T2762(normal) peak_megabytes_allocated: 2
     Deviation   T2762(normal) peak_megabytes_allocated: -33.3 %

 }}}

 T4029
 {{{
 peak_megabytes_allocated value is too high:
     Expected    T4029(ghci) peak_megabytes_allocated: 76 +/-10%
     Lower bound T4029(ghci) peak_megabytes_allocated: 68
     Upper bound T4029(ghci) peak_megabytes_allocated: 84
     Actual      T4029(ghci) peak_megabytes_allocated: 94
     Deviation   T4029(ghci) peak_megabytes_allocated: 23.7 %
 max_bytes_used value is too high:
     Expected    T4029(ghci) max_bytes_used: 22016200 +/-5%
     Lower bound T4029(ghci) max_bytes_used: 20915390
     Upper bound T4029(ghci) max_bytes_used: 23117010
     Actual      T4029(ghci) max_bytes_used: 27596592
     Deviation   T4029(ghci) max_bytes_used:     25.3 %
 }}}

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


More information about the ghc-tickets mailing list