------- Comment #3 from ben at shellandslate dot com 2006-04-19 20:20 ------- It's true that the instructions are not identical (the first sets the condition register, the second doesn't.) But the second still duplicates work already performed, and should be removed. (The two instructions are sometimes generated in reverse order from similar source code, but the same principle applies.) I've verified with assembly that removing the second instruction has no effect on the program behavior, except to make it faster. :)
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27212