diff options
author | kyukhin <kyukhin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-14 08:45:45 +0000 |
---|---|---|
committer | kyukhin <kyukhin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-14 08:45:45 +0000 |
commit | 7746e0786fb57e689e77d6d06a768f1c198a65e7 (patch) | |
tree | 4badff2942685b150b3b6856fd94ada6d7954475 /gcc/cgraph.c | |
parent | a453488bffbc636d51df33645967016e045c03a5 (diff) | |
download | gcc-7746e0786fb57e689e77d6d06a768f1c198a65e7.tar.gz |
gcc/
* cgraph.c (cgraph_node::function_symbol): Fix wrong
cgraph_function_node to cgraph_node::function_symbol
refactoring.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213946 138bc75d-0d04-0410-961f-82ee72b054a4
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 5a0b9033c25..370a96a4bb1 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; |