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:
> >
> > <built-in>:0: internal compiler error: in add_builtin_function, at
> > langhooks.c:485^M
> > Please submit a full bug report,^M
> > with preprocessed source if appropriate.^M
> > See <http://gcc.gnu.org/bugs.html> for instructions.^M
> > compiler exited with status 1
> > output is:
> > <built-in>:0: internal compiler error: in add_builtin_function, at
> > langhooks.c:485^M
> > Please submit a full bug report,^M
> > with preprocessed source if appropriate.^M
> > See <http://gcc.gnu.org/bugs.html> for instructions.^M
>
> 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.
>
> A patch that fixes this this way is pre-approved.

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?

> Thanks,
> Richard.
>

Reply via email to