diff options
author | Claudiu Zissulescu <claziss@synopsys.com> | 2017-03-27 12:56:46 +0200 |
---|---|---|
committer | Claudiu Zissulescu <claziss@gcc.gnu.org> | 2017-03-27 12:56:46 +0200 |
commit | e5dcff3eb55dcccf1ad20d94c0f5680f75f3b75c (patch) | |
tree | 58a74d8196faec545c085f294fc96f8192b072b6 /gcc/system.h | |
parent | c4192ad7027a3e991134b5d6d5f2d7451d058f48 (diff) | |
download | gcc-e5dcff3eb55dcccf1ad20d94c0f5680f75f3b75c.zip gcc-e5dcff3eb55dcccf1ad20d94c0f5680f75f3b75c.tar.gz gcc-e5dcff3eb55dcccf1ad20d94c0f5680f75f3b75c.tar.bz2 |
[ARC] Fix move_double_src_operand predicate.
Durring compilation process, (subreg (mem ...) ...) can occur. Hence,
we need to check if the address of mem is a valid one. This patch is
fixing this check by directly calling the address_operand, instead of
calling move_double_src_operand, as the latter is always checking
against the original mode, thus, returning false when the inner and
outer modes are different.
gcc/
2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
* config/arc/predicates.md (move_double_src_operand): Replace the
call to move_double_src_operand with a call to address_operand.
From-SVN: r246499
Diffstat (limited to 'gcc/system.h')
0 files changed, 0 insertions, 0 deletions