[Bug libstdc++/118408] New: regex does not work under dual ABI

2025-01-10 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118408 Bug ID: 118408 Summary: regex does not work under dual ABI Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++

[Bug sanitizer/117976] New: ubsan false positive invoking pointer to derived member with base class type

2024-12-09 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117976 Bug ID: 117976 Summary: ubsan false positive invoking pointer to derived member with base class type Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: n

[Bug c++/116636] New: Deprecation warning/unavailable error when overriding member of virtual base class

2024-09-06 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116636 Bug ID: 116636 Summary: Deprecation warning/unavailable error when overriding member of virtual base class Product: gcc Version: 15.0 Status: UNCONFIRMED Sever

[Bug c++/116606] New: unavailable attribute on virtual function causes error on object construction

2024-09-04 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116606 Bug ID: 116606 Summary: unavailable attribute on virtual function causes error on object construction Product: gcc Version: 15.0 Status: UNCONFIRMED Severity:

[Bug c++/116298] New: No error when taking address of overloaded member function template

2024-08-08 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116298 Bug ID: 116298 Summary: No error when taking address of overloaded member function template Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug c++/115801] [modules] segfault instantiating a template with a templated friend declaration referring to an unexported template using a qualified name

2024-08-05 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115801 --- Comment #3 from TC --- (In reply to Nathaniel Shead from comment #2) > On looking further into it I believe this is ice-on-invalid. > > By https://eel.is/c++draft/temp.friend#2, within main.cpp the name ::Foo is > looked up as if the specia

[Bug c++/115801] New: [modules] segfault instantiating a template with a templated friend declaration referring to an unexported template using a qualified name

2024-07-05 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115801 Bug ID: 115801 Summary: [modules] segfault instantiating a template with a templated friend declaration referring to an unexported template using a qualified name Product:

[Bug middle-end/109224] Wmismatched-new-delete false positive with coroutines

2024-07-03 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109224 --- Comment #2 from TC --- (In reply to Brian Bi from comment #1) > I'm also encountering this issue, and I can't find any way to write the code > that avoids triggering the warning, so I will simply have to disable the > warning until this issu

[Bug c++/115757] New: [modules] [[maybe_unused]] not honored in member function of imported class template

2024-07-02 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115757 Bug ID: 115757 Summary: [modules] [[maybe_unused]] not honored in member function of imported class template Product: gcc Version: 15.0 Status: UNCONFIRMED Sev

[Bug c++/115561] New: [14/15 Regression] ICE checking constraints when a local class is involved

2024-06-20 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115561 Bug ID: 115561 Summary: [14/15 Regression] ICE checking constraints when a local class is involved Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: n

[Bug libstdc++/112569] libstdc++-v3/include/ranges:1456: missing check for self-assignment

2023-11-23 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112569 TC changed: What|Removed |Added CC||rs2740 at gmail dot com --- Comment #1 from TC --

[Bug c++/111854] new (align_val_t) should be ill-formed

2023-10-17 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111854 TC changed: What|Removed |Added CC||rs2740 at gmail dot com --- Comment #7 from TC --

[Bug libstdc++/111050] [11/12/13/14 Regression] ABI break in _Hash_node_value_base since GCC 11

2023-09-08 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111050 --- Comment #7 from TC --- Confirmed with my reporter that this fixes their actual code too.

[Bug libstdc++/111050] [11/12/13/14 Regression] ABI break in _Hash_node_value_base since GCC 11

2023-09-06 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111050 --- Comment #6 from TC --- The crash is gone if lib2.o is compiled with bits/hashtable_policy.h patched like so: --- a/path/to/gcc-13/include/c++/13.2.0/bits/hashtable_policy.h +++ b/hashtable_policy.h @@ -327,18 +327,22 @@ namespace __detail

[Bug libstdc++/111050] [11/12/13/14 Regression] ABI break in _Hash_node_value_base since GCC 11

2023-09-06 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111050 --- Comment #5 from TC --- Minimal example: $ cat lib1.cpp #include #include static std::unordered_set set; void del(const std::string& s) { set.erase(s); } $ cat lib2.cpp #include #include static std::unordered_set set; void add(c

[Bug libstdc++/111050] [11/12/13/14 Regression] ABI break in _Hash_node_value_base since GCC 11

2023-09-01 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111050 --- Comment #2 from TC --- The impacted members we observed are `_Hash_node_value_base::_M_valptr` and `_Hash_node_value_base::_M_v`. I think the layout of `_Hash_node` didn't change. And I'm not seeing why fixing this will require breaking ABI

[Bug libstdc++/111050] New: [11/12/13/14 Regression] ABI break in _Hash_node_value_base since GCC 11

