------- Comment #7 from jwakely dot gcc at gmail dot com 2007-06-18 01:36
-------
Confirmed on x86-linux, sparc-solaris and ppc-AIX so I've removed the Target.
Also verified that valgrind shows the uninitialised memory reads.
This bug breaks common idioms like:
template <typename A, typename B>
struct compressed_pair : A {
compressed_pair() : A(), second_() { }
A& first() { return *this; }
B& second() { return second_; }
private:
B second_;
};
--
jwakely dot gcc at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
GCC target triplet|sparc-sun-solaris2.9 |
Known to fail| |4.2.0 4.1.1 3.4.3 3.3.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30111