* ipa.c (function_and_variable_visibility): Fix return type.
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Jan 2007 22:02:26 +0000 (22:02 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Jan 2007 22:02:26 +0000 (22:02 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120590 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/ipa.c

index 4935bec..df84432 100644 (file)
@@ -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>
 
index 68e65a9..572b5f9 100644 (file)
--- 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 =