[GHC] #14406: Core Lint error when compiling ghc with -g3

#14406: Core Lint error when compiling ghc with -g3
-------------------------------------+-------------------------------------
Reporter: duog | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.3
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: Building GHC
Unknown/Multiple | failed
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
Building ghc with the following build.mk:
{{{
BuildFlavour = validate
ifneq "$(BuildFlavour)" ""
include mk/flavours/$(BuildFlavour).mk
endif
GhcLibHcOpts += -g3
GhcRtsHcOpts += -g3
GhcStage2Opts += -g3
}}}
gives
{{{
*** Core Lint errors : in result of Simplifier ***
<no location info>: warning:
[RHS of str_sjjS :: Addr#]
The type of this binder is unlifted: str_sjjS
Binder's type: Addr#
*** Offending Program ***
...
str_sjjS :: Addr#
[LclId,
Unf=Unf{Src=<vanilla>, TopLvl=False, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 20 0}]
str_sjjS = src

#14406: Core Lint error when compiling ghc with -g3 -------------------------------------+------------------------------------- Reporter: duog | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: 8.4.1 Component: Compiler | Version: 8.3 Resolution: duplicate | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Building GHC | Unknown/Multiple failed | Test Case: Blocked By: | Blocking: Related Tickets: #14123 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: new => closed * resolution: => duplicate * related: => #14123 * milestone: => 8.4.1 Comment: Yes, this is #14123. It is on my list but it's a task that takes a bit of focus to see to completion. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14406#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14406: Core Lint error when compiling ghc with -g3 -------------------------------------+------------------------------------- Reporter: duog | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: 8.4.1 Component: Compiler | Version: 8.3 Resolution: duplicate | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Building GHC | Unknown/Multiple failed | Test Case: Blocked By: | Blocking: Related Tickets: #14123 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by simonpj): Why are you sure it is #14123? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14406#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14406: Core Lint error when compiling ghc with -g3 -------------------------------------+------------------------------------- Reporter: duog | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: 8.4.1 Component: Compiler | Version: 8.3 Resolution: duplicate | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Building GHC | Unknown/Multiple failed | Test Case: Blocked By: | Blocking: Related Tickets: #14123 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by bgamari): Because this is one of the many cases where a tick appears where we nominally say it shouldn't (in this case in a top-level primitive string binding). This is specifically a duplicate of #14122, which is one of piece of the mess that is #14123. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14406#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC