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]

Patch for wrong number of arguments in call to smallest_mode_for_size.


This patch may fix a bootstrap failure compiling under hpux 10.20 with
the 3.0 branch and todays source.  There is another more serious problem
with the bootstrap running fix-proto.  So, I haven't been able to check
the fix.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

2001-03-06  John David Anglin  <dave@hiauly1.hia.nrc.ca>

	* dwarf2asm.c (dw2_asm_output_delta): Correct arguments in call to
	smallest_mode_for_size.

--- dwarf2asm.c.orig	Fri Mar  2 21:17:04 2001
+++ dwarf2asm.c	Tue Mar  6 15:46:41 2001
@@ -153,7 +153,7 @@
   fputc ('-', asm_out_file);
   assemble_name (asm_out_file, lab2);
 #else
-  assemble_integer (gen_rtx_MINUS (smallest_mode_for_size (size, MODE_INT, 0),
+  assemble_integer (gen_rtx_MINUS (smallest_mode_for_size (size, MODE_INT),
 				   gen_rtx_SYMBOL_REF (Pmode, lab1),
 				   gen_rtx_SYMBOL_REF (Pmode, lab2)),
 		    size, 1);


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