Ronaldo scored two penalties as Portugal drew 2-2 with world champions France in Budapest, while Karim Benzema netted a double for Les Bleus.
The Juventus superstar’s double means he draws level with Iranian legend Ali Daei all-time international goals record of 109 strikes.
Ronaldo had put Portugal ahead but France got lucky with a penalty converted by Benzema before he got in behind the defence to put Les Bleus ahead straight after the break.
On the hour, Ronaldo was back in the forefront converting another spotkick to earn the draw and equal the record.
Germany also drew 2-2 with Hungary in their match in Munich, needing a late strike from Leon Goretzka to equalise and clinch second spot in the group.
That result meant Portugal slips to third and will play one of the title favourites, Belgium, in the last 16.
Portugal boss Fernando Santos bemoaned the fact that Belgium would have an extra two days to prepare for Sunday’s game in Sevilla.
“Resting is very important. We will have to mitigate this 48-hour difference,” he said.
“We want to recuperate the players and have them fresh for the next match. I thought for what they played today, they have managed to recharge their mental batteries and right now we have to eliminate the fatigue.
“We are going to face very high temperatures but this is not a handicap for us. We are going to study our opponent.”
In the last 16, France will play Switzerland and Germany takes on England at Wembley.
