You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

bofsa.for-loop.c 534 B

3 years ago
12345678910111213141516171819202122232425262728
  1. int a[32];
  2. int bar()
  3. {
  4. int label;
  5. int i;
  6. for(i=0;a[i]!=0 && i<32; i++); //#1bug-5#
  7. return a[i]; //#1bug-5#
  8. }
  9. char arr[64];
  10. int foo( unsigned int inlen ) {
  11. unsigned char loop, offset;
  12. /* Test handling of casts around add-rec */
  13. while( inlen-- ) {
  14. for( loop=0, offset=0; loop < 16; loop++, offset += 4 ) {
  15. arr[offset] = 0;
  16. arr[offset+1] = 1;
  17. arr[offset+2] = 2;
  18. arr[offset+3] = 3;
  19. }
  20. arr[offset] = 0; //#1bug-5#
  21. }
  22. return 0;
  23. }

No Description

Contributors (1)