Path: ...!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lynn McGuire Newsgroups: comp.lang.fortran Subject: Re: Is there a way in Fortran to designate an integer value as integer*8 ? Date: Mon, 28 Oct 2024 17:49:30 -0500 Organization: A noiseless patient Spider Lines: 32 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Mon, 28 Oct 2024 23:49:32 +0100 (CET) Injection-Info: dont-email.me; posting-host="746394f79d07dcf5d26073999cf7eb7c"; logging-data="1277252"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18DoqYOM6Zmz8lrFQPIPrWXElD/Fb7Z5dI=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:mBgOcUrUig5G6ZporLhMO8I/eH0= Content-Language: en-US In-Reply-To: Bytes: 3254 On 10/27/2024 3:05 AM, Thomas Koenig wrote: > Lawrence D'Oliveiro schrieb: >> On Sat, 26 Oct 2024 21:38:38 -0000 (UTC), Thomas Koenig wrote: >> >>> Lawrence D'Oliveiro schrieb: >>> >>>> On Sat, 26 Oct 2024 11:51:42 -0000 (UTC), Thomas Koenig wrote: >>>> >>>>> The "parameter adjustment" above is explicitly listed as undefined >>>>> behavior, in annex J2 of n2596.pdf (for example): >>>>> >>>>> "Addition or subtraction of a pointer into, or just beyond, an array >>>>> object and an integer type produces a result that does not point into, >>>>> or just beyond, the same array object (6.5.6)." >>>> >>>> Read it again: note the qualification “that does not point into, or >>>> just beyond, the same array object”. So long as it *does* point “into, >>>> or just beyond, the same array object”, it is fine. >>> >>> What you are writing is equivalent to >> >> You don’t understand what pointer arithmetic means, do you? > > I've killfiled you in comp.arch, and I think it is a good time now > for comp.lang.fortran. Hi Thomas, I am sorry to cause you trouble. The unofficial language lawyers are amazing in going beyond the scope of the initial question. Sincerely, Lynn