http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48405
--- Comment #2 from Thomas Koenig <tkoenig at gcc dot gnu.org> 2011-04-19 05:19:12 UTC --- Created attachment 24039 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24039 Proposed patch This should work (and also fix some other bugs as well).