Prior to his 1992 marriage to Bening , who co-starred with Beatty in the film " Bugsy , " the actor earned a reputation as a Hollywood lothario , having been linked romantically over the years with such stars as Natalie Wood , Joan Collins and Madonna .