https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101073
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101073
--- Comment #6 from CVS Commits ---
The trunk branch has been updated by Marek Polacek :
https://gcc.gnu.org/g:b2287a4d9a640fdc2caef6a067830ea65044deb7
commit r13-6145-gb2287a4d9a640fdc2caef6a067830ea65044deb7
Author: Marek Polacek
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101073
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101073
--- Comment #5 from Marek Polacek ---
A similar test that doesn't use op=:
struct Y
{
int a;
};
struct X
{
Y b = Y{1};
Y c = this->b;
};
constexpr X o = { };
static_assert(o.b.a == 1 && o.c.a == 1, "");
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101073
Jakub Jelinek changed:
What|Removed |Added
Target Milestone|10.4|10.5
--- Comment #4 from Jakub Jelinek
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101073
Richard Biener changed:
What|Removed |Added
Target Milestone|9.5 |10.4
--- Comment #3 from Richard