[Bug libstdc++/38107] gcc source contains a struct with no data members (actually 1 byte in size) and compiler does not initialize it, resulting in IBM Rational Purify reporting an Uninitialized Memory Read.

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Nov 13 21:16:00 GMT 2008



------- Comment #1 from pinskia at gcc dot gnu dot org  2008-11-13 21:15 -------
> The problem is that a struct with no data members is actually 1 byte in size,
> consisting only of a pad byte, which the compiler does not initilalize.

So ....

Really I think Purify needs help here.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38107



More information about the Gcc-bugs mailing list