WWE legend Jimmy "Superfly" Snuka is in bad shape ... with his doctor claiming his stomach cancer is terminal and he only has 6 months to live.
73-year-old Snuka Skype'd into a court hearing in his murder case from his hospice in Florida -- and during the hearing, his doctor dropped the bombshell about his health.
Snuka's doctor said he's been suffering from a bunch of infections and his prognosis isn't good.
As for the murder case, Snuka is accused of killing his then-girlfriend, Nancy Argentino, back in 1983.
The judge had previously declared Snuka not mentally competent to stand trial. Friday's hearing was an update to see if his mental state had changed ... but no official decision was made.
[h/t Sarah Cassi]