gcc/testsuite/gcc.c-torture/compile/20070121.c
raw| 1 | /* PR rtl-optimization/29329 */ |
| 2 | /* Origin: Debian GCC Maintainers <[email protected]> */ |
| 3 | /* Testcase by: Andrew Pinski <[email protected]> */ |
| 4 | |
| 5 | struct node234_Tag |
| 6 | { |
| 7 | int t1; |
| 8 | int kids[4]; |
| 9 | void *elems[3]; |
| 10 | }; |
| 11 | |
| 12 | void *add234_internal(struct node234_Tag *n, int ei) |
| 13 | { |
| 14 | int j; |
| 15 | for (j = ei; j < 2 && n->elems[j+1];) |
| 16 | j++; |
| 17 | n->kids[j+1] = 0; |
| 18 | } |