This is the mail archive of the gcc@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: Unreviewed patch (was: another bootstrap failure onsparc-sun-solaris28 in cp/xref.o)


> In general, it is not possible to replace dw2_asm_output_* with
> assemble_integer, because we want to do things like emit
> 
> 	.uaword	.L0 - .L1
> 
> which you cannot do in assemble_integer.

Umm ... dw2_asm_output_delta already has:

#ifdef UNALIGNED_INT_ASM_OP
  fputs (unaligned_integer_asm_op (size), asm_out_file);
  assemble_name (asm_out_file, lab1);
  fputc ('-', asm_out_file);
  assemble_name (asm_out_file, lab2);
#else
  assemble_integer (gen_rtx_MINUS (Pmode, gen_rtx_SYMBOL_REF (Pmode, lab1),
                                   gen_rtx_SYMBOL_REF (Pmode, lab2)),
                    size, BITS_PER_UNIT, 1);
#endif

Doesn't imply that assemble_integer handles the very issue you're
raising (whitespace formatting issues aside)?  BTW, I wasn't talking
about replacing dw2_asm_output_* with assemble_integer, merely
replacing uses of unaligned_integer_asm_op with assemble_integer.

-- John
-------------------------------------------------------------------------
|   Feith Systems  |   Voice: 1-215-646-8000  |  Email: john@feith.com  |
|    John Wehle    |     Fax: 1-215-540-5495  |                         |
-------------------------------------------------------------------------


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