[project @ 1999-08-23 15:54:12 by simonmar]
authorsimonmar <unknown>
Mon, 23 Aug 1999 15:54:12 +0000 (15:54 +0000)
committersimonmar <unknown>
Mon, 23 Aug 1999 15:54:12 +0000 (15:54 +0000)
back out rev. 1.115 - -fno-cpr-analyse works fine.

ghc/driver/ghc.lprl

index 8951f16..b9d4ef2 100644 (file)
@@ -228,7 +228,6 @@ sub setupOptFlags {
    $Oopt_FinalStgProfilingMassage = '';
    $Oopt_StgStats                = '';
    $Oopt_DoSpecialise            = '-fspecialise';
-   $Oopt_DoCpr                   = '-fcpr-analyse';
    $Oopt_FoldrBuild              = 0; # *Off* by default!
    $Oopt_UsageSPInf               = ''; # Off by default
 } # end of setupOptFlags
@@ -767,7 +766,7 @@ sub setupOptimiseFlags {
 
 
        '-fstrictness',
-       $Oopt_DoCpr,
+       '-fcpr-analyse',
        '-fworker-wrapper',
 
        '-fsimplify',
@@ -3087,9 +3086,6 @@ arg: while($_ = $Args[0]) {
     /^-fno-speciali[sz]e$/
                && do { $Oopt_DoSpecialise = ''; next arg; };
 
-    /^-fno-cpr$/
-               && do { $Oopt_DoCpr = ''; next arg; };
-
     /^-fusagesp$/
                 && do {  $Oopt_UsageSPInf = '-fusagesp';
                          push (@HsC_flags, '-fusagesp-on'); next arg; };