Reilly would have been 38 in '69, too old to be the juvenile lead in the Dolly film. Crawford had already played the juvenile lead in the Funny Thing/Forum film in '66.
That said, Gene Kelly was the wrong person to direct Dolly. In a perfect world, I wish someone like Stanley Donen had been allowed to do it.