http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49619
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-07-04 14:11:50 UTC --- The problem is that simplify_gen_binary (IOR, mode, ....); can simplify into anything, in this case into a (subreg:HI (reg:SI ...) 0), so we really don't know the argument of its first operand. It could be mode, but can be anything else too. I don't think it is actually useful to pass it at all though, if IOR was with two CONST_INT arguments, it would have been simplified into constant already by simplify_gen_binary.