[Bug c++/105440] c++20: std::string's destructor not a constant expression when it should

2025-01-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105440 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/111471] Incorrect NTTP printing in the error messages

2025-01-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111471 Patrick Palka changed: What|Removed |Added Target Milestone|13.4|13.3 Resolution|---

[Bug c++/110025] [C++23] ICE with default-argument for template-param with decltype and auto.

2025-01-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110025 Patrick Palka changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug c++/114138] [c++2b] ICE on valid code using `auto(expr)` DECAY-COPY

2025-01-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114138 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug c++/103524] [meta-bug] modules issue

2025-01-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 115159, which changed state. Bug 115159 Summary: internal compiler error: in nothrow_spec_p, at cp/except.cc:1206 when using modules and QCoreApplication https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115159 W

[Bug c++/115159] internal compiler error: in nothrow_spec_p, at cp/except.cc:1206 when using modules and QCoreApplication

2025-01-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115159 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/67491] [meta-bug] concepts issues

2025-01-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 111890, which changed state. Bug 111890 Summary: ICE in tsubst_friend_function with friend function declared inside a concept constrainted class inside a template class https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111890

[Bug c++/65608] [meta-bug] friend issues

2025-01-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65608 Bug 65608 depends on bug 111890, which changed state. Bug 111890 Summary: ICE in tsubst_friend_function with friend function declared inside a concept constrainted class inside a template class https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111890

[Bug c++/111890] ICE in tsubst_friend_function with friend function declared inside a concept constrainted class inside a template class

2025-01-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111890 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug libstdc++/113386] [C++23] std::pair comparison operators should be transparent, but are not in libstdc++

2025-01-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113386 Bug 113386 depends on bug 109203, which changed state. Bug 109203 Summary: sort(zip(v1, v2)) fails to compile https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109203 What|Removed |Added

[Bug c++/111419] Eager instantiation of function return type in concept causes compilation error

2025-01-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111419 Patrick Palka changed: What|Removed |Added Target Milestone|--- |14.0 Resolution|---

[Bug c++/117792] [12/13 Regression] ICE in tsubst_template_args with function template-id and local static arg

2025-01-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117792 Patrick Palka changed: What|Removed |Added Summary|[12/13/14/15 Regression]|[12/13 Regression] ICE in

[Bug libstdc++/109203] sort(zip(v1, v2)) fails to compile

2025-01-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109203 Patrick Palka changed: What|Removed |Added Target Milestone|--- |14.0 Resolution|---

[Bug c++/117925] [14/15 Regression] ice unexpected expression '(FnPtr)(fnPtr)' of kind cast_expr

2025-01-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117925 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/118060] [13 Regression] ICE (internal compiler error) on requires clause

2025-01-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118060 Patrick Palka changed: What|Removed |Added Summary|[13/14/15 Regression] ICE |[13 Regression] ICE |

[Bug c++/118454] [15 regression] ICE when building scipy-1.15.1 (hash table checking failed: equal operator returns true for a pair of values with a different hash value)

2025-01-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118454 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/116417] SFINAE on std::is_destructible cannot handle pseudo destructor

2025-01-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116417 Patrick Palka changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug c++/105440] c++20: std::string's destructor not a constant expression when it should

2025-01-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105440 Patrick Palka changed: What|Removed |Added Assignee|redi at gcc dot gnu.org|unassigned at gcc dot gnu.org

[Bug c++/115314] auto template parameter has const qualifier on it even though the original does not

2025-01-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115314 --- Comment #4 from Patrick Palka --- In PR117392, we lose track of the CTAD cast. I guess it's all ultimately because of the early exit in maybe_convert_nontype_argument for auto parms?

[Bug c++/115314] auto template parameter has const qualifier on it even though the original does not

2025-01-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115314 Patrick Palka changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/118340] fold expression is very slow to compile when used to initialize a variable

2025-01-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118340 Patrick Palka changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #4

[Bug c++/118463] requires-clause considered ill-formed but not leading to clause failure

2025-01-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118463 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org S

[Bug c++/67491] [meta-bug] concepts issues

2025-01-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 118463, which changed state. Bug 118463 Summary: requires-clause considered ill-formed but not leading to clause failure https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118463 What|Removed

[Bug c++/105220] [CWG2589] concept evaluation and friendship

2025-01-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105220 Patrick Palka changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/86883] Unexpected error: expansion pattern '' contains no argument packs

2025-01-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86883 --- Comment #7 from Patrick Palka --- Another testcase (based off of the PR118454 testcase): template using identity = T; template struct A; template struct B { template struct dual; template using ty1 = dual, Vs...>; template usin

[Bug c++/118454] [15 regression] ICE when building scipy-1.15.1 (hash table checking failed: equal operator returns true for a pair of values with a different hash value)

