X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=toolchain%2Fgcc%2Fpatches%2Flinaro%2F860-fix_extension_elimination.patch;h=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391;hp=387e02a78998375b1872b4544099c48f81006354;hb=59ad83aff1e89ae4d94bf0701cd23290b3f3ffc8;hpb=254812ba0aa83e32623094027a63a908fbf45a5c diff --git a/toolchain/gcc/patches/linaro/860-fix_extension_elimination.patch b/toolchain/gcc/patches/linaro/860-fix_extension_elimination.patch index 387e02a789..e69de29bb2 100644 --- a/toolchain/gcc/patches/linaro/860-fix_extension_elimination.patch +++ b/toolchain/gcc/patches/linaro/860-fix_extension_elimination.patch @@ -1,18 +0,0 @@ -https://bugs.launchpad.net/gcc-linaro/+bug/728315 -https://lists.openwrt.org/pipermail/openwrt-devel/2011-March/009847.html - ---- a/gcc/ee.c -+++ b/gcc/ee.c -@@ -209,7 +209,11 @@ - - *regno = REGNO (reg); - -- if (paradoxical_subreg_p (use)) -+ /* Non-paradoxical SUBREGs of promoted vars guarantee that the -+ upper (elided) bits of the inner register have a particular value. -+ For our purposes, such SUBREGs act as a full reference to the -+ inner register. */ -+ if (paradoxical_subreg_p (use) || SUBREG_PROMOTED_VAR_P (use)) - *size = GET_MODE_BITSIZE (GET_MODE (reg)); - else - *size = subreg_lsb (use) + GET_MODE_BITSIZE (GET_MODE (use));