[GHC] #10511: Simplify some preprocessor expressions
GHC
ghc-devs at haskell.org
Thu Jun 11 12:31:42 UTC 2015
#10511: Simplify some preprocessor expressions
-------------------------------------+-------------------------------------
Reporter: Berdes | Owner: Berdes
Type: task | Status: new
Priority: low | Milestone:
Component: Compiler | Version: 7.10.1
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: None/Unknown
Unknown/Multiple | Blocked By:
Test Case: | Related Tickets:
Blocking: |
Differential Revisions: |
-------------------------------------+-------------------------------------
Some proprocessor expressions can be simplified. For exemple, when
`_MSC_VER` is defined, `_WIN32` is also defined.
So `#if defined(_MSC_VER) || defined(_WIN32)` can be simplified to `#if
defined(_WIN32)`.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10511>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list