This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/29286] [4.0/4.1/4.2/4.3 Regression] placement new does not change the dynamic type as it should
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 May 2007 11:11:04 -0000
- Subject: [Bug libstdc++/29286] [4.0/4.1/4.2/4.3 Regression] placement new does not change the dynamic type as it should
- References: <bug-29286-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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