This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/45088] pointer type information lost in debuginfo


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45088

--- Comment #6 from Dodji Seketeli <dodji at gcc dot gnu.org> 2010-11-11 15:43:17 UTC ---
I believe this is a smaller reproducer (the type of *a1 is not present
in debug info):

struct A
{
    virtual ~A();
};

struct B : public A
{
    virtual ~B(){}
};

struct C : public B
{
    A* a1;
};

int
main()
{
    C c;
    c.a1 = 0;
    return 0;
}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]