@@ -636,7 +636,6 @@ S_find_span_end(U8 * s, const U8 * send, const U8 span_byte)
636636 + PERL_WORDSIZE * PERL_IS_SUBWORD_ADDR (s )
637637 - (PTR2nat (s ) & PERL_WORD_BOUNDARY_MASK ))
638638 {
639- PERL_UINTMAX_T span_word ;
640639
641640 /* Process per-byte until reach word boundary. XXX This loop could be
642641 * eliminated if we knew that this platform had fast unaligned reads */
@@ -648,7 +647,7 @@ S_find_span_end(U8 * s, const U8 * send, const U8 span_byte)
648647 }
649648
650649 /* Create a word filled with the bytes we are spanning */
651- span_word = PERL_COUNT_MULTIPLIER * span_byte ;
650+ PERL_UINTMAX_T span_word = PERL_COUNT_MULTIPLIER * span_byte ;
652651
653652 /* Process per-word as long as we have at least a full word left */
654653 do {
@@ -712,7 +711,6 @@ S_find_next_masked(U8 * s, const U8 * send, const U8 byte, const U8 mask)
712711 + PERL_WORDSIZE * PERL_IS_SUBWORD_ADDR (s )
713712 - (PTR2nat (s ) & PERL_WORD_BOUNDARY_MASK ))
714713 {
715- PERL_UINTMAX_T word , mask_word ;
716714
717715 while (PTR2nat (s ) & PERL_WORD_BOUNDARY_MASK ) {
718716 if (((* s ) & mask ) == byte ) {
@@ -721,8 +719,8 @@ S_find_next_masked(U8 * s, const U8 * send, const U8 byte, const U8 mask)
721719 s ++ ;
722720 }
723721
724- word = PERL_COUNT_MULTIPLIER * byte ;
725- mask_word = PERL_COUNT_MULTIPLIER * mask ;
722+ PERL_UINTMAX_T word = PERL_COUNT_MULTIPLIER * byte ;
723+ PERL_UINTMAX_T mask_word = PERL_COUNT_MULTIPLIER * mask ;
726724
727725 do {
728726 PERL_UINTMAX_T masked = (* (PERL_UINTMAX_T * ) s ) & mask_word ;
@@ -787,7 +785,6 @@ S_find_span_end_mask(U8 * s, const U8 * send, const U8 span_byte, const U8 mask)
787785 + PERL_WORDSIZE * PERL_IS_SUBWORD_ADDR (s )
788786 - (PTR2nat (s ) & PERL_WORD_BOUNDARY_MASK ))
789787 {
790- PERL_UINTMAX_T span_word , mask_word ;
791788
792789 while (PTR2nat (s ) & PERL_WORD_BOUNDARY_MASK ) {
793790 if (((* s ) & mask ) != span_byte ) {
@@ -796,8 +793,8 @@ S_find_span_end_mask(U8 * s, const U8 * send, const U8 span_byte, const U8 mask)
796793 s ++ ;
797794 }
798795
799- span_word = PERL_COUNT_MULTIPLIER * span_byte ;
800- mask_word = PERL_COUNT_MULTIPLIER * mask ;
796+ PERL_UINTMAX_T span_word = PERL_COUNT_MULTIPLIER * span_byte ;
797+ PERL_UINTMAX_T mask_word = PERL_COUNT_MULTIPLIER * mask ;
801798
802799 do {
803800 PERL_UINTMAX_T masked = (* (PERL_UINTMAX_T * ) s ) & mask_word ;
0 commit comments