OSDN Git Service

* gcc.c-torture/compile/pr11832.c: XFAIL for mips and powerpc-linux,
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / compile / 20031125-2.c
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3 struct BlobSpan {
4         int right;
5 };
6 /* This test makes sure we don't accidently cause a bad insertion to occur
7    by choosing the wrong variable name so that we end up with a use not
8    dominated by a def. */
9 void render_blob_line(struct BlobSpan blobdata) {
10         int buf[4 * 8];
11         int *data = buf;
12         int i, n = 0;
13         if (blobdata.right)
14                 n++;
15         if (n)
16                 for (; i < 2 * n;)
17                         data[i] = 0;
18         n *= 2;
19         for (; n;) ;
20 }