On Fri, May 1, 2009 at 1:46 PM, Steven Bosscher <stevenb....@gmail.com> wrote: >> config/spu/spu.c:#include "c-common.h" > > These I will need to check via a cross compiler. Andrew P., maybe you > can look at SPU?
It was not needed since: 2006-11-30 Andrew Pinski <andrew_pin...@playstation.sony.com> * config/spu/spu.c (spu_builtin_range): Move from spu-c.c (TARGET_RESOLVE_OVERLOADED_BUILTIN): Delete. (spu_cpu_cpp_builtins): Remove. (spu_override_options): Don't set warn_main. (spu_force_reg): Move from spu-c.c. (spu_check_builtin_parm): Likewise. (expand_builtin_args): Likewise. (spu_expand_builtin_1): Likewise. (spu_expand_builtin): Likewise. * config/spu/spu.h (REGISTER_TARGET_PRAGMAS): Define, set warn_main and targetm.resolve_overloaded_builtin. * config/spu/spu-c.c (spu_builtin_range): Remove. (spu_check_builtin_parm): Remove. (expand_builtin_args): Remove. (spu_expand_builtin_1): Remove. (spu_expand_builtin): Remove. (spu_cpu_cpp_builtins): Moved from spu.c (spu_force_reg): Remove. When I moved around the code so that the code that depends on the C family of front-ends is located in spu-c.c, I had forgot to change the includes though. I Committed attached patch after a build/test for spu-elf. Thanks, Andrew Pinski ChangeLog: * config/spu/spu.c: Remove include of c-common.c
Index: spu.c =================================================================== --- spu.c (revision 147250) +++ spu.c (working copy) @@ -48,7 +48,6 @@ #include "sched-int.h" #include "params.h" #include "assert.h" -#include "c-common.h" #include "machmode.h" #include "gimple.h" #include "tm-constrs.h"