OSDN Git Service

PR bootstrap/49383
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Jun 2011 02:21:01 +0000 (02:21 +0000)
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Jun 2011 02:21:01 +0000 (02:21 +0000)
* config/rs6000/rs6000.c (call_ABI_of_interest): Adjust cgraph
invocation for 2011-06-09 changes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175328 138bc75d-0d04-0410-961f-82ee72b054a4

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

index d4ee63b..059d716 100644 (file)
@@ -1,3 +1,9 @@
+2011-06-23  Alan Modra  <amodra@gmail.com>
+
+       PR bootstrap/49383
+       * config/rs6000/rs6000.c (call_ABI_of_interest): Adjust cgraph
+       invocation for 2011-06-09 changes.
+
 2011-06-22  Jakub Jelinek  <jakub@redhat.com>
 
        PR libgomp/49490
index cea1650..b21cb7f 100644 (file)
@@ -7430,6 +7430,7 @@ call_ABI_of_interest (tree fndecl)
 
       /* Interesting functions that we are emitting in this object file.  */
       c_node = cgraph_get_node (fndecl);
+      c_node = cgraph_function_or_thunk_node (c_node, NULL);
       return !cgraph_only_called_directly_p (c_node);
     }
   return false;