> > 
> > > >`/rb.exphome/tools/gcc/obj-i686-pc-linux-gnu/gcc'
> > > >make[2]: *** [all-stage2-gcc] Error 2
> > > >make[2]: Leaving directory `/rb.exphome/tools/gcc/obj-i686-pc-linux-gnu'
> > > >make[1]: *** [stage2-bubble] Error 2
> > > >make[1]: Leaving directory `/rb.exphome/tools/gcc/obj-i686-pc-linux-gnu'
> > > >make: *** [bootstrap] Error 2
> > > 
> > > That's honza's patch - but bootstrap doesn't abort for me at that point.
> > 
> > Hi,
> > I've comited the obvious fix. Sorry for that.  I wonder why the
> > bootstrap doesn't fail on all targets?
> 
> This only fixes on of the problems, the other one is 
> function_and_variable_visibility needs to return unsigned int and 0.
> This fixes an ICE building libgcc for spu-elf on powerpc-linux-gnu.

Hi,
I've commit the obvious fix too and I doubly apologize for the problems.
I've doublechecked that the patch tested ineed was the same as comitted
and it is the case.  I don't see how it can possibly pass -Werror
bootstrap, will investigate it tomorrow.

Hope that all bootstraps are fine now!

Index: ChangeLog
===================================================================
--- ChangeLog   (revision 120589)
+++ ChangeLog   (working copy)
@@ -1,6 +1,7 @@
 2007-01-08  Jan Hubicka  <[EMAIL PROTECTED]>
 
        * tree-vectorizer.c (gate_increase_alignment): Fix return type.
+       * ipa.c (function_and_variable_visibility): Fix return type.
 
 2007-01-08  Richard Guenther  <[EMAIL PROTECTED]>
 
Index: ipa.c
===================================================================
--- ipa.c       (revision 120580)
+++ ipa.c       (working copy)
@@ -220,7 +220,7 @@ cgraph_remove_unreachable_nodes (bool be
    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 = 

Reply via email to