Sujet : Re: Everyone makes sure to avoid addressing this exact point
De : dbush.mobile (at) *nospam* gmail.com (dbush)
Groupes : comp.theory comp.lang.c comp.lang.c++Date : 11. Mar 2025, 23:31:57
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vqqdkt$27276$1@dont-email.me>
References : 1
User-Agent : Mozilla Thunderbird
On 3/11/2025 6:15 PM, olcott wrote:
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.
Changing the input is not allowed.