diff --git a/ghc/compiler/main/CmdLineOpts.lhs b/ghc/compiler/main/CmdLineOpts.lhs
index 4f8d893a11c93bffa1005ca9913f448c92aa9044..711c28dbd62d16b0806af2c3972597795b461413 100644
--- a/ghc/compiler/main/CmdLineOpts.lhs
+++ b/ghc/compiler/main/CmdLineOpts.lhs
@@ -574,8 +574,10 @@ isAmongSimpl on_switches		-- Switches mentioned later occur *earlier*
 	case (indexArray# stuff (tagOf_SimplSwitch switch)) of
 #if __GLASGOW_HASKELL__ < 400
 	  Lift v -> v
-#else
+#elif __GLASGOW_HASKELL__ < 403
 	  (# _, v #) -> v
+#else
+	  (# v #) -> v
 #endif
     }
   where