[Bug c++/79658] [-Wuninitialized] referencing uninitialized field of POD struct should warn

palves at redhat dot com gcc-bugzilla@gcc.gnu.org
Tue Feb 21 14:06:00 GMT 2017


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

--- Comment #3 from Pedro Alves <palves at redhat dot com> ---
> For your testcase foo () is quickly optimized to nothing given ef is unused.  

Shouldn't that be true for "bar ()" too then?

Looks like I over reduced.  I'll try again.


More information about the Gcc-bugs mailing list