cgraph.c (cgraph_create_edge_1): Avoid uninitialized read of speculative flag.
* cgraph.c (cgraph_create_edge_1): Avoid uninitialized read of speculative flag. From-SVN: r202740
This commit is contained in:
parent
4befd127ca
commit
188c7d00e6
|
@ -1,3 +1,8 @@
|
|||
2013-09-19 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* cgraph.c (cgraph_create_edge_1): Avoid uninitialized read
|
||||
of speculative flag.
|
||||
|
||||
2013-09-19 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* omp-low.c (expand_omp_sections): Always pass len - 1 to
|
||||
|
|
|
@ -870,12 +870,12 @@ cgraph_create_edge_1 (struct cgraph_node *caller, struct cgraph_node *callee,
|
|||
edge->call_stmt_cannot_inline_p = true;
|
||||
else
|
||||
edge->call_stmt_cannot_inline_p = false;
|
||||
if (call_stmt && caller->call_site_hash)
|
||||
cgraph_add_edge_to_call_site_hash (edge);
|
||||
|
||||
edge->indirect_info = NULL;
|
||||
edge->indirect_inlining_edge = 0;
|
||||
edge->speculative = false;
|
||||
if (call_stmt && caller->call_site_hash)
|
||||
cgraph_add_edge_to_call_site_hash (edge);
|
||||
|
||||
return edge;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue