Meanwhile, contraceptives and divorce are seen as acceptable by the greatest number of people.
Click here for topline results and detailed survey methodology.
There is a consensus across the 40 countries polled that having an extramarital affair is morally unacceptable.
A median of about six-in-ten people across 40 nations say that gambling is unacceptable.
Fully 95% of Pakistanis hold this view and big majorities deem the practice unacceptable across much of the Middle East and Africa. Gambling is generally less acceptable to those aged 50 or over and women across much of the globe.