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

GHC ghc-devs at haskell.org
Mon Jun 29 11:20:02 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 George):

 Replying to [comment:18 slyfox]:
 > I don't have any expectations on the effect of -f / -O ordering.
 > Would be nice to have an option to dump final option effect on
 > GHC as gcc does it with:
 > {{{
 > gcc --help=optimizers -Q <options>
 > }}}
 I agree that it would be nice to see "what you said" on the command line,
 maybe the -v option could give that output?

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


More information about the ghc-tickets mailing list