aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog1
-rw-r--r--gcc/ipa.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4935bec..df84432 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,6 +1,7 @@
2007-01-08 Jan Hubicka <jh@suse.cz>
* tree-vectorizer.c (gate_increase_alignment): Fix return type.
+ * ipa.c (function_and_variable_visibility): Fix return type.
2007-01-08 Richard Guenther <rguenther@suse.de>
diff --git a/gcc/ipa.c b/gcc/ipa.c
index 68e65a9..572b5f9 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 =