Shift get_attr_sched_use_fpu declaration from last change from
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 29 Nov 2012 01:56:26 +0000 (01:56 +0000)
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 29 Nov 2012 01:56:26 +0000 (01:56 +0000)
config/epiphany/epiphany.h to config/epiphany/epiphany-protos.h .

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193916 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/epiphany/epiphany-protos.h
gcc/config/epiphany/epiphany.h

index b85c7cf..6731d7f 100644 (file)
@@ -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>
 
index 4400580..ca1d0cc 100644 (file)
@@ -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);
+
index d411b29..26a908a 100644 (file)
@@ -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 */