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 c++/18436] [3.4/4.0 Regression] ICE in perform_or_defer_access_check (binfo is NULL)


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-11-12 10:22 -------
Reduced testcase:

=====================================
struct A
{
    static void foo(A);
};

struct B
{
    friend void foo(B);
};

template<typename T> struct C : T
{
    C() { foo(T()); }
};

C<A> c;
=====================================


-- 


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


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