(j3.2006) STAT= and integer kind

john.reid at stfc.ac.uk john.reid
Wed Jul 9 01:46:10 EDT 2014


Reinhold and Tobias,

The actual edits were made in J3/14-173r2. It is just that CAS is missing in the lists of edits for the table on page 34. 

John.
________________________________________
From: Bader, Reinhold [Reinhold.Bader at lrz.de]
Sent: 08 July 2014 07:40
To: fortran standards email list for J3
Cc: Tobias Burnus
Subject: Re: (j3.2006) STAT= and integer kind

Hello Tobias,

Not adding STAT to ATOMIC_CAS was an oversight of mine, sorry. I was too focused on getting the
separation of the op/fetch_op right. The ATOMIC_CAS doesn't require a FETCH variant, but of course
does need to have the STAT added. Since there was agreement to generally add STAT, one could consider
fixing this an editorial issue, I suppose.

Cheers
Reinhold

>-----Urspr?ngliche Nachricht-----
>Von: j3-bounces at mailman.j3-fortran.org [mailto:j3-bounces at mailman.j3-
>fortran.org] Im Auftrag von Tobias Burnus
>Gesendet: Dienstag, 8. Juli 2014 07:39
>An: j3 at mailman.j3-fortran.org
>Betreff: Re: (j3.2006) STAT= and integer kind
>
>Bill Long wrote:
>> I agree with Malcolm's comments, particularly about the last one
>> regarding minimal requirements on the sizes of integers appropriate
>> for STAT arguments in intrinsics. I will be putting the text from the
>> meeting papers into the next TS draft, including having default
>> integer STAT arguments.
>
>I also concur with the comment. I think many implementations will have a stat
>value which does not fit into a 8byte-variable. If you use "default integer" in
>the TS draft, we are back at consistency; I don't intent to implement
>extensions before F2015.
>
>Regarding the atomic intrinsics and STAT: Is there a specific reason that
>ATOMIC_CAS does not have a STAT argument? At least J3/14-173r2 doesn't
>list ATOMIC_CAS, contrary to the new atomic_[fetch_]op (op = add, and, or,
>xor) and the old atomic_ref/atomic_define.
>
>Tobias
>_______________________________________________
>J3 mailing list
>J3 at mailman.j3-fortran.org
>http://mailman.j3-fortran.org/mailman/listinfo/j3
_______________________________________________
J3 mailing list
J3 at mailman.j3-fortran.org
http://mailman.j3-fortran.org/mailman/listinfo/j3
-- 
Scanned by iCritical.



More information about the J3 mailing list