[Bug c++/103177] incorrect error message for ambiguous lookup with a static member function from a private base

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

[Bug c++/102980] [10/11/12 Regression] Fail to get an r-value from std::array::size in a template function

2022-03-18 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102980 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org Resol

[Bug c++/104565] [10/11 Regression] constexpr template goes wrong with class and call to constexpr method

2022-03-18 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104565 Patrick Palka changed: What|Removed |Added CC||davide.gadioli at polimi dot it --- Com

[Bug c++/54319] [9/10/11/12 Regression] empty class causes error while non-empty does not

2022-03-18 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54319 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org St

[Bug c++/59950] [9/10/11 Regression] Bogus diagnostic "taking address of temporary" taking address of trivial no-op assignment to temporary with empty class

2022-03-18 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59950 Patrick Palka changed: What|Removed |Added CC||aschepler at gmail dot com --- Comment #

[Bug c++/100557] [concepts] Internal compiler error: Error reporting routines re-entered.

2022-03-18 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100557 --- Comment #3 from Patrick Palka --- Reduced: template _Tp declval(); struct print_tag_; bool tag_invoke(print_tag_, auto); bool tag_invoke(print_tag_, auto obj) requires requires { *obj; }; template auto try_tag_invoke() noexcept(tag_inv

[Bug c++/104008] [11 Regression] New g++ folly compile error since r11-7931-ga2531859bf5bf6cf

2022-03-18 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104008 Patrick Palka changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/88252] Deduction guide assume the constructor parameter is a forwarding reference if constructor defined outside class

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

[Bug c++/104996] [10/11/12 Regression] Overload resolution over rvalue/const lvalue array reference parameters for an init. list argument incorrectly picks the const lvalue ref. overload

2022-03-21 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104996 Patrick Palka changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org,

[Bug c++/104996] [10/11/12 Regression] Overload resolution over rvalue/const lvalue array reference parameters for an init. list argument incorrectly picks the const lvalue ref. overload

2022-03-21 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104996 --- Comment #3 from Patrick Palka --- For the record, the full rejects-valid testcase is: // #g.1: rvalue reference function parameter constexpr bool g(int&&) { return true; } // #g.2: const lvalue reference function parameter constexpr

[Bug c++/105006] [12 Regression] ice: tree check: expected function_decl, have using_decl in maybe_push_used_methods, at cp/class.cc:1325

2022-03-21 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105006 Patrick Palka changed: What|Removed |Added Keywords||ice-on-valid-code Summary|ic

[Bug c++/96645] [9/10/11/12 Regression] [CWG2335] std::variant default constructor and unparsed DMI

2022-03-22 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96645 Patrick Palka changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/105035] [11/12 Regression] tree check: expected field_decl, have identifier_node in operand_equal_p, at fold-const.c:3335 since r11-5181-g0862d007b564eca8

2022-03-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105035 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment #

[Bug c++/105035] [11/12 Regression] tree check: expected field_decl, have identifier_node in operand_equal_p, at fold-const.c:3335 since r11-5181-g0862d007b564eca8

2022-03-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105035 --- Comment #7 from Patrick Palka --- (In reply to Patrick Palka from comment #6) > (In reply to Jakub Jelinek from comment #3) > > Another option is to make sure we don't call > > warn_duplicated_cond_add_or_warn > > when processing_template_d

[Bug c++/104620] FAIL: g++.dg/cpp23/consteval-if2.C -std=gnu++20 (test for errors)

2022-03-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104620 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org Tar

[Bug c++/104620] FAIL: g++.dg/cpp23/consteval-if2.C -std=gnu++20 (test for errors)

2022-03-24 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104620 --- Comment #5 from Patrick Palka --- Some context: consider the simplified/extended C++20 testcase (the consteval-if seems to be a red herring): consteval int foo(int x) { return x; } template void bar(int x) { constexpr int y = 0; foo(8

[Bug c++/104620] FAIL: g++.dg/cpp23/consteval-if2.C -std=gnu++20 (test for errors)

2022-03-24 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104620 --- Comment #6 from Patrick Palka --- The reason that the two tests in constexpr-if2.C don't fail with -fchecking=2 after r12-7264 seems to be a latent bug. The error comes from the call to fold_non_dependent_expr in build_non_dependent_expr (w

