------- Comment #7 from kai dot extern at googlemail dot com 2010-02-27 20:34 ------- (In reply to comment #6) > > *** This bug has been marked as a duplicate of 42587 *** >
Oh? 42587 seems to be about not recognising memory bswap, which explains why my first attempt didn't work. But that wasn't what this bug was about - in this bug, the bswap was register-to-register, and some cases were recognized just fine. Also, the other half was about a different optimization failing for 64 bit types. Doesn't look like a duplicate to me. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43197