https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100889
--- Comment #1 from Richard Li ---
Created attachment 50917
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50917=edit
Proposed patch
This patch fixes the problem.
ponent: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: richardpku at gmail dot com
Target Milestone: ---
/tmp % cat a.cpp
#include
void* p;
void foo() { std::atomic_ref(p).store(nullptr); }
/tmp % g++-11.1.0 -c -std=gnu++20 a.cpp
In file included from
/usr/l
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: richardpku at gmail dot com
Target Milestone: ---
Consider this program:
#include
#include
class A {
public:
A() { throw 42; }
~A() { puts("A::~A"); }
void operator d
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: richardpku at gmail dot com
Target Milestone: ---
Minimal program to produce bug (run it on a platform where char
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: richardpku at gmail dot com
Target Milestone: ---
template concept bool A_concept = (... || (x < 0));
template constexpr bool A_constexpr = (... || (x < 0));
static_
Severity: normal
Priority: P3
Component: inline-asm
Assignee: unassigned at gcc dot gnu.org
Reporter: richardpku at gmail dot com
Target Milestone: ---
I have been trying out the new "flag output constraints" feature in inline
assembly ("=@c
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: richardpku at gmail dot com
GCC build triplet: x86_64-pc-linux-gnu
GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet
instruction movd %xmm0, %rax
Product: gcc
Version: 4.4.3
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: richardpku at gmail dot com
GCC build triplet
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: richardpku at gmail dot com
GCC build triplet: i486-linux-gnu
GCC host triplet: i486-linux-gnu
GCC target triplet