[GHC] #9839: RTS options parser silently accepts invalid flags
GHC
ghc-devs at haskell.org
Sun Mar 22 23:57:33 UTC 2015
#9839: RTS options parser silently accepts invalid flags
-------------------------------------+-------------------------------------
Reporter: adamgundry | Owner: carlostome
Type: bug | Status: patch
Priority: normal | Milestone:
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:D748
-------------------------------------+-------------------------------------
Comment (by Thomas Miedema <thomasmiedema@…>):
In [changeset:"a20cc3d00c4ca0753fcdcb16199f173b3af44fe4/ghc"]:
{{{
#!CommitTicketReference repository="ghc"
revision="a20cc3d00c4ca0753fcdcb16199f173b3af44fe4"
rts: check arguments to flags that don't have any
There were some flags of the RTS that when given an argument (which they
don't have) were not firing an error.
e.g -Targument when the flag -T has no argument.
Now this is an error and affects the following flags:
-B -w -T -Z -P -Pa -c -t
Signed-off-by: Carlos Tomé <carlostome1990 at gmail.com>
Reviewed By: austin, thomie, hvr
Differential Revision: https://phabricator.haskell.org/D748
GHC Trac Issues: #9839
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9839#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list