From: Jan Hubicka Date: Mon, 8 Jan 2007 22:02:26 +0000 (+0100) Subject: * ipa.c (function_and_variable_visibility): Fix return type. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4e2603091d1c2219e164add062668de72109515f;p=gcc.git * ipa.c (function_and_variable_visibility): Fix return type. From-SVN: r120590 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4935becade5..df844328b80 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,6 +1,7 @@ 2007-01-08 Jan Hubicka * tree-vectorizer.c (gate_increase_alignment): Fix return type. + * ipa.c (function_and_variable_visibility): Fix return type. 2007-01-08 Richard Guenther 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 =