[GHC] #10295: Putting SCC in heavily inlined code results in "error: redefinition of global"

GHC ghc-devs at haskell.org
Mon Apr 13 15:06:52 UTC 2015


#10295: Putting SCC in heavily inlined code results in "error: redefinition of
global"
-------------------------------------+-------------------------------------
        Reporter:  yongqli           |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.10.1
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by yongqli):

 Here is another error message:

 {{{
 /usr/bin/opt: /tmp/ghc7745_0/ghc7745_56.ll:20727482:1: error: redefinition
 of type
 %iAupe_str_struct = type <{[36 x i8]}>
 ^

 <no location info>:
     ghc: phase `LLVM Optimiser' failed (exitcode = 1)
 }}}

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


More information about the ghc-tickets mailing list