diff options
author | Pat Haugen <pthaugen@us.ibm.com> | 2011-04-12 20:59:41 +0000 |
---|---|---|
committer | Pat Haugen <pthaugen@gcc.gnu.org> | 2011-04-12 20:59:41 +0000 |
commit | ed940a4ab9140594b6e42fcf74818535bec5ada7 (patch) | |
tree | 7eab109498a3723e68951c482b69f8219ffb8fea | |
parent | 44720bef9d5a11cf39c1eabbeb2c0739d0504ef8 (diff) | |
download | gcc-ed940a4ab9140594b6e42fcf74818535bec5ada7.zip gcc-ed940a4ab9140594b6e42fcf74818535bec5ada7.tar.gz gcc-ed940a4ab9140594b6e42fcf74818535bec5ada7.tar.bz2 |
rs6000.c (call_ABI_of_interest): Call cgraph_get_create_node instead of cgraph_node.
* config/rs6000/rs6000.c (call_ABI_of_interest): Call
cgraph_get_create_node instead of cgraph_node.
From-SVN: r172345
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6d07d40..bc53217 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-04-12 Pat Haugen <pthaugen@us.ibm.com> + + * config/rs6000/rs6000.c (call_ABI_of_interest): Call + cgraph_get_create_node instead of cgraph_node. + 2011-04-12 Nicola Pero <nicola.pero@meta-innovation.com> * c-parser.c (c_parser_initelt): Updated call to diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 4657ed3..1234cf6 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -7976,7 +7976,7 @@ call_ABI_of_interest (tree fndecl) return true; /* Interesting functions that we are emitting in this object file. */ - c_node = cgraph_node (fndecl); + c_node = cgraph_get_create_node (fndecl); return !cgraph_only_called_directly_p (c_node); } return false; |