https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116015
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116015
--- Comment #10 from Marek Polacek ---
Fixed on trunk so far. I think it makes sense to fix this in 14 too.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116015
--- Comment #9 from GCC Commits ---
The trunk branch has been updated by Marek Polacek :
https://gcc.gnu.org/g:d91b6c93f98cac71f5588d73191d08ad788e600c
commit r15-2920-gd91b6c93f98cac71f5588d73191d08ad788e600c
Author: Marek Polacek
Date: Fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116015
Marek Polacek changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot
gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116015
--- Comment #7 from Marek Polacek ---
As in bug 100252, we have:
D.2872 = {.rows=(&)->n,
.outer_stride=(&)->rows}
that is, two PLACEHOLDER_EXPRs for different types on the same level in one {
}.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116015
--- Comment #6 from Marek Polacek ---
Matrix A1{{n}};
ICEs too, but not
Matrix A0{{}};
Matrix A2{{n, n}};
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116015
--- Comment #5 from Marek Polacek ---
Yeah. (I would like to take a look soon but I'm not going to assign it to
myself until I have a patch/know what exactly is going on.)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116015
Patrick Palka changed:
What|Removed |Added
CC||ppalka at gcc dot gnu.org
See
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116015
--- Comment #3 from Pieter P ---
A temporary workaround is to wrap the default value in an immediately invoked
lambda:
struct Widget {
int n = 5;
Matrix A = [this] { return Matrix{{.rows = n}}; }();
};
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116015
--- Comment #2 from Marek Polacek ---
(Not a regression; previously we rejected the code.)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116015
Marek Polacek changed:
What|Removed |Added
Ever confirmed|0 |1
CC|
11 matches
Mail list logo