diff --git a/ghc/tests/codeGen/should_run/cg018.hs b/ghc/tests/codeGen/should_run/cg018.hs
index 02220c8016f0a26c6ce62d153b7dbd34a09be9a6..da7b0523ddc0f124b19f077f9e79eb583dbe91e6 100644
--- a/ghc/tests/codeGen/should_run/cg018.hs
+++ b/ghc/tests/codeGen/should_run/cg018.hs
@@ -3,9 +3,7 @@
 import PrelGHC( Float# )
 import PrelFloat
 
--- This test is a little bit numerically unstable, so compare only a small prefix.
--- Otherwise you get slightly different results with and without optimization.
-main = putStrLn (take 6 (shows (selectee1 + selectee2) ""))
+main = print (selectee1 + selectee2)
 
 data Tfo = Tfo Float# Float# Float# Float# Float# Float# Float# Float# Float# Float# Float# Float#