http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50836

             Bug #: 50836
           Summary: [4.7 regression] bootstrap fails due to error: no
                    previous prototype for 'find_all_hard_reg_sets'
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: mi...@it.uu.se


gcc-4.7-20111022 failed to bootstrap on i686-linux for me due to:

/mnt/scratch/objdir47/./prev-gcc/xgcc -B/mnt/scratch/objdir47/./prev-gcc/
-B/mnt/scratch/install47/i686-pc-linux-gnu/bin/
-B/mnt/scratch/install47/i686-pc-linux-gnu/bin/
-B/mnt/scratch/install47/i686-pc-linux-gnu/lib/ -isystem
/mnt/scratch/install47/i686-pc-linux-gnu/include -isystem
/mnt/scratch/install47/i686-pc-linux-gnu/sys-include    -c   -g -O2 -gtoggle
-DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Werror -Wold-style-definition
-Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I/mnt/scratch/gcc-4.7-20111022/gcc
-I/mnt/scratch/gcc-4.7-20111022/gcc/.
-I/mnt/scratch/gcc-4.7-20111022/gcc/../include
-I/mnt/scratch/gcc-4.7-20111022/gcc/../libcpp/include
-I/home/mikpe/pkgs/linux-x86/gmp-5.0.2/include
-I/home/mikpe/pkgs/linux-x86/mpfr-3.0.1/include
-I/home/mikpe/pkgs/linux-x86/mpc-0.9/include 
-I/mnt/scratch/gcc-4.7-20111022/gcc/../libdecnumber
-I/mnt/scratch/gcc-4.7-20111022/gcc/../libdecnumber/bid -I../libdecnumber   
/mnt/scratch/gcc-4.7-20111022/gcc/rtlanal.c -o rtlanal.o
/mnt/scratch/gcc-4.7-20111022/gcc/rtlanal.c:1017:1: error: no previous
prototype for 'find_all_hard_reg_sets' [-Werror=missing-prototypes]
cc1: all warnings being treated as errors

make[3]: *** [rtlanal.o] Error 1
make[3]: Leaving directory `/mnt/scratch/objdir47/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory `/mnt/scratch/objdir47'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/mnt/scratch/objdir47'
make: *** [bootstrap] Error 2

gcc-4.7-20111015 built Ok on that machine.

Configured as:
/mnt/scratch/gcc-4.7-20111022/configure --prefix=/mnt/scratch/install47
--with-gmp=/home/mikpe/pkgs/linux-x86/gmp-5.0.2
--with-mpfr=/home/mikpe/pkgs/linux-x86/mpfr-3.0.1
--with-mpc=/home/mikpe/pkgs/linux-x86/mpc-0.9 --disable-plugin --disable-lto
--disable-nls --enable-threads=posix --enable-checking=release
--disable-libmudflap --enable-languages=c,c++,objc,obj-c++,java,fortran,ada
--disable-build-poststage1-with-cxx

Reply via email to