During, the 1 to 2 hour race duration, sunlight will have no effect on fuel quality. If exposed too long in the sun like 3 months or 6, the light ends will evaporate leaving a gasoline with heavier hydrocarbons.
All gasoline producer (except maybe Russia) follow the very strict gasoline composition limits set by the American Society for Testing and Materials (ASTM). Gum formation tendency of gasoline is determined by the Existent Gum Test, with a max limit of 4 mg/100 mL. Typical gum is 1 mg. The refining process removes all gum-forming hydrocarbons and addition of fuel additives further improve fuel stability.
Gasoline composition however differ between each summer and winter seasons.
From
http://www.faqs.org/faqs/autos/gasoline-faq/part1/
"Volatility affects the driveability of a vehicle so much so that fuel for mid-summer Arizona would be difficult to use in mid-winter Alaska. The US is divided into zones, according to altitude and seasonal temperatures, and the fuel volatility is adjusted accordingly. Incorrect fuel may result in difficult starting in cold weather, carburettor icing, vapor lock in hot weather, and crankcase oil dilution."