Children with autism may be more likely to have gastrointestinal symptoms early in life, compared to children without the condition, a new study suggests.