[Bug libstdc++/100889] Wrong param type for std::atomic_ref<_Tp*>::wait

2021-06-03 Thread richardpku at gmail dot com via Gcc-bugs
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.

[Bug libstdc++/100889] New: Wrong param type for std::atomic_ref<_Tp*>::wait

2021-06-02 Thread richardpku at gmail dot com via Gcc-bugs
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

[Bug c++/100588] New: Destroying delete shouldn't be called if constructor throws

2021-05-13 Thread richardpku at gmail dot com via Gcc-bugs
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

[Bug libstdc++/99181] New: char_traits (and thus string_view) compares strings differently in constexpr and non-constexpr contexts

2021-02-20 Thread richardpku at gmail dot com via Gcc-bugs
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

[Bug c++/68246] New: Incorrect evaluation of C++1z fold expressions (... || expr) in concepts

2015-11-07 Thread richardpku at gmail dot com
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_

[Bug inline-asm/68084] New: Inverted conditions generated for x86 inline assembly "flag output constraints"

2015-10-24 Thread richardpku at gmail dot com
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

[Bug lto/44184] New: asm goto does not work with LTO

2010-05-17 Thread richardpku at gmail dot com
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

[Bug target/43215] New: x86-64: Nonstandard instruction movd %xmm0, %rax

2010-02-28 Thread richardpku at gmail dot com
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

[Bug c/33674] New: Nonexistent i386 register name `%SIL' used

2007-10-06 Thread richardpku at gmail dot com
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