From 5d40b20f6efeace2533cd594fa782d55859b1d9f Mon Sep 17 00:00:00 2001 From: Sandra Loosemore Date: Wed, 14 May 2014 17:18:33 -0400 Subject: [PATCH] nios2.md (nios2_cbranch): Fix paste-o in length attribute computation. 2014-05-14 Sandra Loosemore gcc/ * config/nios2/nios2.md (nios2_cbranch): Fix paste-o in length attribute computation. From-SVN: r210440 --- gcc/ChangeLog | 5 +++++ gcc/config/nios2/nios2.md | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 10774c72a3b0..c7fbc1a1ef11 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-05-14 Sandra Loosemore + + * config/nios2/nios2.md (nios2_cbranch): Fix paste-o in + length attribute computation. + 2014-05-14 Richard Sandiford PR debug/61188 diff --git a/gcc/config/nios2/nios2.md b/gcc/config/nios2/nios2.md index e3a803c59b56..4057feb7ddcf 100644 --- a/gcc/config/nios2/nios2.md +++ b/gcc/config/nios2/nios2.md @@ -877,8 +877,8 @@ [(set_attr "type" "control") (set (attr "length") (if_then_else - (and (ge (minus (match_dup 1) (pc)) (const_int -32768)) - (le (minus (match_dup 1) (pc)) (const_int 32764))) + (and (ge (minus (match_dup 3) (pc)) (const_int -32768)) + (le (minus (match_dup 3) (pc)) (const_int 32764))) (const_int 4) (const_int 8)))]) ;; Floating point comparisons -- 2.47.3