Commit b96ada87 by Mark Mitchell Committed by Mark Mitchell

optimize.c (maybe_clone_body): Copy TREE_PUBLIC before emitting the clone.

	* optimize.c (maybe_clone_body): Copy TREE_PUBLIC before emitting
	the clone.

From-SVN: r41564
parent 4bb7ff6d
2001-04-25 Mark Mitchell <mark@codesourcery.com>
* optimize.c (maybe_clone_body): Copy TREE_PUBLIC before emitting
the clone.
2001-04-25 Nathan Sidwell <nathan@codesourcery.com>
* decl.c (grokdeclarator): Set context of namespace scope
......
......@@ -1051,6 +1051,7 @@ maybe_clone_body (fn)
DECL_EXTERNAL (clone) = DECL_EXTERNAL (fn);
DECL_INTERFACE_KNOWN (clone) = DECL_INTERFACE_KNOWN (fn);
DECL_NOT_REALLY_EXTERN (clone) = DECL_NOT_REALLY_EXTERN (fn);
TREE_PUBLIC (clone) = TREE_PUBLIC (fn);
/* Start processing the function. */
push_to_top_level ();
......
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