From a3e19be6b06e8ca103708f035ea4ee1bc154cbe1 Mon Sep 17 00:00:00 2001 From: Maxim Kuvyrkov Date: Fri, 9 May 2008 15:44:15 +0000 Subject: [PATCH] * rtl-factoring.c (collect_pattern_seqs): Fix typo. From-SVN: r135115 --- gcc/ChangeLog | 4 ++++ gcc/rtl-factoring.c | 10 +++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9c2f7617c6a..68709124a6e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2008-05-09 Maxim Kuvyrkov + + * rtl-factoring.c (collect_pattern_seqs): Fix typo. + 2008-05-09 Tomas Bily * config/pa/pa.c (reloc_needed): Use CASE_CONVERT. diff --git a/gcc/rtl-factoring.c b/gcc/rtl-factoring.c index 8882f0f6e48..c874fa44c20 100644 --- a/gcc/rtl-factoring.c +++ b/gcc/rtl-factoring.c @@ -444,7 +444,7 @@ collect_pattern_seqs (void) htab_iterator hti0, hti1, hti2; p_hash_bucket hash_bucket; p_hash_elem e0, e1; -#if defined STACK_REGS || defined HAVE_CC0 +#if defined STACK_REGS || defined HAVE_cc0 basic_block bb; bitmap_head dont_collect; @@ -495,7 +495,7 @@ collect_pattern_seqs (void) } #endif -#ifdef HAVE_CC0 +#ifdef HAVE_cc0 /* Mark CC0 setters and users as ineligible for collection into sequences. This is an over-conservative fix, since it is OK to include a cc0_setter, but only if we also include the corresponding cc0_user, @@ -515,7 +515,7 @@ collect_pattern_seqs (void) } #endif -#endif /* defined STACK_REGS || defined HAVE_CC0 */ +#endif /* defined STACK_REGS || defined HAVE_cc0 */ /* Initialize PATTERN_SEQS to empty. */ pattern_seqs = 0; @@ -529,13 +529,13 @@ collect_pattern_seqs (void) FOR_EACH_HTAB_ELEMENT (hash_bucket->seq_candidates, e1, p_hash_elem, hti2) if (e0 != e1 -#if defined STACK_REGS || defined HAVE_CC0 +#if defined STACK_REGS || defined HAVE_cc0 && !bitmap_bit_p (&dont_collect, INSN_UID (e0->insn)) && !bitmap_bit_p (&dont_collect, INSN_UID (e1->insn)) #endif ) match_seqs (e0, e1); -#if defined STACK_REGS || defined HAVE_CC0 +#if defined STACK_REGS || defined HAVE_cc0 /* Free unused data. */ bitmap_clear (&dont_collect); #endif -- 2.30.2