US clothing retailer Gap Inc has warned that an underperformance by its namesake brand in the third quarter will likely narrow its gross margin.