[Bug c++/104620] FAIL: g++.dg/cpp23/consteval-if2.C -std=gnu++20 (test for errors)

2022-03-24 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104620 --- Comment #7 from Patrick Palka --- (In reply to Jakub Jelinek from comment #4) > This one is valid, but before your r12-7264 was incorrectly rejected because > 8 * baz (0) etc. is wrapped in NON_DEPENDENT_EXPR, > potential_constant_expression

[Bug c++/101906] Constant evaluation failure in concepts

2022-03-24 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101906 --- Comment #2 from Patrick Palka --- FWIW one workaround is to use a class template instead of an alias template, e.g. -template using voidify = void; +template struct voidify {};

[Bug c++/104620] FAIL: g++.dg/cpp23/consteval-if2.C -std=gnu++20 (test for errors)

2022-03-24 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104620 --- Comment #10 from Patrick Palka --- (In reply to Jason Merrill from comment #8) > (In reply to Patrick Palka from comment #7) > > IIUC as long as NON_DEPENDENT_EXPR doesn't appear inside a non-dependent > > consteval call then we'll currently

[Bug c++/105047] New: invalid non-dependent call to non-static member of the current instantiation not rejected ahead of time

2022-03-24 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105047 Bug ID: 105047 Summary: invalid non-dependent call to non-static member of the current instantiation not rejected ahead of time Product: gcc Version: 12.0 Status: UNCONF

[Bug c++/105050] error: expression '' is not a constant expression

2022-03-25 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105050 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment #

[Bug c++/103455] [9/10/11/12 Regression] internal compiler error: in dependent_type_p since r9-713-gd9338471b91bbe6e1

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

[Bug c++/103455] [9/10/11 Regression] internal compiler error: in dependent_type_p since r9-713-gd9338471b91bbe6e1

2022-03-26 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103455 Patrick Palka changed: What|Removed |Added Summary|[9/10/11/12 Regression] |[9/10/11 Regression]

[Bug c++/105067] [12 Regression] ICE: in operator[], at vec.h:889 since r12-7631-g9413bb55185b9e88

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

[Bug c++/105064] [10/11/12 Regression] requires crashes gcc

2022-03-28 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105064 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org S

[Bug c++/105064] [10/11 Regression] requires crashes gcc

2022-03-28 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105064 Patrick Palka changed: What|Removed |Added Summary|[10/11/12 Regression] |[10/11 Regression] requires

[Bug c++/105067] [12 Regression] ICE: in operator[], at vec.h:889 since r12-7631-g9413bb55185b9e88

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

[Bug c++/85282] CWG 727 (full specialization in non-namespace scope)

2022-03-29 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85282 --- Comment #17 from Patrick Palka --- This won't be implemented in time for GCC 12, sadly. FWIW a class-scope explicit specialization should in most cases be equivalent to an appropriately constrained partial specialization. So as a workaround

[Bug c++/105067] [12 Regression] ICE: in operator[], at vec.h:889 since r12-7631-g9413bb55185b9e88

2022-03-29 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105067 --- Comment #6 from Patrick Palka --- (In reply to 康桓瑋 from comment #5) > It still seems to be ICE. > https://godbolt.org/z/YjazY4ajv I only see ordinary errors, no ICEs: :3:9: error: concept 'C' has multiple template parameter lists 3 | c

[Bug c++/71637] -Wmisleading-indentation only triggered when using integrated cpp

2022-03-29 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71637 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug c++/101914] internal compiler error: in tsubst, at cp/pt.c:15553

2022-03-29 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101914 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org Resol

[Bug c++/91911] Strange interaction between CTAD and decltype

2022-03-29 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91911 Patrick Palka changed: What|Removed |Added CC||accounts at prantare dot xyz --- Comment

[Bug c++/68495] Error when expanding nontype variadic argument in trailing return type

2022-03-29 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68495 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org See

[Bug c++/100474] ICE: in diagnose_trait_expr, at cp/constraint.cc:3706

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

[Bug c++/100474] ICE: in diagnose_trait_expr, at cp/constraint.cc:3706

2022-03-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100474 Patrick Palka changed: What|Removed |Added Target Milestone|--- |11.3 Known to work|

[Bug c++/105111] Ambiguous constructor overload with requires constraint

2022-03-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105111 Patrick Palka changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug c++/96333] [10/11 Regression] Regression on concepts constraint checking

