summaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2005-06-29 16:22:35 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2005-06-29 16:22:35 +0000
commitc27f5119edbb56875532bdc9dd826ab5bccb686e (patch)
tree7c42c3f11a806e2f24db16ba8ea41b9e64594dd6 /gcc/dwarf2out.c
parent03ec52bcf479e979c68de4b9f919b41b78b6c86d (diff)
downloadgcc-c27f5119edbb56875532bdc9dd826ab5bccb686e.tar.gz
* dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): Change
GEN_INT to gen_int_for_mode when storing register size to memory. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101428 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index f4d36e7da15..f29f4ef526b 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -499,7 +499,8 @@ expand_builtin_init_dwarf_reg_sizes (tree address)
if (offset < 0)
continue;
- emit_move_insn (adjust_address (mem, mode, offset), GEN_INT (size));
+ emit_move_insn (adjust_address (mem, mode, offset),
+ gen_int_mode (size, mode));
}
#ifdef DWARF_ALT_FRAME_RETURN_COLUMN