2025-01-13 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118454 Patrick Palka changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/118454] [15 regression] ICE when building scipy-1.15.1 (hash table checking failed: equal operator returns true for a pair of values with a different hash value)

2025-01-13 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118454 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment #

[Bug libstdc++/118413] Move only function makes `std::views::transform` not working correctly

2025-01-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118413 Patrick Palka changed: What|Removed |Added Target Milestone|--- |14.3 Keywords|

[Bug libstdc++/118413] Move only function makes `std::views::transform` not working correctly

2025-01-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118413 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment #

[Bug c++/116756] ICE from expand_expr_real_1 with recursive lambda and constexpr if

2025-01-10 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116756 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c++/110323] [12/13 Regression] Code for explicit instantiation of template method of template class not generated

2025-01-10 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110323 Patrick Palka changed: What|Removed |Added Target Milestone|12.5|14.0

[Bug c++/118396] [15 regression] -O1+ leads to reading uninitialized data when virtual destructor is present

2025-01-10 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118396 Patrick Palka changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/117993] [15 regression] this->x is being rejected in a nested template class with a base of class of the outer templated class since r15-2117

2025-01-09 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117993 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/117993] [15 regression] this->x is being rejected in a nested template class with a base of class of the outer templated class since r15-2117

2025-01-09 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117993 --- Comment #10 from Patrick Palka --- Fixed, thanks for the bug report.

[Bug c++/116952] [12/13/14/15 Regression] Error on lambda NTTP argument to type constraint in template parameter list of generic lambda

2025-01-09 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116952 Patrick Palka changed: What|Removed |Added Known to work||10.5.0 Target Milestone|---

[Bug libstdc++/118156] flat_set::insert_range cannot handle non-common ranges

2025-01-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118156 Patrick Palka changed: What|Removed |Added Target Milestone|--- |15.0 Status|UNCONFIRMED

[Bug c++/118285] [14/15 Regression] GCC rejects some constexpr std::string usages

2025-01-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118285 Patrick Palka changed: What|Removed |Added Last reconfirmed||2025-01-03 CC|

[Bug libstdc++/107759] Implement C++23

2025-01-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107759 Patrick Palka changed: What|Removed |Added Target Milestone|--- |15.0

[Bug libstdc++/107759] Implement C++23

2025-01-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107759 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/106749] Implement C++23 library features

2025-01-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106749 Bug 106749 depends on bug 107759, which changed state. Bug 107759 Summary: Implement C++23 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107759 What|Removed |Added --

[Bug libstdc++/106749] Implement C++23 library features

2025-01-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106749 Bug 106749 depends on bug 107758, which changed state. Bug 107758 Summary: Implement C++23 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107758 What|Removed |Added --

[Bug libstdc++/107758] Implement C++23

2025-01-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107758 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libstdc++/103924] views::join combined with std::string cannot be used in constant expressions

2025-01-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103924 --- Comment #7 from Patrick Palka --- N.B. the other testcases in this PR are accepted by GCC 14 after r14-10134.

[Bug libstdc++/103924] views::join combined with std::string cannot be used in constant expressions

2025-01-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103924 --- Comment #6 from Patrick Palka --- (In reply to Giuseppe D'Angelo from comment #5) > Here's an even simpler testcase, rejected by GCC but accepted by Clang (with > libstdc++): Interesting, mind creating a separate PR for this? It could be a c

[Bug c++/118245] [14/15 Regression] ICE: in convert_nontype_argument, Passing a lambda as a template argument and base class

2025-01-02 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118245 Patrick Palka changed: What|Removed |Added CC||nshead at gcc dot gnu.org,

[Bug c++/118190] [12/13/14/15 Regression] ICE: in tsubst_expr, at cp/pt.cc:22244

2025-01-02 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118190 Patrick Palka changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org,

[Bug c++/118069] g++ hangs during constraint subsumption

2024-12-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118069 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/100249] missing forwarding std::__invoke result in ranges::is_permutation and ranges::clamp

2024-12-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100249 --- Comment #14 from Patrick Palka --- (In reply to Jiang An from comment #13) > This is not completely fixed. > > See > - https://github.com/microsoft/STL/issues/3970#issuecomment-1681524306 > - https://gcc.godbolt.org/z/3fsdbTx5Y I opened PR1

[Bug libstdc++/118185] New: ranges::clamp doesn't perfectly forward its projected arguments

2024-12-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118185 Bug ID: 118185 Summary: ranges::clamp doesn't perfectly forward its projected arguments Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug c++/117855] [14/15 Regression] ICE with deduction guides, default template arguments and inherited deduction guides

2024-12-20 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117855 Patrick Palka changed: What|Removed |Added Keywords|needs-bisection | Assignee|unassigned at gcc d

[Bug c++/117993] [15 regression] this->x is being rejected in a nested template class with a base of class of the outer templated class since r15-2117

