]> code.ossystems Code Review - openembedded-core.git/commitdiff
gcc_4.5.1: fix arm_bswapsi2.patch
authorIlya Yanok <yanok@emcraft.com>
Tue, 19 Jul 2011 01:00:52 +0000 (03:00 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Jul 2011 14:24:58 +0000 (15:24 +0100)
Acoording to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44392
correct fix should be
TARGET_EITHER && (arm_arch6 || !optimize_size)
not
TARGET_EITHER && (arm_arch6 && !optimize_size)

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
meta/recipes-devtools/gcc/gcc-4.5.1/arm-bswapsi2.patch

index 9b9f8741890530c94eed025797021c4af4ab42d5..a7a66847188c6f7007dc9c39469ab4d478609385 100644 (file)
@@ -9,7 +9,7 @@ Index: gcc-4.5/gcc/config/arm/arm.md
    [(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 && !optimize_size)"
++"TARGET_EITHER && (arm_arch6 || !optimize_size)"
  "
    if (!arm_arch6)
      {