From 3959f1edf6407ff35337a1d394866d46742219f7 Mon Sep 17 00:00:00 2001 From: hariharans Date: Fri, 29 Oct 2010 15:45:10 +0000 Subject: [PATCH] * config/picochip/picochip.c (picochip_is_short_branch): Simplify a conditional expression. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166064 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/config/picochip/picochip.c | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2a9150e..77cd1da 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-10-11 Hariharan Sandanagobalane + + * config/picochip/picochip.c (picochip_is_short_branch): Simplify + a conditional expression. + 2010-10-29 Paul Koning * config/pdp11/pdp11.c (pdp11_trampoline_init): Correct diff --git a/gcc/config/picochip/picochip.c b/gcc/config/picochip/picochip.c index f8584f3..4f09cd5 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 -- 2.7.4