2022-03-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96333 Patrick Palka changed: What|Removed |Added CC||andrei.popa105 at yahoo dot com --- Comm

[Bug c++/105111] Ambiguous constructor overload with requires constraint

2022-03-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105111 --- Comment #2 from Patrick Palka --- FWIW one workaround could be to consistently use 'T' or 'const T&' as the first function parameter for both functions. Another workaround could be to constrain the second overload with '(!std::is_signed::va

[Bug c++/105110] NTTP type deduction fails when dependent of previous NTTPs

2022-03-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105110 Patrick Palka changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug rtl-optimization/105119] New: the division in x / (1 << y) is optimized away when x has unsigned type, but not when it's signed

2022-03-31 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105119 Bug ID: 105119 Summary: the division in x / (1 << y) is optimized away when x has unsigned type, but not when it's signed Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug c++/105110] NTTP type deduction fails when dependent of previous NTTPs

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

[Bug c++/105174] [Concepts] Example from temp.func.order-p6 selects wrong overload

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

[Bug libstdc++/105178] [11 Regression] g++ incorrectly reports invalid use of incomplete type

2022-04-06 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105178 Patrick Palka changed: What|Removed |Added Target Milestone|--- |11.3 Status|UNCONFIRMED

[Bug c++/105143] c++20: ICE when trying to emit a [[nodiscard]] warning and non-type template arugument

2022-04-06 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105143 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c++/105143] c++20: ICE when trying to emit a [[nodiscard]] warning and non-type template arugument

2022-04-06 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105143 Patrick Palka changed: What|Removed |Added Target Milestone|--- |11.3 --- Comment #3 from Patrick Palka

[Bug c++/67898] rejects-valid on overloaded function as non-type template argument of dependent type

2022-04-06 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67898 --- Comment #4 from Patrick Palka --- Related rejects-valid C++11 testcase: template struct A; template using B = A; using type = A; using type = B;// incorrectly resolves to A // instead of A

[Bug c++/104594] narrowing of -1 to unsigned char not detected with requires concepts

2022-04-06 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104594 --- Comment #2 from Patrick Palka --- Here's a testcase which illustrates that the fix must happen during normalization, not during satisfaction, since after normalization we don't know which concepts we looked through to yield the given atom:

[Bug c++/104594] narrowing of -1 to unsigned char not detected with requires concepts

2022-04-06 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104594 Patrick Palka changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/104594] narrowing of -1 to unsigned char not detected with requires concepts

2022-04-06 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104594 --- Comment #4 from Patrick Palka --- N.B. coerce_template_parms sometimes does encode the implicit conversion for a dependent NTTP argument, but only for sake of specialization matching (in light of 'auto' template parms IIUC), the IMPLICIT_CON

[Bug c++/104594] narrowing of -1 to unsigned char not detected with requires concepts

2022-04-06 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104594 --- Comment #5 from Patrick Palka --- (In reply to Patrick Palka from comment #4) > N.B. coerce_template_parms sometimes does encode the implicit conversion for > a dependent NTTP argument, but only for sake of specialization matching (in > ligh

[Bug c++/105191] [12 Regression] '' "is not a constant expression" regression in GCC 12

2022-04-07 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105191 Patrick Palka changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug c++/59716] [10/11 Regression] variadic template multiple parameter pack expansion fails

2022-04-07 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59716 --- Comment #9 from Patrick Palka --- Hmm, this PR is essentially a dup of PR88580 but I don't think it's a 10/11 regression: between r8-2715 and r10-3735 it seems we just went from incorrectly rejecting the testcase (the behavior before r8-2715)

[Bug c++/105143] c++20: ICE when trying to emit a [[nodiscard]] warning and non-type template arugument

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

[Bug libstdc++/104859] [11 Regression] libg++ fails during bootstrap

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

[Bug c++/105200] user-defined operator <=> for enumerated types is ignored

2022-04-08 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105200 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment #

[Bug c++/99893] C++20 unexpanded parameter packs falsely not detected (lambda is involved)

2022-04-08 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99893 Patrick Palka changed: What|Removed |Added Target Milestone|12.0|11.3

[Bug c++/105220] Incorrect concept evaluation when friend class is involved

2022-04-11 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 Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/105223] [12 Regression] filter_memfn_lookup internal compiler error

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

[Bug c++/105223] [12 Regression] filter_memfn_lookup internal compiler error

