https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105398
--- Comment #7 from CVS Commits ---
The trunk branch has been updated by Marek Polacek :
https://gcc.gnu.org/g:409edcca331296b53842c50d3b789e1b1ccc05e5
commit r12-8290-g409edcca331296b53842c50d3b789e1b1ccc05e5
Author: Marek Polacek
Date: Tu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105398
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105398
--- Comment #4 from Marek Polacek ---
The patch above changed
- if (TREE_CODE (template_type) == ENUMERAL_TYPE && !is_dependent_type
+ if (TREE_CODE (template_type) == ENUMERAL_TYPE
+ && !uses_template_parms (current_nonlambda
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105398
Patrick Palka changed:
What|Removed |Added
CC||ppalka at gcc dot gnu.org
S
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105398
Marek Polacek changed:
What|Removed |Added
CC||jason at gcc dot gnu.org,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105398
--- Comment #1 from Egor Pugin ---
auto f = [](auto &&m) {
enum { _,e3,e2,e1,C4,C3,C2,C1 };
static constexpr int x_coeffs[3][4] = {
{e1,C2,C3,C4},
{e2,C1,C3,C4},
{e3,C1,C2,C4},
};
};
int main() {
f(0);
}