[GHC] #9839: RTS options parser silently accepts invalid flags

GHC ghc-devs at haskell.org
Sun Jul 5 23:15:34 UTC 2015


#9839: RTS options parser silently accepts invalid flags
-------------------------------------+-------------------------------------
        Reporter:  adamgundry        |                   Owner:  nkartashov
            Type:  bug               |                  Status:  new
        Priority:  highest           |               Milestone:  7.12.1
       Component:  Runtime System    |                 Version:  7.8.3
      Resolution:                    |                Keywords:  newcomer
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  Incorrect result  |  Unknown/Multiple
  at runtime                         |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:  #4243             |  Differential Revisions:  Phab:D1039
-------------------------------------+-------------------------------------

Comment (by Thomas Miedema <thomasmiedema@…>):

 In [changeset:"75de6131efc780dbdba30fa3fc48c16231ab66a9/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="75de6131efc780dbdba30fa3fc48c16231ab66a9"
 rts: fix incorrect checking start for -x arguments (#9839)

 After previous fix, flag combinations such as -xt and -xc
 resulted in an error due to the fact that the checking started from
 index 2, which was always 'x' in that case.
 Now they are correctly processed.

 Differential Revision: https://phabricator.haskell.org/D1039
 }}}

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


More information about the ghc-tickets mailing list