Bootstrap is broken on x86_64, comparison between signed and unsigned in optabs.c
Uros Bizjak
ubizjak@gmail.com
Thu Jul 5 18:49:00 GMT 2007
Uros Bizjak wrote:
> gcc Revision: 126372, bootstrap from clean directory breaks with:
>
> /home/uros/gcc-build/./prev-gcc/xgcc
> -B/home/uros/gcc-build/./prev-gcc/
> -B/usr/local/x86_64-unknown-linux-gnu/bin/ -c -g -O2 -DIN_GCC -W -Wall
> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
> -Wold-style-definition -Wmissing-format-attribute -pedantic
> -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror
> -fno-common -DHAVE_CONFIG_H -I. -I. -I../../gcc-svn/trunk/gcc
> -I../../gcc-svn/trunk/gcc/. -I../../gcc-svn/trunk/gcc/../include
> -I../../gcc-svn/trunk/gcc/../libcpp/include
> -I../../gcc-svn/trunk/gcc/../libdecnumber
> -I../../gcc-svn/trunk/gcc/../libdecnumber/bid -I../libdecnumber
> ../../gcc-svn/trunk/gcc/optabs.c -o optabs.o
> cc1: warnings being treated as errors
> ../../gcc-svn/trunk/gcc/optabs.c: In function ‘expand_binop’:
> ../../gcc-svn/trunk/gcc/optabs.c:1463: error: comparison between
> signed and unsigned
> gmake[3]: *** [optabs.o] Error 1
> gmake[3]: *** Waiting for unfinished jobs....
> rm fsf-funding.pod gcov.pod gfdl.pod cpp.pod gpl.pod gfortran.pod gcc.pod
> gmake[3]: Leaving directory `/home/uros/gcc-build/gcc'
> gmake[2]: *** [all-stage2-gcc] Error 2
> gmake[2]: Leaving directory `/home/uros/gcc-build'
> gmake[1]: *** [stage2-bubble] Error 2
> gmake[1]: Leaving directory `/home/uros/gcc-build'
> gmake: *** [all] Error 2
>
> It must be very recent change.
Broken by:
2007-07-05 Sandra Loosemore <sandra@codesourcery.com>
David Ung <davidu@mips.com>
Add support for SmartMIPS ASE.
* optabs.c (expand_binop_directly): New, broken out from...
(expand_binop): Here. Make it try rotating in the other
direction even when the second operand isn't constant.
...
Uros.
>
> Uros.
>
More information about the Gcc
mailing list