Reported in PR 1947 by Niklas Hallqvist <niklas@filippa.appli.se> and also fed back to the GNU RCS maintainers.