Patch broke bootstrap on i386.

Nathanael Nerode neroden@twcny.rr.com
Wed Jun 18 23:59:00 GMT 2003


Bootstrap is failing in stage 2 building host-default.o on 
i686-pc-linux-gnu with this error:

In file included from ../../gcc-main/gcc/host-default.c:26:
../../gcc-main/gcc/hooks.h:26: warning: ISO C forbids forward references 
to `enum' types

Line 26 is:
enum reg_class hook_reg_class_void_no_regs (void);

I'm pretty sure it's your patch:

2003-06-18  Stephen Clarke <stephen.clarke@superh.com>
            J"orn Rennecke <joern.rennecke@superh.com>

        * bt-load.c: New file.
        * Makefile.in (OBJS): Include bt-load.o
        (bt-load.o): Add dependencies.
        * flags.h (flag_branch_target_load_optimize): Declare.
        (flag_branch_target_load_optimize2): Likewise.
        * hooks.c (hook_reg_class_void_no_regs): New function.
        (hook_bool_bool_false): Likewise.
        * hooks.h (hook_reg_class_void_no_regs, hook_bool_bool_false): Declare.
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^
<snip>

Hope you can fix this soon. :-P

-- 
Nathanael Nerode  <neroden at gcc.gnu.org>
Don't use the GNU FDL for free documentation.  See
<http://home.twcny.rr.com/nerode/neroden/fdl.html>



More information about the Gcc mailing list