------- Comment #5 from ramana at gcc dot gnu dot org 2010-06-22 00:51 ------- Khem,
Can you check if this fixes your problem ? Feel free to submit this to gcc-patches@ if you get around to testing this before me. Ramana diff --git a/gcc/config/arm/arm.md b/gcc/config/arm/arm.md index 628bd62..9dcceea 100644 --- a/gcc/config/arm/arm.md +++ b/gcc/config/arm/arm.md @@ -11296,7 +11296,7 @@ (define_expand "bswapsi2" [(set (match_operand:SI 0 "s_register_operand" "=r") (bswap:SI (match_operand:SI 1 "s_register_operand" "r")))] -"TARGET_EITHER" +"TARGET_EITHER && (arm_arch6 || ( !arm_arch6 && !optimize_size))" " if (!arm_arch6) { -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44392