+Tue May 21 10:51:54 CEST 2002 Jan Hubicka <jh@suse.cz>
+
+ * profile.c (gen_edge_profiler): Set alias set before the memory is
+ used.
+
2002-05-20 David S. Miller <davem@redhat.com>
* cselib.c (max_value_regs): New.
free (profile);
return 0;
}
+ if (rtl_dump_file)
+ {
+ fprintf(rtl_dump_file, "Merged %i profiles with maximal count %i.\n",
+ profile_info.count_profiles_merged,
+ (int)profile_info.max_counter_in_program);
+ }
return profile;
}
tmp = plus_constant (tmp, GCOV_TYPE_SIZE / BITS_PER_UNIT * edgeno);
mem_ref = validize_mem (gen_rtx_MEM (mode, tmp));
+ set_mem_alias_set (mem_ref, new_alias_set ());
+
tmp = expand_simple_binop (mode, PLUS, mem_ref, const1_rtx,
mem_ref, 0, OPTAB_WIDEN);
- set_mem_alias_set (mem_ref, new_alias_set ());
-
if (tmp != mem_ref)
emit_move_insn (copy_rtx (mem_ref), tmp);