TOKYO, July 25 (Xinhua) -- A stoppage-time goal by France saw them win 4-3 and condemn South Africa to an early exit in the men's Olympic football tournament.
Scoreless at half-time, South Africa led three times in the second half, each time pegged by a goal from Andre-Pierre Gignac, before he set up for Teji Savanier to net a late winner for Les Blues.
"It was an absolutely crazy match," said France coach Sylvain Ripoll.
The victory gives the French side some breathing space ahead of their match against Japan in their last match, after the hosts beat Mexico 2-1 to book a spot in the quarterfinals.
There was a dramatic clash in Group B too, as Rigoberto Rivas got the decisive goal for Honduras in a 3-2 win over New Zealand.
South Korea recovered from an opening day loss as they cruised to a 4-0 win over Romania.
All the teams in Group B are now level on three points after two games.
In Group C, Argentina and Spain won 1-0 over Egypt and Australia respectively.
Brazil and Cote d'Ivoire played out a 0-0 draw, which moves both teams on to four points in Group D, despite Brazil playing 77 minutes with 10 men after Douglas Luiz was dismissed.
In the other match in Group D, Germany also finished with 10 men but held on to beat Saudi Arabia 3-2.
The final group matches are on Wednesday.