------- Comment #14 from rearnsha at gcc dot gnu dot org 2010-09-20 16:13 ------- (In reply to comment #13) > Is there something wrong with the first hunk of the patch (arm_movt) ? >
Nothing really. I missed that bit. I think in practice the compiler will never end up matching that pattern (as lo_sum isn't something the compiler spontaneously generates -- it means different things on each architecture that supports it, so the generic parts of the compiler will only use it if they are transforming something that already uses it), but it should probably be on the trunk version as the current code is clearly too liberal. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45726