Deutsch   English   Français   Italiano  
<vqqcmt$26o3o$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: olcott <polcott333@gmail.com>
Newsgroups: comp.theory,comp.lang.c,comp.lang.c++
Subject: Everyone makes sure to avoid addressing this exact point
Date: Tue, 11 Mar 2025 17:15:57 -0500
Organization: A noiseless patient Spider
Lines: 37
Message-ID: <vqqcmt$26o3o$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 11 Mar 2025 23:15:57 +0100 (CET)
Injection-Info: dont-email.me; posting-host="21ad3ceb157a21d404b41b865b615184";
	logging-data="2318456"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+Sypn3//yBp28abrhcJMNG"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:8NA133KCmct5xIQ49L/UsqnN0Dw=
X-Antivirus-Status: Clean
Content-Language: en-US
X-Antivirus: Norton (VPS 250311-4, 3/11/2025), Outbound message
Bytes: 1719

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