Re: ICE in langhooks.c on SPU

2007-08-28 Thread Richard Guenther
On 8/28/07, Dave Korn <[EMAIL PROTECTED]> wrote: > On 28 August 2007 15:57, Revital1 Eres wrote: > > >> Wow, you mean SPU has more builtins than x86_64? Up the bitfield > >> width of tree.h tree_function_decl.function_code until it no longer ICEs. I checked in a fix. Richard.

RE: ICE in langhooks.c on SPU

2007-08-28 Thread Dave Korn
On 28 August 2007 15:57, Revital1 Eres wrote: >> Wow, you mean SPU has more builtins than x86_64? Up the bitfield >> width of tree.h tree_function_decl.function_code until it no longer ICEs. >> > > Changing the following indeed solves the problem: > > Index: tree.h > ==

Re: ICE in langhooks.c on SPU

2007-08-28 Thread Revital1 Eres
> Wow, you mean SPU has more builtins than x86_64? Up the bitfield > width of tree.h tree_function_decl.function_code until it no longer ICEs. > Changing the following indeed solves the problem: Index: tree.h === --- tree.h (r

Re: ICE in langhooks.c on SPU

2007-08-28 Thread Revital1 Eres
[EMAIL PROTECTED] wrote on 28/08/2007 17:31:08: > On 8/28/07, Dave Korn <[EMAIL PROTECTED]> wrote: > > On 28 August 2007 15:10, Richard Guenther wrote: > > > > > > > > Or maybe on ppc/spu enum bitfields are signed and the following > > > > > > DECL_FUNCTION_CODE (decl) = -1; > > > gcc_asser

Re: ICE in langhooks.c on SPU

2007-08-28 Thread Richard Guenther
On 8/28/07, Dave Korn <[EMAIL PROTECTED]> wrote: > On 28 August 2007 15:10, Richard Guenther wrote: > > > > > Or maybe on ppc/spu enum bitfields are signed and the following > > > > DECL_FUNCTION_CODE (decl) = -1; > > gcc_assert (DECL_FUNCTION_CODE (decl) >= function_code); > > > > doesnt work

RE: ICE in langhooks.c on SPU

2007-08-28 Thread Dave Korn
On 28 August 2007 15:10, Richard Guenther wrote: > > Or maybe on ppc/spu enum bitfields are signed and the following > > DECL_FUNCTION_CODE (decl) = -1; > gcc_assert (DECL_FUNCTION_CODE (decl) >= function_code); > > doesnt work? I saw what you did there, and thought it slightly peculiar

Re: ICE in langhooks.c on SPU

2007-08-28 Thread Richard Guenther
On 8/28/07, Richard Guenther <[EMAIL PROTECTED]> wrote: > On 8/28/07, Revital1 Eres <[EMAIL PROTECTED]> wrote: > > > > Hello, > > > > I get the following ICE with trunk r127857 running the testsuite on SPU: > > > > :0: internal compiler error: in add_builtin_function, at > > langhooks.c:485^M > > P

Re: ICE in langhooks.c on SPU

2007-08-28 Thread Richard Guenther
On 8/28/07, Revital1 Eres <[EMAIL PROTECTED]> wrote: > > Hello, > > I get the following ICE with trunk r127857 running the testsuite on SPU: > > :0: internal compiler error: in add_builtin_function, at > langhooks.c:485^M > Please submit a full bug report,^M > with preprocessed source if appropriat