Path: csiph.com!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: Tim Rentsch
Newsgroups: comp.lang.c
Subject: Re: Infinite recursion detection criteria (correct C code)
Date: Mon, 19 Apr 2021 04:01:09 -0700
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <86pmyqh72i.fsf@linuxsc.com>
References: <0e298c6f-071f-45d2-b744-f8a47e67a546n@googlegroups.com> <-62dnYOeXOSoN-X9nZ2dnUU7-aHNnZ2d@giganews.com> <4f639830-6a91-4c4f-8fa3-2e0cc85c7170n@googlegroups.com> <87sg3par0e.fsf@bsb.me.uk> <5cf2d72e-a725-48fb-a340-3423501fce0cn@googlegroups.com> <20210418152814.400@kylheku.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: reader02.eternal-september.org; posting-host="06b334b85b44a22c3ab1a4f53205352f"; logging-data="5792"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+f+Z/W+plS08BWwDRPNLl27JIC5RBuly0="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:skq8K6mjY8XTiZ897SFTWr/flVc= sha1:8l9//jTQEh5vkTMw0FIxPBviST0=
Xref: csiph.com comp.lang.c:160217
Jeff Barnett writes:
[...]
> What about the following thoughts:
>
> 1) The architecture of the execution engine provides for traps
> (interrupts) to be signaled in cases of arithmetic errors such as
> divide by zero, under/over flow, etc. Thus, almost every arithmetic
> instruction is an instance of "conditional" execution. Also
> consider timer and external signal interrupts and it becomes quite
> clear that conditions 1 thru 4 above need context in order to
> validate any inferences from them.
>
> Interesting question given the use of a simulator: How much is
> really simulated?
Since neither the thoughts nor the discussion preceding them has
anything to do with the C programming language, they should be
posted somewhere else, and not in comp.lang.c.