diff options
author | Maxim Kuvyrkov <maxim@codesourcery.com> | 2008-05-09 15:44:15 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <mkuvyrkov@gcc.gnu.org> | 2008-05-09 15:44:15 +0000 |
commit | a3e19be6b06e8ca103708f035ea4ee1bc154cbe1 (patch) | |
tree | 5be502ac253b9466216741ea804b2153e328266b /gcc | |
parent | 1043771b10c5aba87e0dd41169cc6b4b790c59f4 (diff) | |
download | gcc-a3e19be6b06e8ca103708f035ea4ee1bc154cbe1.zip gcc-a3e19be6b06e8ca103708f035ea4ee1bc154cbe1.tar.gz gcc-a3e19be6b06e8ca103708f035ea4ee1bc154cbe1.tar.bz2 |
* rtl-factoring.c (collect_pattern_seqs): Fix typo.
From-SVN: r135115
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/rtl-factoring.c | 10 |
2 files changed, 9 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9c2f761..68709124 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2008-05-09 Maxim Kuvyrkov <maxim@codesourcery.com> + + * rtl-factoring.c (collect_pattern_seqs): Fix typo. + 2008-05-09 Tomas Bily <tbily@suse.cz> * config/pa/pa.c (reloc_needed): Use CASE_CONVERT. diff --git a/gcc/rtl-factoring.c b/gcc/rtl-factoring.c index 8882f0f..c874fa4 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 |