[Bug c++/96121] Uninitialized variable copying not diagnosed

glisse at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jul 8 16:24:05 GMT 2020


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

--- Comment #2 from Marc Glisse <glisse at gcc dot gnu.org> ---
gcc warns for this at the level of actual instructions, not user code. Since A
is empty, nothing uninitialized is getting copied.


More information about the Gcc-bugs mailing list