This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/86306] Initializing atomic qualified type with another atomic qualified type leads to assertion failure
- From: "zhonghao at pku dot org.cn" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 25 Jun 2018 10:23:51 +0000
- Subject: [Bug c++/86306] Initializing atomic qualified type with another atomic qualified type leads to assertion failure
- Auto-submitted: auto-generated
- References: <bug-86306-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86306
--- Comment #2 from zhonghao at pku dot org.cn ---
(In reply to Jonathan Wakely from comment #1)
> 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.
The original report (https://bugs.llvm.org/show_bug.cgi?id=22043) mentioned a
bug in the c++ component of clang. The code is in C++, right?