| 1 | gcc/ChangeLog |
| 2 | 2007-11-27 Bernhard Fischer <> |
| 3 | |
| 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. |
| 8 | |
| 9 | --- a/gcc/config/arm/arm-protos.h |
| 10 | +++ b/gcc/config/arm/arm-protos.h |
| 11 | @@ -43,10 +43,10 @@ extern unsigned int arm_dbx_register_num |
| 12 | extern void arm_output_fn_unwind (FILE *, bool); |
| 13 | |
| 14 | |
| 15 | -#ifdef RTX_CODE |
| 16 | extern bool arm_vector_mode_supported_p (enum machine_mode); |
| 17 | extern int arm_hard_regno_mode_ok (unsigned int, enum machine_mode); |
| 18 | extern int const_ok_for_arm (HOST_WIDE_INT); |
| 19 | +#ifdef RTX_CODE |
| 20 | extern int arm_split_constant (RTX_CODE, enum machine_mode, rtx, |
| 21 | HOST_WIDE_INT, rtx, rtx, int); |
| 22 | extern RTX_CODE arm_canonicalize_comparison (RTX_CODE, enum machine_mode, |
| 23 | --- a/gcc/genopinit.c |
| 24 | +++ b/gcc/genopinit.c |
| 25 | @@ -487,6 +487,7 @@ from the machine description file `md'. |
| 26 | printf ("#include \"expr.h\"\n"); |
| 27 | printf ("#include \"optabs.h\"\n"); |
| 28 | printf ("#include \"reload.h\"\n\n"); |
| 29 | + printf ("#include \"tm_p.h\"\n\n"); |
| 30 | |
| 31 | printf ("void\ninit_all_optabs (void)\n{\n"); |
| 32 | |
| 33 | |