[GHC] #2000: -funfolding-update-in-place badly documented

GHC trac at galois.com
Sat Dec 22 00:40:45 EST 2007


#2000: -funfolding-update-in-place badly documented
-------------------------+--------------------------------------------------
    Reporter:  m4dc4p    |       Owner:         
        Type:  bug       |      Status:  new    
    Priority:  normal    |   Milestone:         
   Component:  Compiler  |     Version:  6.8.1  
    Severity:  normal    |    Keywords:         
  Difficulty:  Unknown   |    Testcase:         
Architecture:  x86       |          Os:  Windows
-------------------------+--------------------------------------------------
 The documentation for -funfolding-update-in-place implies it takes a
 numeric argument:

   -funfolding-update-in-place=n

   Switches on an experimental "optimisation". Switching it on makes the
 compiler a little keener to inline a function that returns a constructor,
 if the context is that of a thunk.


 But in fact it does not. Either the documentation is wrong or the
 implementation has a bug, as compiling with -funfoling-update-in-place=10
 gives an error that the flag is not recognized.

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


More information about the Glasgow-haskell-bugs mailing list