------- Additional Comments From rguenth at gcc dot gnu dot org 2005-08-29 12:13 ------- Try
Index: tree-ssa-structalias.c =================================================================== RCS file: /cvs/gcc/gcc/gcc/tree-ssa-structalias.c,v retrieving revision 2.27 diff -c -3 -p -r2.27 tree-ssa-structalias.c *** tree-ssa-structalias.c 14 Aug 2005 19:23:56 -0000 2.27 --- tree-ssa-structalias.c 29 Aug 2005 12:12:21 -0000 *************** do_simple_structure_copy (const struct c *** 2317,2322 **** --- 2317,2324 ---- q = get_varinfo (temprhs.var); fieldoffset = p->offset - pstart; q = first_vi_for_offset (q, q->offset + fieldoffset); + if (!q) + continue; temprhs.var = q->id; process_constraint (new_constraint (templhs, temprhs)); } to workaround this. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22488