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]

dwarf2asm.c typo


smallest_mode_for_size() is being called with too many parameters...

   /Krister



2001-03-04  Krister Walfridsson  <cato@df.lth.se>

        * dwarf2asm.c (dw2_asm_output_delta): Fix smallest_mode_for_size call.



diff -c -3 -p -r1.1 dwarf2asm.c
*** dwarf2asm.c 2001/03/03 02:17:04     1.1
--- dwarf2asm.c 2001/03/04 10:47:41
*************** dw2_asm_output_delta VPARAMS ((int size,
*** 153,159 ****
    fputc ('-', asm_out_file);
    assemble_name (asm_out_file, lab2);
  #else
!   assemble_integer (gen_rtx_MINUS (smallest_mode_for_size (size, MODE_INT, 0),
                                   gen_rtx_SYMBOL_REF (Pmode, lab1),
                                   gen_rtx_SYMBOL_REF (Pmode, lab2)),
                    size, 1);
--- 153,159 ----
    fputc ('-', asm_out_file);
    assemble_name (asm_out_file, lab2);
  #else
!   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]