diff options
author | Ilya Enkovich <ilya.enkovich@intel.com> | 2014-08-14 08:45:45 +0000 |
---|---|---|
committer | Kirill Yukhin <kyukhin@gcc.gnu.org> | 2014-08-14 08:45:45 +0000 |
commit | 1113596f0677222c8b0ae2b67a2194236cbcab4a (patch) | |
tree | 4badff2942685b150b3b6856fd94ada6d7954475 /gcc/cgraph.c | |
parent | 4d2df0f4704665c047d84b195a5c1a2ba9b7a28b (diff) | |
download | gcc-1113596f0677222c8b0ae2b67a2194236cbcab4a.zip gcc-1113596f0677222c8b0ae2b67a2194236cbcab4a.tar.gz gcc-1113596f0677222c8b0ae2b67a2194236cbcab4a.tar.bz2 |
cgraph.c (cgraph_node::function_symbol): Fix wrong cgraph_function_node to cgraph_node::function_symbol refactoring.
gcc/
* cgraph.c (cgraph_node::function_symbol): Fix wrong
cgraph_function_node to cgraph_node::function_symbol
refactoring.
From-SVN: r213946
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r-- | gcc/cgraph.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c index 5a0b903..370a96a 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -3000,11 +3000,11 @@ cgraph_node::verify_cgraph_nodes (void) cgraph_node * cgraph_node::function_symbol (enum availability *availability) { - cgraph_node *node = NULL; + cgraph_node *node = this; do { - node = ultimate_alias_target (availability); + node = node->ultimate_alias_target (availability); if (node->thunk.thunk_p) { node = node->callees->callee; |