aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJoern Rennecke <joern.rennecke@embecosm.com>2012-11-29 01:56:26 +0000
committerJoern Rennecke <amylaar@gcc.gnu.org>2012-11-29 01:56:26 +0000
commitf701d223936013adb2784356118f0057361e4118 (patch)
tree75bc3de073e041068c3a970e205ccc691603e496 /gcc
parent447a7d2493aa5ad0f27b74cef8cda37e1e667aca (diff)
downloadgcc-f701d223936013adb2784356118f0057361e4118.zip
gcc-f701d223936013adb2784356118f0057361e4118.tar.gz
gcc-f701d223936013adb2784356118f0057361e4118.tar.bz2
Shift get_attr_sched_use_fpu declaration from last change from...
Shift get_attr_sched_use_fpu declaration from last change from config/epiphany/epiphany.h to config/epiphany/epiphany-protos.h . From-SVN: r193916
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog2
-rw-r--r--gcc/config/epiphany/epiphany-protos.h7
-rw-r--r--gcc/config/epiphany/epiphany.h4
3 files changed, 8 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b85c7cf..6731d7f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -3,7 +3,7 @@
* config/epiphany/predicates.md (addsub_operator): New predicate.
* config/epiphany/epiphany-sched.md (sched_use_fpu): New attribute.
* config/epiphany/epiphany.md (isub_i+1): New peephole2.
- * config/epiphany/epiphany.h (get_attr_sched_use_fpu): Declare.
+ * config/epiphany/epiphany-protos.h (get_attr_sched_use_fpu): Declare.
2012-11-28 Jakub Jelinek <jakub@redhat.com>
diff --git a/gcc/config/epiphany/epiphany-protos.h b/gcc/config/epiphany/epiphany-protos.h
index 4400580..ca1d0cc 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 d411b29..26a908a 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 */