* dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Handle const1_rtx.

From-SVN: r47482
This commit is contained in:
Richard Kenner 2001-11-30 13:34:12 +00:00 committed by Richard Kenner
parent a7c5337dce
commit 3248917b3e
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,7 @@
Fri Nov 30 08:26:57 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Handle const1_rtx.
2001-11-30 Daniel Berlin <dan@cgsoftware.com>
* genopinit.c (gen_insn): Handle MODE_VECTOR_INT and

View File

@ -873,8 +873,9 @@ dw2_asm_output_encoded_addr_rtx VPARAMS ((int encoding,
return;
}
/* NULL is _always_ represented as a plain zero. */
if (addr == const0_rtx)
/* NULL is _always_ represented as a plain zero, as is 1 for Ada's
"all others". */
if (addr == const0_rtx || addr == const1_rtx)
assemble_integer (addr, size, BITS_PER_UNIT, 1);
else
{