diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-11-30 13:34:12 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-11-30 13:34:12 +0000 |
commit | 1c6585ca5e82b33d3b67146ad3f797c673b2a606 (patch) | |
tree | ce6667e8ed5ea487a9a8d24c6ba2ee798b7eb0bf /gcc/dwarf2asm.c | |
parent | 853ffad17f1ab860870fc096292df19d4ca93020 (diff) | |
download | gcc-1c6585ca5e82b33d3b67146ad3f797c673b2a606.tar.gz |
* dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Handle const1_rtx.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47482 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarf2asm.c')
-rw-r--r-- | gcc/dwarf2asm.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/dwarf2asm.c b/gcc/dwarf2asm.c index 3adb7e5dcf6..94f0e967be0 100644 --- a/gcc/dwarf2asm.c +++ b/gcc/dwarf2asm.c @@ -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 { |