#10239: Fragile CPP test for big endian in T7600 -------------------------------------+------------------------------------- Reporter: trommler | Owner: trommler Type: bug | Status: patch Priority: normal | Milestone: Component: Test Suite | Version: 7.10.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Other | Unknown/Multiple Blocked By: | Test Case: T7600 Related Tickets: | Blocking: | Differential Revisions: Phab:D795 -------------------------------------+------------------------------------- Comment (by Austin Seipp <austin@…>): In [changeset:"4f8e34822f18cf3d31414676f900b3714367d38e/ghc"]: {{{ #!CommitTicketReference repository="ghc" revision="4f8e34822f18cf3d31414676f900b3714367d38e" Replace endian test by 64-bit word access in T7600 In commit 3f30912f an include `ghcconfig.h` was added for `WORDS_BIGENDIAN`. Converting the floating point array to a `Word64` array avoids using the preprocessor altogether and leads to smaller code. Fixes #10239 Reviewed By: rwbarton, austin Differential Revision: https://phabricator.haskell.org/D795 GHC Trac Issues: #10239 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10239#comment:5> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler