This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Bootstrap broken for mipsel-linux: gcc/global.c:1020: error: array subscript is above array bounds
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: David Daney <ddaney at avtrex dot com>, jh at suse dot cz
- Cc: gcc at gcc dot gnu dot org, Richard Sandiford <rsandifo at nildram dot co dot uk>
- Date: Sat, 19 Jan 2008 23:59:39 -0800
- Subject: Re: Bootstrap broken for mipsel-linux: gcc/global.c:1020: error: array subscript is above array bounds
- References: <47924B13.70304@avtrex.com>
On Sat, Jan 19, 2008 at 11:10:11AM -0800, David Daney wrote:
> For r131631 bootstrap on mipsel-linux in stage2 I am getting:
>
> /home/ddaney/gccsvn/trunk-build/./prev-gcc/xgcc
> -B/home/ddaney/gccsvn/trunk-build/./prev-gcc/
> -B/home/ddaney/gccsvn/trunk-install/mipsel-linux/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../../trunk/gcc -I../../trunk/gcc/. -I../../trunk/gcc/../include
> -I../../trunk/gcc/../libcpp/include -I/home/ddaney/mp/include
> -I/home/ddaney/mp/include -I../../trunk/gcc/../libdecnumber
> -I../../trunk/gcc/../libdecnumber/dpd -I../libdecnumber
> ../../trunk/gcc/final.c -o final.o
> /home/ddaney/gccsvn/trunk-build/./prev-gcc/xgcc
> -B/home/ddaney/gccsvn/trunk-build/./prev-gcc/
> -B/home/ddaney/gccsvn/trunk-install/mipsel-linux/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../../trunk/gcc -I../../trunk/gcc/. -I../../trunk/gcc/../include
> -I../../trunk/gcc/../libcpp/include -I/home/ddaney/mp/include
> -I/home/ddaney/mp/include -I../../trunk/gcc/../libdecnumber
> -I../../trunk/gcc/../libdecnumber/dpd -I../libdecnumber
> ../../trunk/gcc/global.c -o global.o
> cc1: warnings being treated as errors
> ../../trunk/gcc/global.c: In function 'find_reg':
> ../../trunk/gcc/global.c:1020: error: array subscript is above array bounds
> make[3]: *** [global.o] Error 1
>
> This is new since r131576:
>
> http://gcc.gnu.org/ml/gcc-testresults/2008-01/msg00758.html
>
> The configuration is identical to that successful bootstrap/test
Revision 131576 also miscompiled 178.galgel n SPEC CPU 2000 on
Linux/ia32 with -O2 -ffast-math. See
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34852
I don't know if they are related.
H.J.