diff options
author | bje <bje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-25 04:51:34 +0000 |
---|---|---|
committer | bje <bje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-25 04:51:34 +0000 |
commit | 84e907aa01ec118397983eaa94882c5f6361b611 (patch) | |
tree | bf36d7aeb3b533a7070a8e5d2142e5d6b92f1783 /gcc/genrecog.c | |
parent | 906bb5c363f525c69bf1611dc6489036796cd154 (diff) | |
download | gcc-84e907aa01ec118397983eaa94882c5f6361b611.tar.gz |
* genrecog.c (validate_pattern): Do not warn for VOIDmode CALLs as
the source of a set operation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146757 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genrecog.c')
-rw-r--r-- | gcc/genrecog.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/genrecog.c b/gcc/genrecog.c index 02006e2af9c..b52baca038e 100644 --- a/gcc/genrecog.c +++ b/gcc/genrecog.c @@ -793,7 +793,8 @@ validate_pattern (rtx pattern, rtx insn, rtx set, int set_code) && GET_CODE (dest) != CC0 && GET_CODE (src) != PC && GET_CODE (src) != CC0 - && GET_CODE (src) != CONST_INT) + && GET_CODE (src) != CONST_INT + && GET_CODE (src) != CALL) { const char *which; which = (dmode == VOIDmode ? "destination" : "source"); |