[GHC] #15068: Small number of test case failures on Ubuntu Bionic (GCC 7.3)

GHC ghc-devs at haskell.org
Sun Apr 29 20:38:53 UTC 2018


#15068: Small number of test case failures on Ubuntu Bionic (GCC 7.3)
-------------------------------------+-------------------------------------
        Reporter:  jrp               |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  highest           |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.4.1
  (CodeGen)                          |
      Resolution:                    |             Keywords:
Operating System:  Linux             |         Architecture:  x86_64
                                     |  (amd64)
 Type of failure:  Incorrect result  |            Test Case:  T13658
  at runtime                         |  T14779a T14779b T14868 debug
                                     |  parsing001
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by int-e):

 I think this is a bug/misfeature in GNU as:
 https://sourceware.org/bugzilla/show_bug.cgi?id=23040 (apparently, "." is
 evaluated wrt. the destination of the .uleb128 directive, which is .note
 .GNU-stack)

 In any case, as a workaround, one can evaluate the expression before using
 it:
 {{{
         uleb128_value = 1f-.-1
         .uleb128 = uleb128_value
 ;instead of
 ;       .uleb128 1f-.-1
 }}}
 The name can be reused.

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


More information about the ghc-tickets mailing list