diff options
author | Jan Hubicka <jh@suse.cz> | 2013-08-31 15:37:48 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2013-08-31 13:37:48 +0000 |
commit | 57292ce9bd9df2ff43d3cb13f3761b6eb5cf6334 (patch) | |
tree | ca37b194755d7426d5a89880e080fa72f1f9ed3b /gcc/cgraph.c | |
parent | b9cbfeeb51d8e4ba5973611654cbca02d240a7b7 (diff) | |
download | gcc-57292ce9bd9df2ff43d3cb13f3761b6eb5cf6334.zip gcc-57292ce9bd9df2ff43d3cb13f3761b6eb5cf6334.tar.gz gcc-57292ce9bd9df2ff43d3cb13f3761b6eb5cf6334.tar.bz2 |
* cgraph.c (cgraph_speculative_call_info): Fix ref lookup
From-SVN: r202129
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r-- | gcc/cgraph.c | 2 |
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; |