On 09/07/2009 08:28 PM, Hayawardh V wrote:
+ gcov_ctr_fn_type = build_function_type_list(void_type_node,
gcov_type_ptr, NULL_TREE);
+
+ decl = build_decl(FUNCTION_DECL, get_identifier("__gcov_ctr"),
gcov_ctr_fn_type);
Well you certainly don't want to be generating a
different function decl fo
Reattaching patch if not received.
--- gcc-4.4.0/gcc/tree-profile.c2009-09-03 00:10:48.0 -0400
+++ gcc-4.4.0-gcov-ptr-src/gcc/tree-profile.c 2009-09-03
00:11:01.0 -0400
@@ -183,22 +183,25 @@
static void
tree_gen_edge_profiler (int edgeno, edge e)
{
- tree ref, one;
-