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/] [execute/] [20021015-1.c] - Rev 308
Go to most recent revision | Compare with Previous | Blame | View Log
/* PR opt/7409. */ extern void abort (void); char g_list[] = { '1' }; void g (void *p, char *list, int length, char **elementPtr, char **nextPtr) { if (*nextPtr != g_list) abort (); **nextPtr = 0; } int main (void) { char *list = g_list; char *element; int i, length = 100; for (i = 0; *list != 0; i++) { char *prevList = list; g (0, list, length, &element, &list); length -= (list - prevList); } return 0; }
Go to most recent revision | Compare with Previous | Blame | View Log