------- Comment #8 from paolo dot carlini at oracle dot com 2010-02-24 22:47 ------- ICC doesn't warn (emits another spurious warning, by the way, which has nothing to do with this issue). More generally, compilers using the EDG front-end, eg, Comeau, apparently do not warn at the most strict diagnostic level. Likewise SunStudio. I'm not saying we cannot do better, just, seems a pretty sophisticated goal, and really, in my opinion, we should be *very* careful with false positive, because normally it's unacceptable to emit warnings about internal details of the implementation.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43167