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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [unsorted/] [BUG21.c] - Blame information for rev 308

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

Line No. Rev Author Line
1 297 jeremybenn
typedef struct {
2
        int knock_on_wood;              /* leave it out and it works. */
3
        int f1;
4
} FOO;
5
 
6
typedef struct {
7
        FOO *b1;
8
} BAR;
9
 
10
Nase ()
11
{
12
        int i, j;
13
        FOO *foop;
14
        BAR *barp;
15
 
16
        for (i = 0; i < 2; i++) {
17
                foop = &barp->b1[i];
18
                for (j = 0; j < foop->f1; j++) {
19
                        /* dummy() */;          /* put it in and it works. */
20
                }
21
        }
22
}

powered by: WebSVN 2.1.0

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