I am not sure what you are saying
In the code I would name the pins something like TX_GPS for the pin that transmits to the GPS and RX_GPS for the pin that receives data from the GPS. That reflects what the Arduino is doing and what the pins re used for
Of course, you could name them anything you like and it would still work if they are connected correctly