[Bug libstdc++/111077] New: atomic_ref compare_exchange_strong doesn't properly ignore padding bits

2023-08-19 Thread comexk at gmail dot com via Gcc-bugs
erity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: comexk at gmail dot com Target Milestone: --- C++20 requires that the functions `std::atomic::compare_exchange_strong` and `std::atomic_ref::compare_exchange_s

[Bug c++/49171] [C++0x][constexpr] Constant expressions support reinterpret_cast

2020-02-09 Thread comexk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49171 --- Comment #24 from comexk at gmail dot com --- > All that's needed for that is an extension to provide a compile-time > constant value to a pointer, not to allow arbitrary reinterpret_casts in > constexpr. Well, there ar

[Bug driver/93371] New: -ffile-prefix-map ignored with assembly files

2020-01-21 Thread comexk at gmail dot com
: driver Assignee: unassigned at gcc dot gnu.org Reporter: comexk at gmail dot com Target Milestone: --- When using the GCC frontend to invoke GNU as, GCC passes through -fdebug-prefix-map (as --debug-prefix-map), but ignores -ffile-prefix-map. -ffile-prefix-map is supposed to be

[Bug tree-optimization/87609] New: miscompilation with restrict and loop

2018-10-13 Thread comexk at gmail dot com
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: comexk at gmail dot com Target Milestone: --- Test program below. Compiled at -O0, it outputs "7 10"; at -O3, it outputs "10 7". Removing the restrict qualifier on the arguments to copy() avoids the

[Bug c++/49171] [C++0x][constexpr] Constant expressions support reinterpret_cast

2018-10-07 Thread comexk at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49171 comexk at gmail dot com changed: What|Removed |Added CC||comexk at gmail dot com

[Bug c++/87377] New: error with generic lambda accessing static field through argument within return type

2018-09-21 Thread comexk at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: comexk at gmail dot com Target Milestone: --- …that's a mouthful. Here's the code: template struct const_val { static constexpr auto val = _val; }

[Bug c++/66268] New: struct { volatile int x; } should not be trivially copyable

2015-05-23 Thread comexk at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: comexk at gmail dot com Target Milestone: --- According to the C++14 standard, a struct containing volatile fields shouldn't be trivially copyable. 9.6 states: > A trivially copyab

[Bug go/47910] New: typo in __go_map_next_prime

2011-02-26 Thread comexk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47910 Summary: typo in __go_map_next_prime Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: go AssignedTo: i...@airs.com R

[Bug go/46986] Go is not supported on Darwin

2011-02-26 Thread comexk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46986 --- Comment #4 from comexk at gmail dot com 2011-02-26 23:28:09 UTC --- Created attachment 23482 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23482 hacky patch that should be split up

[Bug go/46986] Go is not supported on Darwin

2011-02-26 Thread comexk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46986 comexk at gmail dot com changed: What|Removed |Added CC||comexk at gmail dot com