OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20031125-2.c] - Blame information for rev 868

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* { 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
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.