http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51242
Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|paolo.carlini at oracle dot | |com | --- Comment #18 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-11-26 12:50:15 UTC --- What can I say, if we are happy with these warnings when the underlying type is fixed, then I think your patch is all there is to this issue, just regression test it ;) It would be nice to double check that clang also warns, tough.