URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20010116-1.c] - Rev 154
Compare with Previous | Blame | View Log
/* Distilled from optimization/863. */ extern void abort (void); extern void exit (int); extern void ok (int); typedef struct { int x, y, z; } Data; void find (Data *first, Data *last) { int i; for (i = (last - first) >> 2; i > 0; --i) ok(i); abort (); } void ok(int i) { if (i != 1) abort (); exit (0); } int main () { Data DataList[4]; find (DataList + 0, DataList + 4); }