Wall Street edged back from its all-time high, as US stock indexes drifted following mixed profit reports from big companies.