https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128618

Hans-Peter Nilsson <hp at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |17.0

--- Comment #3 from Hans-Peter Nilsson <hp at gcc dot gnu.org> ---
(In reply to Jerry DeLisle from comment #1)
> Created attachment 66134 [details]
> Draft patch to fix this
> 
> Hi Hans-Peter, can you test this to see if it fixes it. If so I can get it
> pushed today.
> 
> Thanks for the report. (I did get word of this from others.)

This one works too, thanks.  In the meantime, I committed mine, since it came
with a ChangeLog entry.

They both have their merits: mine mostly for simplicity, and that I believe
most common 32-bit systems running fortran do have 64-bit atomics, so mine
affecting more code than yours, is unlikely to matter in practice.  Having said
that, feel absolutely free to revert it and apply yours instead!

Reply via email to