[Bug ipa/92971] New: Suspicious code in cgraph_edge_brings_all_agg_vals_for_node(), ipa-cp.c
fxue at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 17 10:40:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92971
Bug ID: 92971
Summary: Suspicious code in
cgraph_edge_brings_all_agg_vals_for_node(), ipa-cp.c
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ipa
Assignee: unassigned at gcc dot gnu.org
Reporter: fxue at gcc dot gnu.org
CC: marxin at gcc dot gnu.org
Target Milestone: ---
The variable "values" is defined as static, which makes a questionable side
effect. History calls will impact result of current call!
for (i = 0; i < count; i++)
{
static vec<ipa_agg_value> values = vNULL;
class ipcp_param_lattices *plats;
More information about the Gcc-bugs
mailing list