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/44645] [4.5 Regression] missing debug info for pointer types



------- Comment #6 from redi at gcc dot gnu dot org  2010-08-19 12:26 -------
(adjusting title to be more general)

testcase from dup Bug 45181

struct S { int f(S*); };

int S::f(S* p)
{
    return 0;
}

int main()
{
    S s;
    return s.f(&s);
}

within S::f p has type void*


Tom, CCing you as you've correctly identified this as a GCC 4.5 bug at
http://gcc.gnu.org/ml/libstdc++/2010-06/msg00159.html and
http://sourceware.org/bugzilla/show_bug.cgi?id=11639


-- 

redi at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at gcc dot gnu dot
                   |                            |org
      Known to fail|4.5.0                       |4.5.0 4.5.1
            Summary|[4.5 Regression] wrong debug|[4.5 Regression] missing
                   |info for nested typedef     |debug info for pointer types


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


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