Depends on the installation...
In the 744, the FMS uses the GPS position as primary. If the left FMC is Master (normal ops), the left GPS is used.
The IRS3 position is also calculated and used as backup (with current VOR/DME/ILS updates as applicable). If GPS fails, IRS3 will be used automatically.