------- Comment #52 from rguenth at gcc dot gnu dot org 2007-05-12 12:11 ------- But I get
Program received signal SIGSEGV, Segmentation fault. 0x00000000006e646f in find_assert_locations (bb=0x2b56e8984480) at ../../trunk/gcc/tree-vrp.c:3193 3193 if (flag_delete_null_pointer_checks && POINTER_TYPE_P (TREE_TYPE (op))) (gdb) call debug_bb (bb) ;; basic block 3, loop depth 1, count 0 ;; prev block 2, next block 4 ;; pred: 6 [91.0%] (true,exec) ;; succ: 4 [85.0%] (true,exec) 5 [15.0%] (false,exec) <bb 3>: D.926012_14 = D.926053_23; <<<change_dynamic_type (struct Loc *) D.926018_15)>>> this_16 = __cur_1; if (__cur_1 != 0B) goto <bb 4>; else goto <bb 5> (<L9>); compiling tramp3d. Supposedly because we walk all USEs in the stmt and find (struct Loc *) which is not exactly a "use". -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29286