rs6000.c (call_ABI_of_interest): Call cgraph_get_node instead of cgraph_get_create_node.
authorPat Haugen <pthaugen@us.ibm.com>
Fri, 15 Apr 2011 20:54:18 +0000 (20:54 +0000)
committerPat Haugen <pthaugen@gcc.gnu.org>
Fri, 15 Apr 2011 20:54:18 +0000 (20:54 +0000)
        * config/rs6000/rs6000.c (call_ABI_of_interest): Call
        cgraph_get_node instead of cgraph_get_create_node.

From-SVN: r172520

gcc/ChangeLog
gcc/config/rs6000/rs6000.c

index 3fe31ee42249e54e22356280c14ac212e326cba5..80ee78d41507ad2ba034782c7e868d4138ee8eb6 100644 (file)
@@ -1,3 +1,8 @@
+2011-04-15  Pat Haugen <pthaugen@us.ibm.com>
+
+       * config/rs6000/rs6000.c (call_ABI_of_interest): Call
+       cgraph_get_node instead of cgraph_get_create_node.
+
 2011-04-15  Jakub Jelinek  <jakub@redhat.com>
 
        * cfgexpand.c (expand_debug_expr): Use
index 1234cf6e212b97117bfbd8a3c43c12719fa28b92..8182bf0b70d2d989e3b5c15ee9dcb1ff24f94bdf 100644 (file)
@@ -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_get_create_node (fndecl);
+      c_node = cgraph_get_node (fndecl);
       return !cgraph_only_called_directly_p (c_node);
     }
   return false;