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++/3761] ICE in check_template_shadow, at cp/pt.c:2013, with friend and strange class hierarchy


------- Additional Comments From giovannibajo at libero dot it  2004-01-20 02:03 -------
I think the patch should be changed slightly. check_template_shadow handles 
declarations (so maybe we could even add a my_friendly_assert about it), so 
it's just invalid to pass it a TREE_LIST only because it's what we have around. 
I think this should be lowered in push_class_level_binding, which, on the 
contrary, is ready to handle a TREE_LIST.

Scott, can you prepare and test an updated patch? Or should I?

-- 


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


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