Rafael Nadal survives a Richard Gasquet challenge and will face Federer in the final.