aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraph.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r--gcc/cgraph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c
index d895224..88d7d98 100644
--- a/gcc/cgraph.c
+++ b/gcc/cgraph.c
@@ -1151,7 +1151,7 @@ cgraph_speculative_call_info (struct cgraph_edge *e,
i, ref); i++)
if (ref->speculative
&& ((ref->stmt && ref->stmt == e->call_stmt)
- || (ref->lto_stmt_uid == e->lto_stmt_uid)))
+ || (!ref->stmt && ref->lto_stmt_uid == e->lto_stmt_uid)))
{
reference = ref;
break;