The tank doesn’t, but the pump and lines near and on the surface do. You fill up on a hot day, you will get the same volume, but not the same amount of gasoline... this is a known fact.
The meter in the pump doesn’t meter by volume, it meters by mass. The temperature is irrelevant and has been for years.
A known fact that I don’t think is true. The gas moves throught he pump fast enought that it isn’t going to warm up much if at all.