------- Comment #5 from redi at gcc dot gnu dot org  2010-08-04 14:29 -------
reduced

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*


-- 


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

Reply via email to