diff options
author | Hariharan Sandanagobalane <hariharan@picochip.com> | 2010-10-29 15:45:10 +0000 |
---|---|---|
committer | Hariharan Sandanagobalane <hariharans@gcc.gnu.org> | 2010-10-29 15:45:10 +0000 |
commit | a6e78d3beae829297316494a58d3da3d202b8732 (patch) | |
tree | b62341fbc1f8d8d31c029d6b7fc3c6f1961523e8 /gcc/config/picochip | |
parent | ed8eb563426df4fb5c1d8d374e65fe5ffbb691e4 (diff) | |
download | gcc-a6e78d3beae829297316494a58d3da3d202b8732.tar.gz |
picochip.c (picochip_is_short_branch): Simplify a conditional expression.
* config/picochip/picochip.c (picochip_is_short_branch): Simplify
a conditional expression.
From-SVN: r166064
Diffstat (limited to 'gcc/config/picochip')
-rw-r--r-- | gcc/config/picochip/picochip.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/config/picochip/picochip.c b/gcc/config/picochip/picochip.c index f8584f31c04..4f09cd551c1 100644 --- a/gcc/config/picochip/picochip.c +++ b/gcc/config/picochip/picochip.c @@ -2299,8 +2299,7 @@ picochip_is_short_branch (rtx insn) int isRealShortBranch = (get_attr_length(insn) == SHORT_BRANCH_LENGTH); return (isRealShortBranch || - (!isRealShortBranch && - picochip_current_vliw_state.num_insns_in_packet > 1)); + picochip_current_vliw_state.num_insns_in_packet > 1); } /* Output a compare-and-branch instruction (matching the cbranch |