bump version
[buildroot.git] / toolchain / gcc / 4.4.1 / 993-arm_insn-opinit-RTX_CODE-fixup.patch
blob16520bb54437aaffc8d556fcfb02ece4064aff0b
1 gcc/ChangeLog
2 2007-11-27 Bernhard Fischer <>
4 * config/arm/arm-protos.h (arm_vector_mode_supported_p,
5 arm_hard_regno_mode_ok, const_ok_for_arm): Do not hide non-rtx related
6 function prototypes in RTX_CODE.
7 * genopinit.c: Include tm_p.h.
9 Index: gcc-4.3.0/gcc/genopinit.c
10 ===================================================================
11 --- gcc-4.3.0/gcc/genopinit.c (revision 130463)
12 +++ gcc-4.3.0/gcc/genopinit.c (working copy)
13 @@ -486,6 +486,7 @@
14 printf ("#include \"expr.h\"\n");
15 printf ("#include \"optabs.h\"\n");
16 printf ("#include \"reload.h\"\n\n");
17 + printf ("#include \"tm_p.h\"\n\n");
19 printf ("void\ninit_all_optabs (void)\n{\n");
21 --- gcc-4.4.1/gcc/config/arm/arm-protos.h.orig 2009-02-20 16:20:38.000000000 +0100
22 +++ gcc-4.4.1/gcc/config/arm/arm-protos.h 2009-08-18 18:47:17.000000000 +0200
23 @@ -41,12 +41,11 @@
24 unsigned int);
25 extern unsigned int arm_dbx_register_number (unsigned int);
26 extern void arm_output_fn_unwind (FILE *, bool);
29 -#ifdef RTX_CODE
30 extern bool arm_vector_mode_supported_p (enum machine_mode);
31 extern int arm_hard_regno_mode_ok (unsigned int, enum machine_mode);
32 extern int const_ok_for_arm (HOST_WIDE_INT);
33 +#ifdef RTX_CODE
34 extern int arm_split_constant (RTX_CODE, enum machine_mode, rtx,
35 HOST_WIDE_INT, rtx, rtx, int);
36 extern RTX_CODE arm_canonicalize_comparison (RTX_CODE, enum machine_mode,