Path: csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Tim Rentsch
Newsgroups: comp.lang.c
Subject: Re: Constants and undefined behavior
Date: Sat, 15 Aug 2026 07:36:36 -0700
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <86bjb35u2z.fsf@linuxsc.com>
References: <10v7b32$2u85v$1@dont-email.me> <110k0mp$329k6$1@dont-email.me> <110me3t$gli$1@reader1.panix.com> <86mrwd7c49.fsf@linuxsc.com> <111u2lj$8q3$1@reader1.panix.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Date: Sat, 15 Aug 2026 14:36:37 +0000 (UTC)
Injection-Info: dont-email.me; logging-data="3635087"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX199g8sWJrBCtDKSDWpWsmyWUOeedI43MdY="; posting-host="f88cfb7384c39afe54609bf3101f3803"
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:wiFPLQACrHOB+EzLAFW19oVBYvs= sha1:6bnuqh5w35R59qLkdqW2GmQ6RHU= sha256:q1s1EQHb7Ln3fyUvr2RqT0nqyCAnqeD3l9s/6oV7LX0= sha1:3dcUSGGRRdf/hS5ASDG38+ZmP0Q= sha256:XZYA20NpWNua0zINfKRnUenUwVCq8mHp2iPLAqNPZDs=
Xref: csiph.com comp.lang.c:401209
cross@spitfire.i.gajendra.net (Dan Cross) writes:
> In article <86mrwd7c49.fsf@linuxsc.com>,
> Tim Rentsch wrote:
>
>> cross@spitfire.i.gajendra.net (Dan Cross) writes:
>>
>> [...]
>>
>>> "Undefined Behavior", in C, in the manner usually discussed in
>>> this newsgroup, was introduced with the first standard.
>>
>> The term but not the concept, which was there since the
>> early days of C -- at least since K&R in 1978, and very
>> likely earlier (I haven't reviewed any of the earlier
>> descriptions of the language).
>
> [...] not really. I've read K&R, both editions, and the
> first really doesn't define a concept that gives such supreme
> latitude to the compiler. [...]
I didn't say any term was defined, only that such a
concept is present in the writing.