[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#134262: g++-3.0: Use of dynamic_cast makes compiled program segfault



Daniel Sjölie <deepone@acc.umu.se> writes:

> Not sure, not my code, but would gdb say this if it wasn't true?
> > > (gdb) print _ptr
> > > $5 = (Object *) 0x808f170

It certainly would. gdb just reports what the compiler (and thus the
code) claims to be the static type of the pointer.

Regards,
Martin



Reply to: