gcc/testsuite/gcc.c-torture/compile/20031125-2.c
raw| 1 | struct BlobSpan { |
| 2 | int right; |
| 3 | }; |
| 4 | /* This test makes sure we don't accidentally cause a bad insertion to occur |
| 5 | by choosing the wrong variable name so that we end up with a use not |
| 6 | dominated by a def. */ |
| 7 | void render_blob_line(struct BlobSpan blobdata) { |
| 8 | int buf[4 * 8]; |
| 9 | int *data = buf; |
| 10 | int i, n = 0; |
| 11 | if (blobdata.right) |
| 12 | n++; |
| 13 | if (n) |
| 14 | for (; i < 2 * n;) |
| 15 | data[i] = 0; |
| 16 | n *= 2; |
| 17 | for (; n;) ; |
| 18 | } |