[commit: ghc] master: Fix safeHaskell test for llvm backend (f7dfcef)

git at git.haskell.org git at git.haskell.org
Mon May 4 22:16:29 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/f7dfcef47af9bf33837e0af3d391c45d12f17677/ghc

>---------------------------------------------------------------

commit f7dfcef47af9bf33837e0af3d391c45d12f17677
Author: Erik de Castro Lopo <erikd at mega-nerd.com>
Date:   Mon May 4 08:19:04 2015 +1000

    Fix safeHaskell test for llvm backend
    
    Test was failing (could not execute: pgmlc) for arm (which uses
    the llvm backend) due to the `-pgmlc pgmlc` in OPTIONS_GHC. It
    was also failing on amd64 in the same way when `-fllvm` was
    added to the command line. Its safe to remove because the
    compiler should already know which llvm tool to use.
    
    Test Plan: validate
    
    Reviewers: dterei, austin
    
    Subscribers: bgamari, thomie
    
    Differential Revision: https://phabricator.haskell.org/D874


>---------------------------------------------------------------

f7dfcef47af9bf33837e0af3d391c45d12f17677
 testsuite/tests/safeHaskell/flags/Flags02.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuite/tests/safeHaskell/flags/Flags02.hs b/testsuite/tests/safeHaskell/flags/Flags02.hs
index 525064d..072d450 100644
--- a/testsuite/tests/safeHaskell/flags/Flags02.hs
+++ b/testsuite/tests/safeHaskell/flags/Flags02.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS_GHC -pgmlc pgmlc, -pgmdll pgmdll, -I., -L., -Uggg, -Dggg, -with-rtsopts full #-}
+{-# OPTIONS_GHC -pgmdll pgmdll, -I., -L., -Uggg, -Dggg, -with-rtsopts full #-}
 
 -- | These are all flags that should be allowed
 module Flags02 where



More information about the ghc-commits mailing list