diff options
author | Ben Elliston <bje@au.ibm.com> | 2009-04-25 04:51:34 +0000 |
---|---|---|
committer | Ben Elliston <bje@gcc.gnu.org> | 2009-04-25 14:51:34 +1000 |
commit | 23750d7fe4d6c239bd8c03edc3e69903e5001093 (patch) | |
tree | bf36d7aeb3b533a7070a8e5d2142e5d6b92f1783 /gcc/genrecog.c | |
parent | e6ff3083a0fc0bbf35ad323784671732c7ca58cc (diff) | |
download | gcc-23750d7fe4d6c239bd8c03edc3e69903e5001093.zip gcc-23750d7fe4d6c239bd8c03edc3e69903e5001093.tar.gz gcc-23750d7fe4d6c239bd8c03edc3e69903e5001093.tar.bz2 |
genrecog.c (validate_pattern): Do not warn for VOIDmode CALLs as the source of a set operation.
* genrecog.c (validate_pattern): Do not warn for VOIDmode CALLs as
the source of a set operation.
From-SVN: r146757
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 02006e2..b52baca 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"); |