GPWS mode 1-4 are radio altimeter based alert and does not rely on GPS.
At least for 737NG, don't know if other aircraft manufactures differ, but I doubt it.
TAWS (Look–Ahead Terrain Alerting) relies on GPS and may be inoperative for 10 days if GPWS warnings are operative.