[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 Memor

2008-11-14 Thread pinskia at gmail dot com
--- Comment #5 from pinskia at gmail dot com 2008-11-14 18:02 --- Subject: Re: 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. Sent from my iPhone

[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 Memor

2008-11-14 Thread efinger at us dot ibm dot com
--- Comment #4 from efinger at us dot ibm dot com 2008-11-14 17:05 --- (In reply to comment #2) > There are going to be other holes in structs in general due to alignment > requirements and I don't think the compiler or libstdc++ should change to this > because it will slow down the gene

[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 Memor

2008-11-13 Thread paolo dot carlini at oracle dot com
--- Comment #3 from paolo dot carlini at oracle dot com 2008-11-13 22:06 --- For sure nothing is going to happen in this area within the current ABI. In the context of a future ABI (for C++1x) these traits will be used in a completely different way, probably will not be used at all, dis

[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 Memor

2008-11-13 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-11-13 21:19 --- There are going to be other holes in structs in general due to alignment requirements and I don't think the compiler or libstdc++ should change to this because it will slow down the generated code and not really make

[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 Memor

2008-11-13 Thread pinskia at gcc dot gnu dot org
--- 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: