[GHC] #10560: -f and -O options interact in non-obvious, order dependent ways

GHC ghc-devs at haskell.org
Fri Jul 3 20:44:15 UTC 2015


#10560: -f and -O options interact in non-obvious, order dependent ways
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.10.1
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  Incorrect         |  Unknown/Multiple
  warning at compile-time            |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"6400c7687223c5b2141176aa92f7ff987f61aba6/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="6400c7687223c5b2141176aa92f7ff987f61aba6"
 users_guide: Describe order-dependence of -f and -O flags

 The behavior of the -f and -O options can be quite surprising.
 Document this fact. At some point this behavior should likely be changed.

 Test Plan: documentation only

 Reviewers: austin, trofi

 Reviewed By: austin, trofi

 Subscribers: thomie, bgamari

 Differential Revision: https://phabricator.haskell.org/D1008

 GHC Trac Issues: #10560
 }}}

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


More information about the ghc-tickets mailing list