From 5ef7da46260fb70ec63af2361c81512289bad02e Mon Sep 17 00:00:00 2001
From: simonm <unknown>
Date: Fri, 8 May 1998 12:29:10 +0000
Subject: [PATCH] [project @ 1998-05-08 12:29:10 by simonm] move update
 analyser into -O2 optimisations.

---
 ghc/driver/ghc.lprl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ghc/driver/ghc.lprl b/ghc/driver/ghc.lprl
index 2b697244a8ac..6296b9162e30 100644
--- a/ghc/driver/ghc.lprl
+++ b/ghc/driver/ghc.lprl
@@ -915,7 +915,6 @@ sub setupOptimiseFlags {
 #LATER:	'-fcalc-inlinings2', -- pointless for 2.01
 
       # stg2stg passes
-	'-fupdate-analysis',
 	'-flambda-lift',
 	$Oopt_FinalStgProfilingMassage,
 	$Oopt_StgStats,
@@ -925,6 +924,7 @@ sub setupOptimiseFlags {
 
       # SPECIAL FLAGS for -O2
 	($OptLevel == 2) ? (
+	  '-fupdate-analysis',	# virtually useless; relegated to -O2
 	  '-fsemi-tagging',
 	) : (),
       );
-- 
GitLab