OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [unsorted/] [BUG21.c] - Rev 154

Compare with Previous | Blame | View Log

typedef struct {
	int knock_on_wood;		/* leave it out and it works. */
	int f1;
} FOO;
 
typedef struct {
	FOO *b1;
} BAR;
 
Nase ()
{
	int i, j;
	FOO *foop;
	BAR *barp;
 
	for (i = 0; i < 2; i++) {
		foop = &barp->b1[i];
		for (j = 0; j < foop->f1; j++) {
			/* dummy() */;		/* put it in and it works. */
		}
	}
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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