http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56227
--- Comment #16 from Uros Bizjak <ubizjak at gmail dot com> 2013-02-09 08:02:22 UTC --- I didn't notice that my backport to 4.7 caused: ../../gcc-svn/branches/gcc-4_7-branch/gcc/lto/lto.c:1060:68: warning: format ‘%wx’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long unsigned int’ [-Wformat] However, "%wx" _is_ correct in this case, and it works for 4.8 without problems. Joseph, is there some additional magic that has to be added in lto/lto.c for %wx to pass the check?