------- Comment #4 from jakub at gcc dot gnu dot org 2008-08-26 09:06 ------- Created an attachment (id=16147) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16147&action=view) gcc41-pr36449.patch
4.1 patch which doesn't kill the optimization altogether, but instead fixes it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36449