http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50911
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-11-09 18:26:12 UTC --- Created attachment 25772 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25772 gcc47-pr50911.patch Untested fix.