summaryrefslogtreecommitdiff
path: root/gcc/bitmap.c
diff options
context:
space:
mode:
authordnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-13 06:41:07 +0000
committerdnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-13 06:41:07 +0000
commit4ee9c6840ad3fc92a9034343278a1e476ad6872a (patch)
treea2568888a519c077427b133de9ece5879a8484a5 /gcc/bitmap.c
parentebb338380ab170c91e64d38038e6b5ce930d69a1 (diff)
downloadgcc-4ee9c6840ad3fc92a9034343278a1e476ad6872a.tar.gz
Merge tree-ssa-20020619-branch into mainline.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81764 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/bitmap.c')
-rw-r--r--gcc/bitmap.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/bitmap.c b/gcc/bitmap.c
index 70e0a93d086..ebbb6ee805f 100644
--- a/gcc/bitmap.c
+++ b/gcc/bitmap.c
@@ -414,7 +414,9 @@ bitmap_first_set_bit (bitmap a)
#else
for (word_num = 0; word_num < BITMAP_ELEMENT_WORDS; ++word_num)
if ((word = ptr->bits[word_num]) != 0)
- break;
+ goto word_found;
+ abort ();
+ word_found:
#endif
/* Binary search for the first set bit. */
@@ -469,7 +471,9 @@ bitmap_last_set_bit (bitmap a)
#else
for (word_num = BITMAP_ELEMENT_WORDS; word_num-- > 0; )
if ((word = ptr->bits[word_num]) != 0)
- break;
+ goto word_found;
+ abort ();
+ word_found:
#endif
/* Binary search for the last set bit. */