https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88175
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- i.e. this would be wrong, because there is not 'copy' in test(info_t). > So would be better if it was as follows: > =============================================== > > $ g++ -O2 -Werror=uninitialized -o header header.cpp > header.cpp: In function ‘void test(info_t)’: > header.cpp:10:12: error: ‘copy.info::registered’ is used uninitialized in