http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57602
--- Comment #4 from Igor Zamyatin <izamyatin at gmail dot com> --- Created attachment 30377 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30377&action=edit Untested patch that corrects the cleanup