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

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
Since (if) assigning to the whole struct in one thread is valid while another
thread assigns to just the member this is wrong-code.  Otherwise, if the
semantics of such a pair of assignments aren't defined, issuing a warning would
be helpful.

Reply via email to