Ferrer doused Gasquet 7-5, 7-6 (7-2), 6-4, overcoming two rain delays en route to securing his berth in the quarterfinals at Flushing Meadows.
He will next meet the winner of a match between eighth-seeded Janko Tipsarevic of Serbia and 19th-seeded German Philipp Kohlschreiber. Tipsarevic owned a 5-2 lead in that contest before play was stopped.
That match was one of three remaining fourth-round contests to be moved to Wednesday.
Roddick won the first point of the first-set tiebreaker when rain halted play.
Also delayed was a match between second-seeded Serb Novak Djokovic and No. 18 Stanislas Wawrinka. Djokovic, the defending champion, was up 2-0.