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: Safety of casting from 'long' to 'int'
Date: Wed, 06 May 2026 21:45:10 -0700
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <86fr43vne1.fsf@linuxsc.com>
References: <10su8cn$am9i$1@dont-email.me> <10te56b$rpfu$1@dont-email.me> <10tfclh$7vb$1@reader1.panix.com> <10tflij$19d6u$1@dont-email.me> <10tg55j$kvp$1@reader1.panix.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Date: Thu, 07 May 2026 04:45:13 +0000 (UTC)
Injection-Info: dont-email.me; logging-data="1825540"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19KtX3sFvUY5nKIsA0q+dMQZA+SrQS/tgc="; posting-host="a025a3924a4370d705b785ca24b22822"
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:gI0m2sPbURphh0r0ejJ7dcYo5Oo= sha1:QVWvx++J1p5R5ppcKneo6DHrDhI= sha256:al6xPxeG5TMftldunxLhxVI4eB00JicSBTH4pDk4Xj4= sha1:r/k41ovQ2ciiFnScUOwO3C58BEU=
Xref: csiph.com comp.lang.c:398432
cross@spitfire.i.gajendra.net (Dan Cross) writes:
> In article <10tflij$19d6u$1@dont-email.me>, Bart wrote:
[...]
> Therefore, your opinion on UB is uninformed, [...]
Is it really uninformed, or could it be just implementation-informed?