This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/69002] C front end should warn about undefined access to atomic structure or union


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-12-21
     Ever confirmed|0                           |1
      Known to fail|                            |4.9.3, 5.1.0, 6.0

--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> ---
You're right.  I misunderstood the problem you are pointing out.  Not the
initialization but the access to a member of an atomic struct (I still haven't
paged the initialization stuff out of my brain.)  I agree that access to a
member of an atomic struct deserves a diagnostic (sorry for confusing things!)
and confirm the absence of it in currently supported GCC versions.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]