Path: ...!news.nobody.at!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Chris M. Thomasson" Newsgroups: comp.lang.c,comp.lang.c++ Subject: Re: Can someone please verify the execution trace of this? Date: Tue, 21 May 2024 12:03:21 -0700 Organization: A noiseless patient Spider Lines: 35 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Tue, 21 May 2024 21:03:22 +0200 (CEST) Injection-Info: dont-email.me; posting-host="6ad02092fbd70bc476a2c661bc081089"; logging-data="778835"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19YcorX8DV/hlr7UgHj1L+hTiKkbAnwcbE=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:rCZ8NSDYuitB1/7ZRZz6D+OvCMI= In-Reply-To: Content-Language: en-US Bytes: 2159 On 5/21/2024 6:37 AM, olcott wrote: > On 5/21/2024 6:48 AM, Sam wrote: >> olcott writes: >> >>> People on comp.theory have consistently lied about this >>> for at least the last two years: >>> >>> typedef int (*ptr)(); >>> int H(ptr P, ptr I); >>> >>> int D(ptr x) >>> { >>>   int Halt_Status = H(x, x); >>>   if (Halt_Status) >>>     HERE: goto HERE; >>>   return Halt_Status; >>> } >>> >>> int main() >>> { >>>   H(D,D); >>>   return 0; >>> } >> >> Your C compiler also lied to you, if it ever claimed of succeeding in >> compiling and producing an executable out of this masterpiece. >> > > Keith Thompson has confirmed that my code both compiles > and conforms to the c17 standard. Where did he say exactly that? [...]