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

GHC ghc-devs at haskell.org
Mon Apr 13 08:59:25 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
              Keywords:              |  Operating System:  Unknown/Multiple
          Architecture:              |   Type of failure:  None/Unknown
  Unknown/Multiple                   |        Blocked By:
             Test Case:              |   Related Tickets:
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------
 {{{
 /usr/bin/opt: /tmp/ghc27119_0/ghc27119_272.ll:21159722:1: error:
 redefinition of global named '@c17Kd9_info'
 @c17Kd9_info = alias internal i8* bitcast (void (i64*, i64*, i64*, i64,
 i64, i64, i64, i64, i64, i64)* @c17Kd9_info$def to i8*)
 ^

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

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


More information about the ghc-tickets mailing list