------- Comment #3 from bangerth at dealii dot org  2006-09-15 13:49 -------
Confirmed. This is the valid testcase:
--------------------
struct Base {
 template<class C> void method() { }
};

struct Left : public Base { };
struct Right : public Base { };
struct Join : public Left, public Right { };

void function()
{
 Join join;
 join.Left::method<int>();
}
----------------------

and this is what we get from 4.1 branch:

g/x> /home/bangerth/bin/gcc-4.1.x/bin/c++ -c x.cc
x.cc: In function 'void function()':
x.cc:12: internal compiler error: in build_base_path, at cp/class.c:273
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 


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

Reply via email to