From: lynnmcguire5@gmail.com   
      
   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   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|