2023-08-17 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111050 Bug ID: 111050 Summary: [11/12/13/14 Regression] ABI break in _Hash_node_value_base since GCC 11 Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ABI

[Bug c++/110164] New: Improve diagnostic for incomplete standard library types due to missing include

2023-06-07 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110164 Bug ID: 110164 Summary: Improve diagnostic for incomplete standard library types due to missing include Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords

[Bug c++/109803] New: [12 Regression] ICE with type defined in lambda inside generic lambda inside function template

2023-05-10 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109803 Bug ID: 109803 Summary: [12 Regression] ICE with type defined in lambda inside generic lambda inside function template Product: gcc Version: 12.3.0 Status: UNCONFIRMED

[Bug c++/109688] SPDLOG build fails with C++20 and -DSPDLOG_USE_STD_FORMAT=1

2023-05-01 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109688 TC changed: What|Removed |Added CC||rs2740 at gmail dot com --- Comment #6 from TC --

[Bug c++/109655] New: Prior friend declaration causes "confused by earlier errors, bailing out" with missing constraint on out-of-class class template member definition

2023-04-27 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109655 Bug ID: 109655 Summary: Prior friend declaration causes "confused by earlier errors, bailing out" with missing constraint on out-of-class class template member definition P

[Bug libstdc++/109242] C++2b std::optional::transform omits required std::remove_cv_t from return optional type

2023-03-21 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109242 TC changed: What|Removed |Added CC||rs2740 at gmail dot com --- Comment #1 from TC --

[Bug c++/109232] New: Using deduced return type in an unevaluated context leads to codegen

2023-03-21 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109232 Bug ID: 109232 Summary: Using deduced return type in an unevaluated context leads to codegen Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/109224] New: Wmismatched-new-delete false positive with corotuines

2023-03-20 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109224 Bug ID: 109224 Summary: Wmismatched-new-delete false positive with corotuines Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug libstdc++/109165] New: std::hash>::operator() should be const

2023-03-16 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109165 Bug ID: 109165 Summary: std::hash>::operator() should be const Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug libstdc++/109111] New: Definition of repeat_view::_Iterator has wrong template-head

2023-03-13 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109111 Bug ID: 109111 Summary: Definition of repeat_view::_Iterator has wrong template-head Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/108952] Regression in uses_allocator_construction_args for pair of rvalue references

2023-02-27 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108952 TC changed: What|Removed |Added CC||rs2740 at gmail dot com --- Comment #3 from TC --

[Bug libstdc++/106932] Incorrect behavior of std::filesystem::copy() with overwrite_existing or update_existing options

2022-09-16 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106932 TC changed: What|Removed |Added CC||rs2740 at gmail dot com --- Comment #8 from TC --

gcc-bugs@gcc.gnu.org

2021-10-31 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103013 TC changed: What|Removed |Added CC||rs2740 at gmail dot com --- Comment #4 from TC --

[Bug c++/102802] Selection of inherited operator contrary to `using` clause in C++ when using lambda type

2021-10-23 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102802 TC changed: What|Removed |Added CC||rs2740 at gmail dot com --- Comment #3 from TC --

[Bug libstdc++/102863] New: Optional monadic ops should not be constrained

2021-10-20 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102863 Bug ID: 102863 Summary: Optional monadic ops should not be constrained Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: l

[Bug libstdc++/101263] non-propagating-cache::emplace-deref missing constexpr

2021-10-14 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101263 TC changed: What|Removed |Added CC||rs2740 at gmail dot com --- Comment #7 from TC --

[Bug libstdc++/102447] std::regex incorrectly accepts invalid bracket expression

2021-10-02 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102447 --- Comment #7 from TC --- (In reply to Jonathan Wakely from comment #6) > I have looked in detail (I have the 3rd, 4th and 5th editions here) but my > brain started oozing out of my ears. > > 15.10.2.15 NonemptyClassRanges and 15.10.2.16 Nonem

[Bug libstdc++/102447] std::regex incorrectly accepts invalid bracket expression

2021-10-01 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102447 TC changed: What|Removed |Added CC||rs2740 at gmail dot com --- Comment #5 from TC --

[Bug c++/102247] Overload resolution with brace-init is ambiguous when it shouldn't be

2021-09-09 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102247 --- Comment #4 from TC --- See also PR 60027 and its duplicates.

[Bug c++/102247] Overload resolution with brace-init is ambiguous when it shouldn't be

2021-09-09 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102247 TC changed: What|Removed |Added CC||rs2740 at gmail dot com --- Comment #2 from TC --