2022-04-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105223 --- Comment #2 from Patrick Palka --- The implicitly declared ServiceReference::operator= members lack a TEMPLATE_INFO, but filter_memfn_lookup expects it (along with all other non-template member functions from the instantiated class) to have o

[Bug c++/105223] [12 Regression] filter_memfn_lookup internal compiler error

2022-04-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105223 --- Comment #3 from Patrick Palka --- FWIW, the problematic hunk from r12-7714 appears to be: --- a/gcc/cp/class.cc +++ b/gcc/cp/class.cc ... @@ -7700,14 +7723,17 @@ finish_struct (tree t, tree attributes) lookup not to fail or recurse

[Bug c++/105233] Incorrect "alignment not an integer constant" error in alignas with template parameter dependent argument

2022-04-12 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105233 --- Comment #6 from Patrick Palka --- (In reply to Jakub Jelinek from comment #5) > Created attachment 52791 [details] > gcc12-pr105233.patch > > Untested patch that makes alignas and aligned attribute argument manifestly > constant evaluated e

[Bug c++/103105] [11 Regression] ICE iterative_hash_template_arg with concepts and varagrs template since r11-3261-gb28b621ac67beee8

2022-04-12 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103105 Patrick Palka changed: What|Removed |Added Known to work||12.0 Known to fail|12.0

[Bug libstdc++/103955] std::to_chars(char*, char*, double, std::chars_format, int precision) crashes for the two maximal int precision values

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

[Bug c++/103706] [11 Regression] ICE: tree check: accessed elt 1 of 'tree_vec' with 0 elts in hash, at cp/constraint.cc:2503

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

[Bug c++/103105] [11 Regression] ICE iterative_hash_template_arg with concepts and varagrs template since r11-3261-gb28b621ac67beee8

2022-04-12 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103105 Bug 103105 depends on bug 103706, which changed state. Bug 103706 Summary: [11 Regression] ICE: tree check: accessed elt 1 of 'tree_vec' with 0 elts in hash, at cp/constraint.cc:2503 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103706

[Bug c++/103341] [11 Regression] ICE type of variable instantiation constrained on template parameter

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

[Bug c++/101532] [12 Regression] ICE in finish_expr_stmt, at cp/semantics.c:859

2022-04-12 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101532 Patrick Palka changed: What|Removed |Added Target Milestone|12.0|11.3

[Bug c++/103105] [11 Regression] ICE iterative_hash_template_arg with concepts and varagrs template since r11-3261-gb28b621ac67beee8

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

[Bug c++/105265] [9/10/11/12 Regression] temporary object not destructed causing memory leaks

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

[Bug c++/105265] [9/10/11 Regression] temporary object not destructed causing memory leaks

2022-04-13 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105265 --- Comment #7 from Patrick Palka --- (In reply to Jonathan Wakely from comment #6) > But not fixed on gcc-11 by the r11-8715 backport for PR100838, suggesting > there was an earlier change on trunk that affects it. Perhaps that's because of (f

[Bug c++/105200] user-defined operator <=> for enumerated types is ignored

2022-04-13 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105200 --- Comment #5 from Patrick Palka --- (In reply to Jakub Jelinek from comment #2) > If one defines instead say bool operator<(const foo, const foo); > then the built-in candidate isn't considered because of > https://eel.is/c++draft/over.match.o

[Bug libstdc++/104858] ranges::minmax double dereferences first

2022-04-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104858 Patrick Palka changed: What|Removed |Added Target Milestone|--- |10.4

[Bug c++/105289] [11/12 Regression] ICE on partial specialization

2022-04-18 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105289 Patrick Palka changed: What|Removed |Added Known to fail||11.2.0, 12.0 Assignee|unassig

[Bug c++/105297] [12 Regression] new modules 'xtreme' test cases FAILs

2022-04-20 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105297 --- Comment #7 from Patrick Palka --- (In reply to Jonathan Wakely from comment #6) > Patrick, I suggest we go with Jakub's suggestion in comment 4, but PTAL. LGTM, it seems to be the simplest workaround. I also tried replacing the NSDMI but t

[Bug c++/105297] [12 Regression] new modules 'xtreme' test cases FAILs

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

[Bug c++/105297] [12 Regression] new modules 'xtreme' test cases FAILs

