Commit 4e7feced by Andrew Pinski Committed by Andrew Pinski

part of PR objc/21992

2005-08-09  Andrew Pinski  <pinskia@physics.uc.edu>

        part of PR objc/21992
        * objc-act.c (handle_class_ref): The ref decl is always referenced.

From-SVN: r102920
parent 18a6e93f
2005-08-09 Andrew Pinski <pinskia@physics.uc.edu>
part of PR objc/21992
* objc-act.c (handle_class_ref): The ref decl is always referenced.
2005-07-20 Giovanni Bajo <giovannibajo@libero.it>
Make CONSTRUCTOR use VEC to store initializers.
......
......@@ -9303,6 +9303,8 @@ handle_class_ref (tree chain)
DECL_INITIAL (decl) = exp;
TREE_STATIC (decl) = 1;
TREE_USED (decl) = 1;
/* Force the output of the decl as this forces the reference of the class. */
mark_decl_referenced (decl);
pushdecl (decl);
rest_of_decl_compilation (decl, 0, 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment