mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 18:32:13 +02:00
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) (From OE-Core rev: 7306e0113a158418acc9cc13d2e82125cb772389) Signed-off-by: Ilya Yanok <yanok@emcraft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 lines
542 B
Diff
16 lines
542 B
Diff
Upstream-Status: Pending
|
|
|
|
Index: gcc-4.5/gcc/config/arm/arm.md
|
|
===================================================================
|
|
--- gcc-4.5.orig/gcc/config/arm/arm.md 2010-06-17 09:13:07.000000000 -0700
|
|
+++ gcc-4.5/gcc/config/arm/arm.md 2010-06-22 08:08:45.397212002 -0700
|
|
@@ -11267,7 +11267,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 || !optimize_size)"
|
|
"
|
|
if (!arm_arch6)
|
|
{
|