
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC Commits: 3506fa7d by Simon Hengel at 2025-08-13T21:05:18-04:00 Report -pgms as a deprecated flag (instead of reporting an unspecific warning) Before: on the commandline: warning: Object splitting was removed in GHC 8.8 After: on the commandline: warning: [GHC-53692] [-Wdeprecated-flags] -pgms is deprecated: Object splitting was removed in GHC 8.8 - - - - - 1 changed file: - compiler/GHC/Driver/Session.hs Changes: ===================================== compiler/GHC/Driver/Session.hs ===================================== @@ -1145,8 +1145,8 @@ dynamic_flags_deps = [ $ noArgM $ \d -> do deprecate $ "use -pgml-supports-no-pie instead" pure $ alterToolSettings (\s -> s { toolSettings_ccSupportsNoPie = True }) d) - , make_ord_flag defFlag "pgms" - (HasArg (\_ -> addWarn "Object splitting was removed in GHC 8.8")) + , make_dep_flag defFlag "pgms" + (HasArg (\_ -> return ())) "Object splitting was removed in GHC 8.8" , make_ord_flag defFlag "pgma" $ hasArg $ \f -> alterToolSettings $ \s -> s { toolSettings_pgm_a = (f,[]) } , make_ord_flag defFlag "pgml" View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/3506fa7d4417ecd7225e413d3d770394... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/3506fa7d4417ecd7225e413d3d770394... You're receiving this email because of your account on gitlab.haskell.org.