[Bug c++/101107] Misleading error message in aggregate initialization in CRTP base class

2021-06-22 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101107 TC changed: What|Removed |Added CC||rs2740 at gmail dot com --- Comment #1 from TC --

[Bug c++/101113] g++ thinks constructor suppressed by a requires clause is actually a bad copy constructor

2021-06-22 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101113 TC changed: What|Removed |Added CC||rs2740 at gmail dot com --- Comment #2 from TC --

[Bug libstdc++/100940] views::take and views::drop should not define _S_has_simple_extra_args

2021-06-14 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100940 --- Comment #7 from TC --- (In reply to Patrick Palka from comment #6) > > For the other adaptors, we still unconditionally disable perfect forwarding > call wrapper semantics. I'm not sure if the performance/diagnostic tradeoff > is worth it

[Bug libstdc++/100940] views::take and views::drop should not define _S_has_simple_extra_args

2021-06-08 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100940 TC changed: What|Removed |Added CC||rs2740 at gmail dot com --- Comment #4 from TC --

[Bug c++/54835] [C++11][DR 1518] Explicit default constructors not respected during copy-list-initialization

2021-06-06 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54835 TC changed: What|Removed |Added CC||rs2740 at gmail dot com --- Comment #21 from TC --

[Bug c++/100825] function signature constraints are not a part of mangled name

2021-06-02 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100825 TC changed: What|Removed |Added CC||rs2740 at gmail dot com --- Comment #7 from TC --

[Bug libstdc++/100823] New: Special member functions of common_iterator should be conditionally trivial

2021-05-28 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100823 Bug ID: 100823 Summary: Special member functions of common_iterator should be conditionally trivial Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: no

[Bug libstdc++/100768] New: Range iterator operations should be function objects

2021-05-26 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100768 Bug ID: 100768 Summary: Range iterator operations should be function objects Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug c++/100708] New: dynamic_cast can convert xvalue to lvalue

2021-05-20 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100708 Bug ID: 100708 Summary: dynamic_cast can convert xvalue to lvalue Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug libstdc++/100631] ranges::elements_view:: _Sentinel is missing __distance_from() that can access _M_current of _Iterator

2021-05-17 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100631 TC changed: What|Removed |Added CC||rs2740 at gmail dot com --- Comment #4 from TC --

[Bug c++/100592] New: Bogus "qualifiers cannot be applied" error with reference type produced by dependent alias template

2021-05-13 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100592 Bug ID: 100592 Summary: Bogus "qualifiers cannot be applied" error with reference type produced by dependent alias template Product: gcc Version: 12.0 Status: UNCONFIRME

[Bug c++/100579] New: [coroutines] Poor codegen using an optional-like type with co_await

2021-05-12 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100579 Bug ID: 100579 Summary: [coroutines] Poor codegen using an optional-like type with co_await Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/100479] New: range adaptors handle cached iterators incorrectly

2021-05-07 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100479 Bug ID: 100479 Summary: range adaptors handle cached iterators incorrectly Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug c++/100374] New: Type-constraints of member function templates should not be substituted into during implicit instantiation

2021-05-01 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100374 Bug ID: 100374 Summary: Type-constraints of member function templates should not be substituted into during implicit instantiation Product: gcc Version: 12.0 Status: UNC

[Bug c++/100368] New: Missing guaranteed elision in constexpr evaluation

2021-04-30 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100368 Bug ID: 100368 Summary: Missing guaranteed elision in constexpr evaluation Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug libstdc++/100290] New: join_view::_Iterator::operator++ copies _M_parent->_M_inner when _S_ref_is_glvalue is false

2021-04-27 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100290 Bug ID: 100290 Summary: join_view::_Iterator::operator++ copies _M_parent->_M_inner when _S_ref_is_glvalue is false Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug c++/99273] New: List initialization prefers initializer_list a little too strongly

2021-02-25 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99273 Bug ID: 99273 Summary: List initialization prefers initializer_list a little too strongly Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug c++/99081] New: Misleading -Wmissing-field-initializers warning on out-of-order designated initializers

2021-02-12 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99081 Bug ID: 99081 Summary: Misleading -Wmissing-field-initializers warning on out-of-order designated initializers Product: gcc Version: 11.0 Status: UNCONFIRMED Se

[Bug libstdc++/97935] New: Missing subsumption in iterator category detection

2020-11-21 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97935 Bug ID: 97935 Summary: Missing subsumption in iterator category detection Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug libstdc++/97869] New: defines __cpp_lib_span even when doesn't provide an implementation

2020-11-16 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97869 Bug ID: 97869 Summary: defines __cpp_lib_span even when doesn't provide an implementation Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal