This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch for wrong number of arguments in call to smallest_mode_for_size.
- To: gcc-patches at gcc dot gnu dot org
- Subject: Patch for wrong number of arguments in call to smallest_mode_for_size.
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Date: Tue, 6 Mar 2001 16:57:53 -0500 (EST)
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);