------- Comment #9 from jellegeerts at gmail dot com 2009-01-25 01:54 ------- Never mind my last message, misunderstood something.
Andrew, you say -Winit-self was added because initing a var by itself was a way to disable the -Wuninitialized warning, but shouldn't -Wuninitialized itself warn about the -Winit-self case? In the end it's still undefined behavior and it makes little sense to allow it (correct me if you have other ideas). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38961