Commit 3248917b by Richard Kenner Committed by Richard Kenner

* dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Handle const1_rtx.

From-SVN: r47482
parent a7c5337d
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> 2001-11-30 Daniel Berlin <dan@cgsoftware.com>
* genopinit.c (gen_insn): Handle MODE_VECTOR_INT and * genopinit.c (gen_insn): Handle MODE_VECTOR_INT and
......
...@@ -873,8 +873,9 @@ dw2_asm_output_encoded_addr_rtx VPARAMS ((int encoding, ...@@ -873,8 +873,9 @@ dw2_asm_output_encoded_addr_rtx VPARAMS ((int encoding,
return; return;
} }
/* NULL is _always_ represented as a plain zero. */ /* NULL is _always_ represented as a plain zero, as is 1 for Ada's
if (addr == const0_rtx) "all others". */
if (addr == const0_rtx || addr == const1_rtx)
assemble_integer (addr, size, BITS_PER_UNIT, 1); assemble_integer (addr, size, BITS_PER_UNIT, 1);
else else
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment