http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48197
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-03-19 15:06:14 UTC --- Created attachment 23723 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23723 gcc47-pr48197.patch Maybe, but it might not be very easy, as it is related to diagnostics too (both this routine issues warnings and I believe some warnings like -Wconversion rely on the shortening too). In the mean time, here is an untested fix.