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/] [compile/] [pr16566-3.c] - Blame information for rev 399

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

Line No. Rev Author Line
1 297 jeremybenn
/* ICE with flexible arrays in non-lvalue structures.  Bug 16566
2
   (testcase from duplicate bug 16575).  */
3
 
4
struct S;
5
struct C {
6
    int i;
7
    struct S *tab[];
8
};
9
struct S { struct C c; };
10
void foo (struct S *x) {
11
  ((void)1, x->c).tab[0] = 0;
12
}

powered by: WebSVN 2.1.0

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