2022-04-20 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105297 --- Comment #10 from Patrick Palka --- (In reply to Jakub Jelinek from comment #9) > (In reply to Patrick Palka from comment #7) > > (In reply to Jonathan Wakely from comment #6) > > > Patrick, I suggest we go with Jakub's suggestion in comment

[Bug c++/105322] New: [modules] ICE with constexpr object of local class type from another function

2022-04-20 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105322 Bug ID: 105322 Summary: [modules] ICE with constexpr object of local class type from another function Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug c++/105322] [modules] ICE with constexpr object of local class type from another function

2022-04-20 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105322 Patrick Palka changed: What|Removed |Added Known to fail||11.2.0, 12.0 --- Comment #1 from Patric

[Bug c++/105297] [12 Regression] new modules 'xtreme' test cases FAILs

2022-04-21 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105297 --- Comment #13 from Patrick Palka --- (In reply to Jiu Fu Guo from comment #11) > (In reply to Patrick Palka from comment #10) > > > > Interestingly that doesn't seem to make a difference. What seems to matter > > is whether the constexpr fun

[Bug c++/105297] [12 Regression] new modules 'xtreme' test cases FAILs

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

[Bug c++/86193] Partial ordering of non-type template parameters with dependent types

2022-04-22 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86193 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org See

[Bug c++/105304] [10/11/12 Regression] ICE segfault using ad-hoc concept with -Wall since r10-7441-ga7ea3d2ced786c45

2022-04-22 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105304 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c++/105304] [10/11 Regression] ICE segfault using ad-hoc concept with -Wall since r10-7441-ga7ea3d2ced786c45

2022-04-25 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105304 Patrick Palka changed: What|Removed |Added Summary|[10/11/12 Regression] ICE |[10/11 Regression] ICE

[Bug c++/105386] [11/12 Regression] Tuple in unevaluated context is instantiated; creates reference to void

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

[Bug c++/105289] [11/12 Regression] ICE on partial specialization

2022-04-26 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105289 Patrick Palka changed: What|Removed |Added Keywords|ice-on-valid-code |ice-on-invalid-code --- Comment #4 from

[Bug c++/105289] [11 Regression] ICE on partial specialization

2022-04-26 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105289 Patrick Palka changed: What|Removed |Added Summary|[11/12 Regression] ICE on |[11 Regression] ICE on

[Bug c++/105386] [11 Regression] Tuple in unevaluated context is instantiated; creates reference to void

2022-04-26 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105386 Patrick Palka changed: What|Removed |Added Summary|[11/12 Regression] Tuple in |[11 Regression] Tuple in

[Bug c++/105398] [11/12 Regression][ICE] enum in array in lambda

2022-04-26 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105398 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org S

[Bug c++/105398] [11/12 Regression][ICE] enum in array in lambda

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

[Bug c++/94624] Assignment to nested mutable lambda's capture (of outer lambda non-mutable capture) is not allowed

2022-04-26 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94624 Patrick Palka changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Target Milestone|---

[Bug c++/94376] When nested inside a lambda body, [=] captures by const value instead of by value

2022-04-26 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94376 Patrick Palka changed: What|Removed |Added CC||cuzdav at gmail dot com --- Comment #6 f

[Bug c++/105386] [11 Regression] Tuple in unevaluated context is instantiated; creates reference to void

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

[Bug c++/105425] [12/13 Regression] ambiguous template instantiation with hana::when

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

[Bug c++/105425] [12/13 Regression] ambiguous template instantiation with hana::when

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

[Bug c++/105436] New: parse error with >= operator expression in template argument list in C++14 mode since r13-40

2022-04-29 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105436 Bug ID: 105436 Summary: parse error with >= operator expression in template argument list in C++14 mode since r13-40 Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug c++/106366] CTAD fails to prioritize initializer_list when done via Deduction guide and inherited CTORS

2022-07-20 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106366 Patrick Palka changed: What|Removed |Added Ever confirmed|0 |1 Assignee|unassigned at gcc

[Bug c++/96363] bogus error with multiple constrained partial specialization forward declarations

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

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

2022-07-21 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 96363, which changed state. Bug 96363 Summary: bogus error with multiple constrained partial specialization forward declarations https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96363 What|Removed

[Bug c++/105758] [12 Regression] ICE in build_baselink since r12-6897

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

<    2   3   4   5   6   7   8   9   10   11   >