From 1d3ad4d0b0eafa4c7182f41077b6bfa1d8bc53c8 Mon Sep 17 00:00:00 2001 From: Jie Zhang Date: Thu, 3 Sep 2009 15:48:16 +0000 Subject: * config/bfin-parse.y (asm_1): Fix a typo. testsuite/ * gas/bfin/expected_comparison_errors.l: Expect error on Line 13. --- gas/config/bfin-parse.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gas/config') diff --git a/gas/config/bfin-parse.y b/gas/config/bfin-parse.y index 719edaf..81bfef8 100644 --- a/gas/config/bfin-parse.y +++ b/gas/config/bfin-parse.y @@ -1643,7 +1643,7 @@ asm_1: | CCREG ASSIGN REG _ASSIGN_ASSIGN REG { if ((IS_DREG ($3) && IS_DREG ($5)) - || (IS_PREG ($3) && IS_PREG ($3))) + || (IS_PREG ($3) && IS_PREG ($5))) { notethat ("CCflag: CC = dpregs == dpregs\n"); $$ = CCFLAG (&$3, $5.regno & CODE_MASK, 0, 0, IS_PREG ($3) ? 1 : 0); -- cgit v1.1