The honest answer is that it depends on the child and the parenting, and reasonable people disagree on the weight of each.
The concern is intuitive: young children who spend a lot of time with violent games may absorb the message that aggression is normal. That's a genuine risk with an unsupervised six-year-old, and it's why age ratings exist.
Against that, the evidence is weaker than the headlines suggest. Researcher Henry Jenkins, in his well-known piece "Reality Bytes: Eight Myths About Video Games Debunked", pointed out that juvenile violent crime in the United States sat at a thirty-year low even as game playing rose, and that no study has shown games to be a primary cause of violence or capable of turning an ordinary person into a killer. He also dismantled the argument that because games are used in military training, they must affect children the same way.
What does correlate strongly is temperament and home environment. Some people are simply more predisposed to aggression, and children who can talk openly to an attentive parent tend to do fine regardless of what they play.
Practically: check the rating, play or watch first if you're unsure, and don't hand a young child something like Prototype or Left 4 Dead unattended. Those games are gory, and gore is not the same thing as harm.