gcc/testsuite/gcc.dg/pr24683.c
raw| 1 | /* { dg-do compile { target fpic } } */ |
| 2 | /* { dg-options "-O2 -fPIC" } */ |
| 3 | const int *block; |
| 4 | void final(unsigned int j) |
| 5 | { |
| 6 | unsigned int i; |
| 7 | const unsigned char *data = (const unsigned char *)"\0"; |
| 8 | for (i = 0; i < 8; i++) |
| 9 | for (; j + 63 < 1; j += 64) |
| 10 | block = (const int *) &data[j]; |
| 11 | } |