diff options
Diffstat (limited to 'gcc/config/epiphany')
-rw-r--r-- | gcc/config/epiphany/epiphany-protos.h | 7 | ||||
-rw-r--r-- | gcc/config/epiphany/epiphany.h | 4 |
2 files changed, 7 insertions, 4 deletions
diff --git a/gcc/config/epiphany/epiphany-protos.h b/gcc/config/epiphany/epiphany-protos.h index 4400580e330..ca1d0ccd906 100644 --- a/gcc/config/epiphany/epiphany-protos.h +++ b/gcc/config/epiphany/epiphany-protos.h @@ -55,3 +55,10 @@ extern unsigned epiphany_special_round_type_align (tree, unsigned, unsigned); extern unsigned epiphany_adjust_field_align (tree, unsigned); extern void epiphany_start_function (FILE *f, const char *name, tree decl); extern bool epiphany_regno_rename_ok (unsigned src, unsigned dst); + +/* Also declared in insn-attr.h, but files generated from epiphany.md + can't / won't include that. In particular: + PR other/55523: gencondmd file includes / dependencies are messed up, + it uses peephole2 predicates without having all the necessary headers. */ +extern int get_attr_sched_use_fpu (rtx); + diff --git a/gcc/config/epiphany/epiphany.h b/gcc/config/epiphany/epiphany.h index d411b295c91..26a908a67ce 100644 --- a/gcc/config/epiphany/epiphany.h +++ b/gcc/config/epiphany/epiphany.h @@ -926,8 +926,4 @@ extern struct rtl_opt_pass pass_resolve_sw_modes; #define ASM_DECLARE_FUNCTION_NAME(FILE, NAME, DECL) \ epiphany_start_function ((FILE), (NAME), (DECL)) -/* PR other/55523: gencondmd file includes / dependencies are messed up, - it uses peephole2 predicates without having all the necessary headers. */ -extern int get_attr_sched_use_fpu (rtx); - #endif /* !GCC_EPIPHANY_H */ |