termux-packages/packages/gcc/gcc-config-arm-arm.md.patch

15 lines
649 B
Diff
Raw Normal View History

From https://github.com/crystax/android-toolchain-gcc-6/blob/master/gcc/config/arm/arm.md
diff -u -r ../gcc-6.1.0/gcc/config/arm/arm.md ./gcc/config/arm/arm.md
--- ../gcc-6.1.0/gcc/config/arm/arm.md 2016-03-03 02:42:02.000000000 -0500
+++ ./gcc/config/arm/arm.md 2016-04-29 04:40:58.734797301 -0400
@@ -8179,7 +8179,7 @@
(match_operand:SI 2 "const_int_operand" "") ; total range
(match_operand:SI 3 "" "") ; table label
(match_operand:SI 4 "" "")] ; Out of range label
- "TARGET_32BIT || optimize_size || flag_pic"
+ "TARGET_32BIT || ((optimize_size || flag_pic) && !inline_thumb1_jump_table)"
"
{
enum insn_code code;