On Jan 26, 2006, at 4:05 PM, [EMAIL PROTECTED] wrote:
I really need correct profile information before PRE. By moving rest_of_handle_branch_prob() just before rest_of_handle_gcse() have I violated some critical assumptions which is causing the profile information to be occasionally corrupted ?
Yes; various CFG transformations before the profiling phase don't maintain the profiling info, because there isn't any. In gcc-4 the profiling phase has been moved much earlier and this information is maintained by the later transformations. Backporting all that logic to 3.4 might be possible, but is not easy. You're better off using gcc-4.