https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82899

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Antony Polukhin from comment #3)
> BTW, Clang warns on code like Y y(y)
> 
> warning: variable 'y' is uninitialized when used within its own
> initialization [-Wuninitialized]
>   Y y(y);
>     ~ ^
> 
> GCC may add same warning

Can you open a bugreport?

Reply via email to