re PR bootstrap/49383 (powerpc64-linux bootstrap failure due to ice in cgraph_only_ca...
authorAlan Modra <amodra@gmail.com>
Thu, 23 Jun 2011 02:21:01 +0000 (11:51 +0930)
committerAlan Modra <amodra@gcc.gnu.org>
Thu, 23 Jun 2011 02:21:01 +0000 (11:51 +0930)
PR bootstrap/49383
* config/rs6000/rs6000.c (call_ABI_of_interest): Adjust cgraph
invocation for 2011-06-09 changes.

From-SVN: r175328

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

index d4ee63b825df15852eb0c93d1a5cb7be675460be..059d71639077d5562a0e8ed7dc2150e9e9352c10 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 cea1650ac61dd5f45b5de8e9ece864a8f84327bf..b21cb7f37a94e9cd676a79831cc91cf8501e8fd8 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;