summaryrefslogtreecommitdiff
path: root/gcc/ipa.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-08 22:02:26 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-08 22:02:26 +0000
commita757b4dcfdde5875a600c5dc834309130e1c4de4 (patch)
treeb95577f4f84bae57c4798cef5615e499f1320f9c /gcc/ipa.c
parent45e202527de9dfa991a6dd06ae8b53c3bb6fad22 (diff)
downloadgcc-a757b4dcfdde5875a600c5dc834309130e1c4de4.tar.gz
* ipa.c (function_and_variable_visibility): Fix return type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120590 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa.c')
-rw-r--r--gcc/ipa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/ipa.c b/gcc/ipa.c
index 68e65a9e80c..572b5f9b733 100644
--- a/gcc/ipa.c
+++ b/gcc/ipa.c
@@ -220,7 +220,7 @@ cgraph_remove_unreachable_nodes (bool before_inlining_p, FILE *file)
in language point of view but we want to overwrite this default
via visibilities for the backend point of view. */
-static void
+static unsigned int
function_and_variable_visibility (void)
{
struct cgraph_node *node;
@@ -272,6 +272,7 @@ function_and_variable_visibility (void)
fprintf (dump_file, "\n\n");
}
cgraph_function_flags_ready = true;
+ return 0;
}
struct tree_opt_pass pass_ipa_function_and_variable_visibility =