Liste des Groupes | Revenir à c theory |
On Thu, 08 May 2025 21:01:42 +0100, Richard Heathfield wrote:<snip>
On 08/05/2025 20:42, olcott wrote:On 5/8/2025 2:04 PM, Fred. Zwarts wrote:Op 08.mei.2025 om 19:00 schreef olcott:
I will go one further and assure you that the standard doesn't mention the word 'stack' at all. My claim of undefined behaviour was not based on stack overflow but on illegal dereferencing.I don't believe the C ISO Standard explictly states that stack overflow is>That is counter factual as any fully qualified C programmer will tellI try to stay focused on the key essence gist of the issue and never>
delve down into the weeds.
>
int DD()
{
int Halt_Status = HHH(DD);
if (Halt_Status)
HERE: goto HERE;
return Halt_Status;
}
>
The key gist of the issue (no weeds involved)
is that HHH emulated DD according to the rules of the x86 language
>
<MIT Professor Sipser agreed to ONLY these verbatim words 10/13/2022>
*until H correctly determines that*
*its simulated D would never stop running unless aborted*
</MIT Professor Sipser agreed to ONLY these verbatim words
10/13/2022>
And since H does not correctly determine that its simulated D would
never stop running unless aborted, it is a vacuous statement and
Sipser's agreement does not tell anything.
>
>
you.
As any competent C programmer can tell you, your simulation is driven by
assembly language, not C. Furthermore, neither halt7.c nor x86utm.cpp is
syntactically correct C. Once you fix the syntax errors, that still
leaves you with the undefined behaviour.
undefined behaviour
Les messages affichés proviennent d'usenet.