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]

Re: Function to reliably copy insns (repost)


> 
> 	Would you please fix these?

Done.

Bernd

Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/egcs/gcc/ChangeLog,v
retrieving revision 1.4626
diff -u -p -r1.4626 ChangeLog
--- ChangeLog	1999/10/10 11:52:52	1.4626
+++ ChangeLog	1999/10/10 11:55:27
@@ -8,6 +8,8 @@ Sun Oct 10 13:28:48 1999  Bernd Schmidt 
 	* gmicro.md (load address pattern): Use 'p' constraint, delete use
 	of ADDRESS rtx.
 
+	* emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
+
 Sun Oct 10 02:41:41 1999  Richard Henderson  <rth@cygnus.com>
 
 	* genrecog.c (add_to_sequence): Move allow_const_int test outside
@@ -139,7 +141,7 @@ Fri Oct  8 18:46:11 1999  Bernd Schmidt 
 
 	* jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
 	instead of copy_rtx.  Accept sequences that contain asm statements.
-	* emit_rtl.c (copy_insn_1, copy_insn): New functions.
+	* emit-rtl.c (copy_insn_1, copy_insn): New functions.
 	(copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
 	orig_asm_operands_vector, copy_asm_operands_vector,
 	orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
Index: emit-rtl.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/emit-rtl.c,v
retrieving revision 1.91
diff -u -p -r1.91 emit-rtl.c
--- emit-rtl.c	1999/10/08 17:39:10	1.91
+++ emit-rtl.c	1999/10/10 11:55:36
@@ -3408,7 +3408,7 @@ copy_insn_1 (orig)
   register rtx copy;
   register int i, j;
   register RTX_CODE code;
-  register char *format_ptr;
+  register const char *format_ptr;
 
   code = GET_CODE (orig);
 


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