
#12461: Document -O3 -------------------------------------+------------------------------------- Reporter: crockeea | Owner: Type: task | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: Documentation Unknown/Multiple | bug Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- GHC accepts the flag -O3, but I can't find any documentation on it. What does it do? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12461 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12461: Document -O3 -------------------------------------+------------------------------------- Reporter: crockeea | Owner: Type: task | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Documentation | Unknown/Multiple bug | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by mpickering): I doesn't do anything. Anything higher than 2 is set to 2. The relevant function is `DynFlags.updOptLevel`. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12461#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12461: Document -O3 -------------------------------------+------------------------------------- Reporter: crockeea | Owner: (none) Type: task | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: invalid | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Documentation | Unknown/Multiple bug | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by mpickering): * status: new => closed * resolution: => invalid -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12461#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12461: Document -O3 -------------------------------------+------------------------------------- Reporter: crockeea | Owner: (none) Type: task | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: invalid | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Documentation | Unknown/Multiple bug | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by crockeea): I still feel this behavior should be documented. GHC accepts a mysterious argument, but doesn't say anything about what happens when you pass it -O3. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12461#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12461: Document -O3 -------------------------------------+------------------------------------- Reporter: crockeea | Owner: (none) Type: task | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Documentation | Unknown/Multiple bug | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: closed => new * resolution: invalid => Comment: I agree, if the flag is accepted its behavior should be documented, even if it is currently a no-op. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12461#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC