aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2011-06-23 11:51:01 +0930
committerAlan Modra <amodra@gcc.gnu.org>2011-06-23 11:51:01 +0930
commit6aad1e387ffc71cc2027f0d22fc21e2eb86e040f (patch)
tree86f977546fa940705ea5ed1444c18d6f5ef8d2b1 /gcc
parentba704178c08148fe9eafbc2bec4f211342f98abc (diff)
downloadgcc-6aad1e387ffc71cc2027f0d22fc21e2eb86e040f.zip
gcc-6aad1e387ffc71cc2027f0d22fc21e2eb86e040f.tar.gz
gcc-6aad1e387ffc71cc2027f0d22fc21e2eb86e040f.tar.bz2
re PR bootstrap/49383 (powerpc64-linux bootstrap failure due to ice in cgraph_only_called_directly_p)
PR bootstrap/49383 * config/rs6000/rs6000.c (call_ABI_of_interest): Adjust cgraph invocation for 2011-06-09 changes. From-SVN: r175328
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/rs6000/rs6000.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d4ee63b..059d716 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index cea1650..b21cb7f 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -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;