This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Fix for: warning: implicit declaration of function `uno_comparison_operator'



On i686-linux I get:
insn-recog.c: In function `recog_1':
insn-recog.c:693: warning: implicit declaration of function `uno_comparison_operator'
insn-recog.c: In function `recog_2':
insn-recog.c:2061: warning: function `uno_comparison_operator' was previously declared within a block
insn-recog.c: In function `recog_5':
insn-recog.c:5234: warning: function `uno_comparison_operator' was previously declared within a block

A patch is appended.

Andreas

2000-04-12  Andreas Jaeger  <aj@suse.de>

	* config/i386/i386-protos.h: Add prototype for
	uno_comparison_operator.

============================================================
Index: config/i386/i386-protos.h
--- config/i386/i386-protos.h	2000/04/09 20:26:42	1.17
+++ config/i386/i386-protos.h	2000/04/12 19:53:32
@@ -56,6 +56,7 @@
 extern int non_q_regs_operand PARAMS ((rtx, enum machine_mode));
 extern int no_comparison_operator PARAMS ((rtx, enum machine_mode));
 extern int fcmov_comparison_operator PARAMS ((rtx, enum machine_mode));
+extern int uno_comparison_operator PARAMS ((rtx, enum machine_mode));
 extern int cmp_fp_expander_operand PARAMS ((rtx, enum machine_mode));
 extern int ext_register_operand PARAMS ((rtx, enum machine_mode));
 extern int binary_fp_operator PARAMS ((rtx, enum machine_mode));

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.rhein-neckar.de
    currently: aj@oss.sgi.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]