Sujet : Everyone makes sure to avoid addressing this exact point De : polcott333 (at) *nospam* gmail.com (olcott) Groupes :comp.theorycomp.lang.ccomp.lang.c++ Date : 11. Mar 2025, 23:15:57 Autres entêtes Organisation : A noiseless patient Spider Message-ID :<vqqcmt$26o3o$1@dont-email.me> User-Agent : Mozilla Thunderbird
typedef void (*ptr)(); int HHH(ptr P); void Infinite_Loop() { HERE: goto HERE; return; } void Infinite_Recursion() { Infinite_Recursion(); return; } void DDD() { HHH(DDD); return; } int DD() { int Halt_Status = HHH(DD); if (Halt_Status) HERE: goto HERE; return Halt_Status; } When HHH correctly emulates N steps of the above functions none of them can possibly reach their own "return" instruction and terminate normally. -- Copyright 2025 Olcott "Talent hits a target no one else can hit; Genius hits a target no one else can see." Arthur Schopenhauer
Date
Sujet
#
Auteur
11 Mar 25
Everyone makes sure to avoid addressing this exact point