summaryrefslogtreecommitdiff
path: root/util/crossgcc/patches/gcc-5.3.0_nds32.patch
blob: 34f2573cfeb43c35c70f875f1f29308111e92c41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff -urN gcc-5.3.0.orig/gcc/config/nds32/nds32.md gcc-5.3.0/gcc/config/nds32/nds32.md
--- gcc-5.3.0.orig/gcc/config/nds32/nds32.md	2015-01-15 22:45:09.000000000 -0800
+++ gcc-5.3.0/gcc/config/nds32/nds32.md	2016-04-14 22:09:09.000000000 -0700
@@ -2289,11 +2289,11 @@
   emit_jump_insn (gen_cbranchsi4 (test, operands[0], operands[2],
 				  operands[4]));
 
-  operands[5] = gen_reg_rtx (SImode);
+  rtx tmp = gen_reg_rtx (SImode);
   /* Step C, D, E, and F, using another temporary register operands[5].  */
   emit_jump_insn (gen_casesi_internal (operands[0],
 				       operands[3],
-				       operands[5]));
+				       tmp));
   DONE;
 })