This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: ICE in langhooks.c on SPU
- From: Revital1 Eres <ERES at il dot ibm dot com>
- To: "Richard Guenther" <richard dot guenther at gmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 28 Aug 2007 17:57:19 +0300
- Subject: Re: ICE in langhooks.c on SPU
> 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 (revision 127857)
+++ tree.h (working copy)
@@ -3312,7 +3312,7 @@
DECL_FUNCTION_CODE. Otherwise unused.
??? The bitfield needs to be able to hold all target function
codes as well. */
- ENUM_BITFIELD(built_in_function) function_code : 10;
+ ENUM_BITFIELD(built_in_function) function_code : 11;
ENUM_BITFIELD(built_in_class) built_in_class : 2;
unsigned static_ctor_flag : 1;
Thanks,
Revital
> A patch that fixes this this way is pre-approved.
>
> Thanks,
> Richard.