[Bug c++/86306] Initializing atomic qualified type with another atomic qualified type leads to assertion failure

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 25 10:05:00 GMT 2018


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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
It's correctly rejected by GCC because _Atomic is a C keyword, not a C++ one.

Please try to understand the code before filing bugs, and consider if it's
really a bug.


More information about the Gcc-bugs mailing list