Pale Rider!!!
I'm watching this right now, for the first time in years, and only just realised the scene where the gold prospector that's carrying the big chunk of gold, gets shot to death by the sheriff and his deputies, is very similar to Murphy's death in Robocop.
The killers are lined up in front of the guy, they play with him for a while, but then open fire until their leader, the sheriff, puts a single bullet in his head.
I really can't believe I missed this, as I've seen PR at least twice. Perhaps Frank Miller saw the film, or was it Verhoeven?