[GHC] #1336: +RTS options should warn on the compiler

GHC trac at galois.com
Mon May 7 04:52:10 EDT 2007


#1336: +RTS options should warn on the compiler
--------------------------------+-------------------------------------------
    Reporter:  sorear           |        Owner:         
        Type:  feature request  |       Status:  new    
    Priority:  normal           |    Milestone:         
   Component:  Compiler         |      Version:  6.6.1  
    Severity:  normal           |   Resolution:         
    Keywords:                   |   Difficulty:  Unknown
          Os:  Unknown          |     Testcase:         
Architecture:  Unknown          |  
--------------------------------+-------------------------------------------
Comment (by simonpj):

 The problem here is that GHC *is* itself a GHC-compiled Haskell program,
 and so if you want to (say) change the heap size in which GHC itself runs,
 then the `+RTS` thing is the right thing to do.  Generating a warning
 seems odd.  And I think it'd be tricky, becuase the +RTS stuff is
 intercepted by the runtime system before the Haskell program ever gets to
 see it.

 I can see the problem, but I'm not sure how to fix it!

 Simon

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1336>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
-------------- next part --------------
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs at haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


More information about the Glasgow-haskell-bugs mailing list