PATCH : C++ comment in backend

Philippe De Muyter phdm@macqel.be
Tue Apr 4 22:04:00 GMT 2000


K&R compilers do not allow C++ comments.  I think that should be spotted
by the CWARN_FLAGS.  Meanwhile, here is a fix for the culprit code.

Philippe De Muyter <phdm@macqel.be>

	* m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
	not C++ comments.

Index: gcc/config/m68k/m68k-protos.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/m68k/m68k-protos.h,v
retrieving revision 1.1
diff -u -p -r1.1 m68k-protos.h
--- m68k-protos.h	2000/01/12 19:24:13	1.1
+++ m68k-protos.h	2000/04/05 04:35:34
@@ -54,7 +54,9 @@ extern int standard_sun_fpa_constant_p P
 extern void print_operand_address PARAMS ((FILE *, rtx));
 extern void print_operand PARAMS ((FILE *, rtx, int));
 extern void notice_update_cc PARAMS ((rtx, rtx));
-//extern void finalize_pic PARAMS ((rtx, enum machine_mode));
+#if 0
+extern void finalize_pic PARAMS ((rtx, enum machine_mode));
+#endif
 extern int general_src_operand PARAMS ((rtx, enum machine_mode));
 extern int nonimmediate_src_operand PARAMS ((rtx, enum machine_mode));
 extern int memory_src_operand PARAMS ((rtx, enum machine_mode));


More information about the Gcc-patches mailing list