It's very dependant on the situation, if the girl is under 25 and the guy is over 40, then they aren't going to have a lot in common and realistically the relationship is going to be purely needs/wants driven.
I think when people get older then the age gap doesn't make that much of a difference, they'll have a lot more to talk about and relate to. So for a 27 year old with a 50 year old, I dont think thats such a big deal. But a 50 year old with a 22 year old seems a bit sick to be fair.
My fiance is 8 years older then me, works well for both of us!