[GHC] #13863: -fno-code is broken on package:language-c-quote

GHC ghc-devs at haskell.org
Mon Jul 3 22:58:32 UTC 2017


#13863: -fno-code is broken on package:language-c-quote
-------------------------------------+-------------------------------------
        Reporter:  duog              |                Owner:  duog
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
                                     |  quasiquotation/T13863
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D3677
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"d55bea14c745f7f448fb24673a21b511d1c1c222/ghc"
 d55bea14/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="d55bea14c745f7f448fb24673a21b511d1c1c222"
 Fix -fno-code for modules that use -XQuasiQuotes

 In commit 53c78be0aab76a3107c4dacbb1d177afacdd37fa object code is
 generated for modules depended on by modules that use -XTemplateHaskell.
 This turns the same logic on for modules that use -XQuasiQuotes.

 A test is added.

 Note that I've based this of D3646, as it has a function I want to use.

 Test Plan: ./validate

 Reviewers: austin, bgamari, alexbiehl

 Reviewed By: alexbiehl

 Subscribers: alexbiehl, rwbarton, thomie

 GHC Trac Issues: #13863

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

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


More information about the ghc-tickets mailing list