This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: current CVS version aborts in size_binops compiling Linux kernel
- To: Philipp Thomas <pthomas at suse dot de>
- Subject: Re: current CVS version aborts in size_binops compiling Linux kernel
- From: Horst von Brand <vonbrand at pincoya dot inf dot utfsm dot cl>
- Date: Fri, 03 Mar 2000 11:12:09 -0300
- cc: gcc-bugs at gcc dot gnu dot org
Philipp Thomas <pthomas@suse.de> said:
> gcc version 2.96 20000302 (experimental) aborts while compiling
> linux/fs/isofs/namei.c with:
[...]
> namei.c:206: Internal compiler error in `size_binop', at fold-const.c:1873
I traced this to stuff like:
struct {
char a[10];
} *p;
f()
{
int i;
return p->a[-i];
}
Sure enough, egcs-20000228 on sparc-redhat-linux crashes the same way as it
does at home on i686-redhat-linux and as it does for you.
egcs-20000221 works fine.
--
Dr. Horst H. von Brand mailto:vonbrand@inf.utfsm.cl
Departamento de Informatica Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria +56 32 654239
Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513