------- Comment #6 from paolo dot carlini at oracle dot com 2009-11-13 20:51 ------- Note that, as far as I have been told by Richard, the warning itself doesn't point to an actual miscompilation in 4.4, because (PRE, etc.) aren't strong enough. Thus, first people should double check that, and in case we could backport to 4.4. the warning suppression bits (in any case, that warnings are emitted from system headers is a bug, per se).
Then, as regards mainline, we should, again, check whether actual miscompilations are taking place, I'm not aware of any. At the time of PR41316, I went quickly through the code and didn't find any problematic series of up and down casts outside (the still very experimental, I'm working on it while we are speaking) forward_list. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42032