[GHC] #10667: '-g' option generates invalid assembly when '*/*' operator is used

GHC ghc-devs at haskell.org
Tue Oct 27 20:42:24 UTC 2015


#10667: '-g' option generates invalid assembly when '*/*' operator is used
-------------------------------------+-------------------------------------
        Reporter:  slyfox            |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.2-rc2
  (CodeGen)                          |
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  crash                              |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by mjmrotek):

 Similar thing happens when compiling HMatrix with -g:


 {{{
     [16 of 33] Compiling Numeric.LinearAlgebra.Algorithms (
 src/Numeric/LinearAlgebra/Algorithms.hs, .stack-
 work/dist/x86_64-linux/Cabal-1.22.4.0/build/Numeric/LinearAlgebra/Algorithms.o
 )
     /tmp/ghc31909_0/ghc_110.s: Assembler messages:

     /tmp/ghc31909_0/ghc_110.s:60657:0:  Error: bad expression

     /tmp/ghc31909_0/ghc_110.s:60664:0:  Error: bad expression

 ... etc
 }}}

 and in the offending .s file:


 {{{
 60657: .loc 3 805 33 /* expGolub.*/ */

 60664: .loc 3 805 33 /* expGolub.*/ */

 ... etc
 }}}

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


More information about the ghc-tickets mailing list