1 /* PR rtl-optimization/27616 */
2 /* Reported by Lee Ji Hwan <moonz@kaist.ac.kr> */
3 /* Testcase by Andrew Pinski <pinskia@gcc.gnu.org> */
11 typedef struct chunk_s chunk_t;
13 void foo(chunk_t *first)
19 first0 = (char *) first;
20 cur = (chunk_t *) (first0 + first->offset_next);
21 if ((chunk_t *) (first0 + cur->offset_next) != first)
24 first->offset_next = 0;
26 } while (cur->size != 0);