This is the mail archive of the
mailing list for the GCC project.
Re: [RFC] Unused variable in profile.c
On Tue, Mar 10, 2009 at 12:58 PM, Edmar Wienskoski <email@example.com> wrote:
> I accidentally found that the local variable
> in function compute_branch_probabilities, is initialized to zero
> and never gets modified after that.
> I suppose the statement in line 603:
> num_branches++, num_never_executed;
> was intended to be:
> num_branches++, num_never_executed++;
> Right ?
Looks that way. It is only used for dump files so it will not change
the code generation and looks like it is obvious change.