1 /* { dg-do compile } */
2 /* { dg-options "-mstrict-align -O3" } */
4 unsigned char foo(const unsigned char *buffer
, unsigned int length
)
9 for (sum
= 0, count
= 0; count
< length
; count
++) {
10 sum
= (unsigned char) (sum
+ *(buffer
+ count
));
16 /* { dg-final { scan-assembler-times "and\tw\[0-9\]+, w\[0-9\]+, 15" 1 } } */