Author: nbd Date: 2015-09-03 15:14:44 +0200 (Thu, 03 Sep 2015) New Revision: 46774
Added: trunk/toolchain/gcc/patches/5.2.0/030-fix-arm-codegen-PR-65932.patch Modified: trunk/toolchain/gcc/Config.in Log: gcc: add ARM codegen fix from PR 65932 Signed-off-by: Felix Fietkau <[email protected]> Modified: trunk/toolchain/gcc/Config.in =================================================================== --- trunk/toolchain/gcc/Config.in 2015-09-02 16:22:44 UTC (rev 46773) +++ trunk/toolchain/gcc/Config.in 2015-09-03 13:14:44 UTC (rev 46774) @@ -23,7 +23,6 @@ config GCC_USE_VERSION_5 select GCC_VERSION_5 bool "gcc 5.x" - depends on BROKEN endchoice Added: trunk/toolchain/gcc/patches/5.2.0/030-fix-arm-codegen-PR-65932.patch =================================================================== --- trunk/toolchain/gcc/patches/5.2.0/030-fix-arm-codegen-PR-65932.patch (rev 0) +++ trunk/toolchain/gcc/patches/5.2.0/030-fix-arm-codegen-PR-65932.patch 2015-09-03 13:14:44 UTC (rev 46774) @@ -0,0 +1,21 @@ +Fix from https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65932 + +--- a/gcc/config/arm/arm.h ++++ b/gcc/config/arm/arm.h +@@ -628,16 +628,10 @@ extern int arm_arch_crc; + type, but kept valid in the wider mode. The signedness of the + extension may differ from that of the type. */ + +-/* It is far faster to zero extend chars than to sign extend them */ +- + #define PROMOTE_MODE(MODE, UNSIGNEDP, TYPE) \ + if (GET_MODE_CLASS (MODE) == MODE_INT \ + && GET_MODE_SIZE (MODE) < 4) \ + { \ +- if (MODE == QImode) \ +- UNSIGNEDP = 1; \ +- else if (MODE == HImode) \ +- UNSIGNEDP = 1; \ + (MODE) = SImode; \ + } + _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
