LOS ANGELES — Debbie Reynolds, an actress who sang and danced her way into film history opposite Gene Kelly in the classic 1952 musical “Singin’ in the Rain,” a movie that helped turn her into a sweetheart of American film, died Wednesday. She was 84.

Reynolds, who was a major collector of Hollywood memorabilia and toured in a one-woman revue into her 80s, died Wednesday in Los Angeles, her son told the Associated Press.

Her death came a day after her daughter, Carrie Fisher, died at age 60. Fisher, a well-known actress and author in her own right, died four days after suffering a cardiac incident on a flight from London back to Los Angeles.

On Tuesday, Reynolds had posted a statement on Facebook about the outpouring of grief about her daughter’s unexpected death.

“Thank you to everyone who has embraced the gifts and talents of my beloved and amazing daughter,” she wrote. “I am grateful for your thoughts and prayers that are now guiding her to her next stop. Love Carries Mother.”

(Nicki DeMarco/The Washington Post)

Between 1950 and 1967, she appeared in more than 30 movie musicals and light comedies, receiving her lone Oscar nomination for playing the title character in 1964’s “The Unsinkable Molly Brown.” Many critics considered it her most memorable early role, and Reynolds related to a woman with tremendous zest for life.

Off-screen, she starred as the wronged woman in a love triangle that many in the late 1950s considered the Hollywood scandal of the century. Her first husband, pop singer Eddie Fisher, left Reynolds — perceived by moviegoers as the girl next door — for sultry actress Elizabeth Taylor.

The outpouring of public sympathy for Reynolds only served to increase her fame.

But as the frothy films she was known for went out of style in the late 1960s in favor of message movies, Reynolds turned to the stage. She earned a Tony Award nomination for playing the title role in a Broadway revival of “Irene” in the early 1970s then gave birth in Las Vegas to the nightclub act that she would perform for decades.

In 1996, she returned to the big screen for her first major part in years, playing the title role in the well-reviewed Albert Brooks’ comedy “Mother.” The role allowed her “to bare a steely edge beneath her famously perky exterior,” People magazine said in 1997.

She was just 18 when studio chief Louis B. Mayer cast her in “Singin’ in the Rain” over the objections of Kelly, who wanted a professional dancer for the part. Decades later, Reynolds said she could still recall the pain from three months of dance rehearsals that made her feet bleed.

Actress Debbie Reynolds poses for a portrait in New York on Oct. 14, 2011. (Richard Drew/AP)

“ ‘Singin’ in the Rain’ and childbirth were the hardest things I ever had to do in my life,” Reynolds wrote in her 1988 autobiography “Debbie.”

The movie about Hollywood’s transition to talkies was a box-office hit, and her portrayal of an up-and-coming spunky actress turned Reynolds into a star. It is widely considered one of the greatest movie musicals.

Reynolds earned early notice as an outspoken teenager in “Two Weeks With Love” (1950) and for starring in “Tammy and the Bachelor” (1957), the first in a series of popular teen films.

Her other films included “The Affairs of Dobie Gillis” (1953) with Bobby Van, “The Rat Race” (1960) with Tony Curtis, “How the West Was Won” (1962) with many stars of the era, and “Divorce American Style” (1967) with Dick Van Dyke. In 1969, she launched “The Debbie Reynolds Show,” a TV sitcom with “I Love Lucy” overtones about the unpredictable wife of a newspaper columnist.

Contemporary TV audiences knew her from her recurring Emmy-nominated role as Grace’s eccentric actress mother on the NBC show “Will & Grace.” She also gained notice in the late 1990s for playing Kevin Kline’s mother in the film “In & Out.”

Her last role was Liberace’s mother in the 2013 HBO movie “Behind the Candelabra.” She received the 2014 Screen Actors Guild life achievement award.

Work was a necessity for the thrice-divorced Reynolds, whose public image was far more rosy than her private life.

After Reynolds married Fisher in 1955, they had two children, Carrie and Todd. Their daughter became an actress best known for playing Princess Leia in the “Star Wars” movies and, later, a successful writer. Their son was named for Fisher’s best friend, producer Mike Todd.

When Mike Todd died in a plane crash, Fisher consoled his widow, Taylor — a friend of Reynolds’ from their days as teenage contract players at Warner Bros. Fisher soon left Reynolds.

“I always thought their whole courtship was a sort of press release,” Carrie Fisher told People magazine in 1988. “They were riding the wave of being a media couple.’’

Reynolds’ second and third husbands left her in financial ruin, she often said.

Husband No. 2, Harry Karl, was a shoe magnate who lost his millions and hers through gambling and bad investments, according to her autobiography. He left her with her two children and his three to raise when they divorced in 1973.

In 1997, the Las Vegas hotel and casino she opened in the early 1990s went belly up and she filed for bankruptcy. Reynolds blamed her third husband, real estate developer Richard Hamlett, for mismanaging the property.

Reynolds was born Mary Frances Reynolds on April 1, 1932, in El Paso to Ray and Maxine Reynolds. After her father got a job as a railroad carpenter in the late 1930s, the family built a house in Burbank, Calif., near Warner Bros.

Growing up, Reynolds was a natural mimic, often performing for classmates to compensate for the embarrassment she felt over her spare wardrobe.

At 16, she won the Miss Burbank beauty contest doing an imitation of her idol Betty Hutton performing. The contest judges were so impressed with her naturalness that they flipped a coin to see who got to interview Reynolds first. Warner Bros. won, and she rode her bike to the screen test.

In addition to her son, Reynolds is survived by a granddaughter, actress Billie Lourd.