2024-12-19 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117993 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c++/118069] g++ hangs during constraint subsumption

2024-12-19 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118069 Patrick Palka changed: What|Removed |Added Target Milestone|--- |14.3 --- Comment #8 from Patrick Palka

[Bug c++/118066] Diagnostic for variadic concept with fold expression on other concepts does not mention which element of the fold expression is causing it to be false

2024-12-19 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118066 Patrick Palka changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/118116] FreeFem++-cs compilation error with g++-15

2024-12-18 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118116 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment #

[Bug c++/118069] g++ freezes

2024-12-17 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118069 Patrick Palka changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/118060] [13/14/15 Regression] ICE (internal compiler error) on requires clause

2024-12-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118060 Patrick Palka changed: What|Removed |Added Status|NEW |ASSIGNED Keywords|needs-bisec

[Bug libstdc++/112349] ranges::min/max make unnecessary copies

2024-12-13 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112349 Patrick Palka changed: What|Removed |Added Target Milestone|--- |14.3

[Bug c++/117993] [15 regression] this->x is being rejected in a nested template class with a base of class of the outer templated class since r15-2117

2024-12-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117993 --- Comment #7 from Patrick Palka --- (In reply to Patrick Palka from comment #6) > (In reply to Andrew Pinski from comment #4) > > (In reply to Andrew Pinski from comment #3) > > > I suspect for some reason we think the current instantiation d

[Bug c++/117993] [15 regression] this->x is being rejected in a nested template class with a base of class of the outer templated class since r15-2117

2024-12-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117993 Patrick Palka changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #6

[Bug c++/117925] [14/15 Regression] ice unexpected expression '(FnPtr)(fnPtr)' of kind cast_expr

2024-12-06 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117925 Patrick Palka changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/117887] [12/13/14/15 regression] ICE when building qtwebengine-6.8.1 (add_extra_args, at cp/pt.cc:13682) since r11-3261-gb28b621ac67bee

2024-12-04 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117887 Patrick Palka changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/117792] [12/13/14/15 Regression] ICE in tsubst_template_args

2024-11-26 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117792 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c++/117772] constrained auto in decl-specifier accepted for function return type despite trailing-return-type

2024-11-26 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117772 Patrick Palka changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/100589] function with trailing return type must specify return type 'auto' instead of 'concept auto'

2024-11-26 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100589 Patrick Palka changed: What|Removed |Added CC||ing.russomauro at gmail dot com --- Com

[Bug libstdc++/117560] std::views::zip incompatible with std::filesystem::directory_iterator & std::views::transform

2024-11-13 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117560 Patrick Palka changed: What|Removed |Added Last reconfirmed||2024-11-13 Status|UNCONFIRM

[Bug libstdc++/111861] ranges::min/max should not use `auto __result = *__first;`

2024-11-13 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111861 --- Comment #3 from Patrick Palka --- (In reply to 康桓瑋 from comment #2) > (In reply to Patrick Palka from comment #1) > > Interesting, I guess 'auto x = *iter;' should never be done in generic code > > then? > > Yap, even 'range_value_t x = *it

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

2024-11-13 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112569 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org S

[Bug c++/117504] [12/13/14/15 Regression] Incorrect code emitted when using "constexpr std::array"

2024-11-12 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117504 Patrick Palka changed: What|Removed |Added Keywords||ice-on-valid-code Known to work|

[Bug c++/117530] [14/15 Regression] Mismatch of lambda type with itself in recursive alias declaration

2024-11-12 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117530 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org Key

[Bug libstdc++/111861] ranges::min/max should not use `auto __result = *__first;`

2024-11-06 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111861 Patrick Palka changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Assignee|unassigned

[Bug c++/101463] [12/13 Regression] Using a constexpr variable template specialization as default argument for non-type template parameter of reference type leads gcc to reject function call

2024-11-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101463 Patrick Palka changed: What|Removed |Added Summary|[12/13/14 Regression] Using |[12/13 Regression] Using a

[Bug c++/117392] template argument deduction problem with CNTTP

2024-11-01 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117392 Patrick Palka changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug libstdc++/111861] ranges::min/max should not use `auto __result = *__first;`

2024-10-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111861 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment #

[Bug libstdc++/104465] std::vector should satisfy std::ranges::viewable_range (P2415 for -c++2b)

2024-10-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104465 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug libstdc++/112641] : `drop_view::begin const` has O(n) complexity

2024-10-29 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112641 --- Comment #3 from Patrick Palka --- > which will have 𝒪(n) complexity in the case of random-access-sized but > non-common range. As mentioned in the commit message I think the ranges::next implementation is O(n) only if the range is sized wit

[Bug libstdc++/112641] : `drop_view::begin const` has O(n) complexity

