https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98671
Bug ID: 98671
Summary: gcc/config/i386/i386-options.c:787:redundantAssignment
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
trunk.git/gcc/config/i386/i386-options.c:787:28: style: Variable
'opts->x_ix86_branch_cost' is reassigned a value before the old one has been
used. [redundantAssignment]
Source code is
opts->x_ix86_branch_cost = ptr->branch_cost;
...
opts->x_ix86_branch_cost = ptr->x_ix86_branch_cost;
Suggest delete first assignment.