summaryrefslogtreecommitdiff
path: root/org.handhelds.familiar/packages/gcc/gcc-csl-arm/15342.patch
diff options
context:
space:
mode:
Diffstat (limited to 'org.handhelds.familiar/packages/gcc/gcc-csl-arm/15342.patch')
-rw-r--r--org.handhelds.familiar/packages/gcc/gcc-csl-arm/15342.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/org.handhelds.familiar/packages/gcc/gcc-csl-arm/15342.patch b/org.handhelds.familiar/packages/gcc/gcc-csl-arm/15342.patch
new file mode 100644
index 0000000..d0f3e72
--- /dev/null
+++ b/org.handhelds.familiar/packages/gcc/gcc-csl-arm/15342.patch
@@ -0,0 +1,22 @@
+--- gcc/gcc/regrename.c~ 2004-01-14 17:55:20.000000000 +0000
++++ gcc/gcc/regrename.c 2005-02-28 07:24:25.893015200 +0000
+@@ -671,7 +671,8 @@
+
+ case SET:
+ scan_rtx (insn, &SET_SRC (x), class, action, OP_IN, 0);
+- scan_rtx (insn, &SET_DEST (x), class, action, OP_OUT, 0);
++ scan_rtx (insn, &SET_DEST (x), class, action,
++ GET_CODE (PATTERN (insn)) == COND_EXEC ? OP_INOUT : OP_OUT, 0);
+ return;
+
+ case STRICT_LOW_PART:
+@@ -696,7 +697,8 @@
+ abort ();
+
+ case CLOBBER:
+- scan_rtx (insn, &SET_DEST (x), class, action, OP_OUT, 1);
++ scan_rtx (insn, &SET_DEST (x), class, action,
++ GET_CODE (PATTERN (insn)) == COND_EXEC ? OP_INOUT : OP_OUT, 0);
+ return;
+
+ case EXPR_LIST: