diff options
| -rw-r--r-- | gcc/ChangeLog | 1 | ||||
| -rw-r--r-- | gcc/ipa.c | 3 |
2 files changed, 3 insertions, 1 deletions
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 <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 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 = |

