diff options
author | Alex Velenko <Alex.Velenko@arm.com> | 2014-11-05 11:22:28 +0000 |
---|---|---|
committer | Thomas Preud'homme <thopre01@gcc.gnu.org> | 2014-11-05 11:22:28 +0000 |
commit | 96023bbaff939ca5fe957688a940f045201c55c1 (patch) | |
tree | 22ea68efbe565c6d94846fa9b5ecbb5f410b0749 /gcc/rtl.h | |
parent | 8c7686294ebecda8d3801e0a38ba174c9b527f8f (diff) | |
download | gcc-96023bbaff939ca5fe957688a940f045201c55c1.zip gcc-96023bbaff939ca5fe957688a940f045201c55c1.tar.gz gcc-96023bbaff939ca5fe957688a940f045201c55c1.tar.bz2 |
simplify-rtx.c (simplify_binary_operation_1): Div check added.
2014-11-05 Alex Velenko <Alex.Velenko@arm.com>
gcc/
* simplify-rtx.c (simplify_binary_operation_1): Div check added.
* rtl.h (SUBREG_P): New macro added.
gcc/testsuite/
* gcc.dg/asr-div1.c: New testcase.
From-SVN: r217118
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r-- | gcc/rtl.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -789,6 +789,9 @@ struct GTY(()) rtvec_def { /* Predicate yielding nonzero iff X is a data for a jump table. */ #define JUMP_TABLE_DATA_P(INSN) (GET_CODE (INSN) == JUMP_TABLE_DATA) +/* Predicate yielding nonzero iff RTX is a subreg. */ +#define SUBREG_P(RTX) (GET_CODE (RTX) == SUBREG) + template <> template <> inline bool |