projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
949bba2
)
PR63442 libgcc_cmp_return_mode not always return word_mode
author
Jiong Wang
<jiong.wang@arm.com>
Mon, 27 Oct 2014 21:58:59 +0000
(21:58 +0000)
committer
Jiong Wang
<jiwang@gcc.gnu.org>
Mon, 27 Oct 2014 21:58:59 +0000
(21:58 +0000)
gcc/
PR target/63442
* optabs.c (prepare_cmp_insn): Use "ret_mode" instead of "word_mode".
From-SVN: r216765
gcc/ChangeLog
patch
|
blob
|
history
gcc/optabs.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index 19931d5b6237dab3e1a00a6edf21435361365202..9645ddae1c30d9d76ab5a5e3df6082e6eac428f9 100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-1,3
+1,8
@@
+2014-10-27 Jiong Wang <jiong.wang@arm.com>
+
+ PR target/63442
+ * optabs.c (prepare_cmp_insn): Use "ret_mode" instead of "word_mode".
+
2014-10-27 DJ Delorie <dj@redhat.com>
* tree.c (build_common_tree_nodes): Don't even store the
diff --git
a/gcc/optabs.c
b/gcc/optabs.c
index c3623eae15a98c0e0c8094b61f7af1ab47200272..677958f0ad9bbe54b770b734a85c5be01afc991f 100644
(file)
--- a/
gcc/optabs.c
+++ b/
gcc/optabs.c
@@
-4294,7
+4294,7
@@
prepare_cmp_insn (rtx x, rtx y, enum rtx_code comparison, rtx size,
y = const0_rtx;
}
- *pmode =
word
_mode;
+ *pmode =
ret
_mode;
prepare_cmp_insn (x, y, comparison, NULL_RTX, unsignedp, methods,
ptest, pmode);
}