Path: ...!weretis.net!feeder9.news.weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Mikko Newsgroups: comp.theory Subject: Re: Every D(D) simulated by H presents non-halting behavior to H ### Date: Fri, 17 May 2024 13:56:55 +0300 Organization: - Lines: 60 Message-ID: References: <-5Gdnf-nQvstC6b7nZ2dnZfqnPadnZ2d@brightview.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Fri, 17 May 2024 12:56:56 +0200 (CEST) Injection-Info: dont-email.me; posting-host="dbf1b225f2871bff3da7815f4eb7b472"; logging-data="2278709"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ZD9AsTMWTwzBKjiXTBbCC" User-Agent: Unison/2.2 Cancel-Lock: sha1:bZzQKXm6usCaOiaRP2HYDceFvLo= Bytes: 3585 On 2024-05-16 16:39:20 +0000, olcott said: > On 5/16/2024 11:15 AM, Alan Mackenzie wrote: >> olcott wrote: >>> On 5/16/2024 5:48 AM, Mikko wrote: >>>> On 2024-05-15 15:24:57 +0000, olcott said: >> >> [ .... ] >> >>>> Normal semantics is that the program is not executed. >> >> Indeed. >> >>>>> typedef int (*ptr)();  // ptr is pointer to int function >>>>> 00 int H(ptr x, ptr x); >>>>> 01 int D(ptr x) >>>>> 02 { >>>>> 03   int Halt_Status = H(x, x); >>>>> 04   if (Halt_Status) >>>>> 05     HERE: goto HERE; >>>>> 06   return Halt_Status; >>>>> 07 } >>>>> 08 >>>>> 09 int main() >>>>> 10 { >>>>> 11   H(D,D); >>>>> 12   return 0; >>>>> 13 } >> >>>> Can you find any compiler that is liberal enough to accept that? >> >>> It has been fully operational code under Windows and >>> Linux for two years. >> >> That is another of your lies. It's largely why I despise you so much. >> >> Although you've fixed the missing semicolon on line 0 (at last), it still >> fails to compile under any C compiler worthy of the name. With all the >> errors in it it still would have failed to compile under Linux or Windows >> ever since it was written. >> >> Quit lying. And fix that program fragment, assuming your C skills are up >> to it. > > There are many postings in this group providing the > actual execution trace output of that program. > It was named H and had input P,P back in 2021. > > The record shows that you responded to these posts > that had the actual execution trace output provided. > > My code fragment is a program template. I have told you this > countless times and you simply ignore what I say. If you want to talk about the program before or istead of correcting the errors, do so in comp.lang.c but not here. -- Mikko