PR C++/11702
* semantics.c (finish_id_expression): Mark all functions as used.
From-SVN: r70514
+Sun Aug 17 10:05:38 CEST 2003 Jan Hubicka <jh@suse.cz>
+
+ PR C++/11702
+ * semantics.c (finish_id_expression): Mark all functions as used.
+
2003-08-16 Nathan Sidwell <nathan@codesourcery.com>
PR c++/11512
{
decl = (adjust_result_of_qualified_name_lookup
(decl, scope, current_class_type));
+
+ if (TREE_CODE (decl) == FUNCTION_DECL)
+ mark_used (decl);
+
if (TREE_CODE (decl) == FIELD_DECL || BASELINK_P (decl))
*qualifying_class = scope;
else if (!processing_template_decl)