2024-10-29 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112641 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug libstdc++/112349] ranges::min/max make unnecessary copies

2024-10-29 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112349 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org S

[Bug c++/117317] [12/13/14/15 Regression] An internal compiler error on call to virtual constexpr function via comparison operator in CRTP with multiple inheritance with template

2024-10-28 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117317 Patrick Palka changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug c++/117224] warning states "this" is explicit by-copy capture but it's an explicit by-reference capture

2024-10-21 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117224 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment #

[Bug c++/117231] [15 regression] Incorrect code generation for std::generator

2024-10-21 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117231 Patrick Palka changed: What|Removed |Added Keywords||wrong-code CC|

[Bug c++/117054] [14/15 Regression] checking ICE on generic lambda inside a template containing constexpr-if containing instantiation of template with a NTTP defaulted to a lambda

2024-10-17 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117054 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/117174] [12/13/14/15 Regression] Compiler seems to incorrectly cache SFINAE condition evaluation results

2024-10-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117174 Patrick Palka changed: What|Removed |Added Ever confirmed|0 |1 Known to fail|

[Bug c++/116876] GCC accepts invalid call to overloaded function template when neither is at least as specialized as the other

2024-10-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116876 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment #

[Bug c++/116710] Deduction succeeds despite mismatch of reference kind (lvalue versus rvalue)

2024-10-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116710 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org Ass

[Bug c++/105766] requires std::is_constructible<> reports 'constraint depends on itself' error.

2024-10-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105766 Bug 105766 depends on bug 94894, which changed state. Bug 94894 Summary: avoidable instantiation of conversion function template during overload resolution https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94894 What|Removed

[Bug libstdc++/106201] filesystem::directory_iterator is a borrowable range?

2024-10-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106201 Bug 106201 depends on bug 94894, which changed state. Bug 94894 Summary: avoidable instantiation of conversion function template during overload resolution https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94894 What|Removed

[Bug c++/94894] avoidable instantiation of conversion function template during overload resolution

2024-10-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94894 Patrick Palka changed: What|Removed |Added Target Milestone|13.0|--- Status|RESOLVED

[Bug c++/103884] ICE when calling static and non-static member function templates with the same parameter types and requires clause

2024-10-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103884 Patrick Palka changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

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

2024-10-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100825 --- Comment #16 from Patrick Palka --- *** Bug 103884 has been marked as a duplicate of this bug. ***

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

2024-10-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100825 Patrick Palka changed: What|Removed |Added CC||blubban at gmail dot com --- Comment #1

[Bug c++/107151] Specializing a concepted template can emit bogus assembly

2024-10-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107151 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org S

[Bug c++/70790] Can't mangle noexcept expressions

2024-10-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70790 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug c++/117054] [14/15 Regression] checking ICE on generic lambda inside a template containing constexpr-if containing instantiation of template with a NTTP defaulted to a lambda

2024-10-10 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117054 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org Ass

[Bug c++/102876] GCC fails to use constant initialization even when it knows the value to initialize

2024-10-09 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102876 Patrick Palka changed: What|Removed |Added Last reconfirmed|2021-10-21 00:00:00 |2024-10-9 --- Comment #17 from Patrick

[Bug c++/113563] Rejects capture of `this` in C++23 `this auto` lambda

2024-09-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113563 --- Comment #10 from Patrick Palka --- (In reply to Patrick Palka from comment #9) > *** Bug 116897 has been marked as a duplicate of this bug. *** struct A { int i = 42; int foo() { return [this](this auto &&self) { auto p = &i; retur

[Bug c++/113563] Rejects capture of `this` in C++23 `this auto` lambda

2024-09-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113563 Patrick Palka changed: What|Removed |Added CC||djnz00 at gmail dot com --- Comment #9

[Bug c++/116897] lambda with deduced this parameter does not capture this properly

2024-09-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116897 Patrick Palka changed: What|Removed |Added Resolution|--- |DUPLICATE CC|

[Bug other/116847] [15 regression] r15-3859-g63a598deb0c9fc causes many excess errors

2024-09-25 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116847 Patrick Palka changed: What|Removed |Added Target Milestone|--- |15.0 CC|

[Bug c++/116418] [12/13 Regression] statement expressions as initializer for decltype auto breaks in templates with optimization turned on and debug info turned on due to gstatement-frontiers

2024-09-20 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116418 Patrick Palka changed: What|Removed |Added Summary|[12/13/14/15 Regression]|[12/13 Regression] |s

[Bug c++/94404] [meta-bug] C++ core issues

2024-09-20 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94404 Bug 94404 depends on bug 116492, which changed state. Bug 116492 Summary: inherited constructors with concept in subclass overrides constructor in subclass https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116492 What|Removed

  1   2   3   4   5   6   7   8   9   10   >