It was a rollercoaster of a final matchday as Cristiano Ronaldo set more records but France finished top of Group F ahead of Germany and Portugal on Wednesday.
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.
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.