https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114675
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2024-04-10
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
Severity|normal |enhancement
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #1)
> A complete testcase that actually compiles:
>
> struct A { };
> struct C { C(const A&); };
> struct B { B(const C&); };
>
> struct everything {
> everything() : a(), b(c), c(a) { }
>
> A a;
> B b;
> C c;
> };
Confirmed. I thought I had saw another bug which was asking for the same thing
but I can't seem to find it right now.