Commit 8f4fc766 by Andreas Tobler Committed by Andreas Tobler

dwarf2out.c (expand_builtin_dwarf_sp_column): Make dwarf_regnum unsigned to fix…

dwarf2out.c (expand_builtin_dwarf_sp_column): Make dwarf_regnum unsigned to fix signed/unsigned comparison issue in...

2006-03-08  Andreas Tobler  <a.tobler@schweiz.ch>

	* dwarf2out.c (expand_builtin_dwarf_sp_column): Make dwarf_regnum
	unsigned to fix signed/unsigned comparison issue in
	DWARF2_FRAME_REG_OUT.
	(expand_builtin_init_dwarf_reg_sizes): Make i unsigned to fix signed/
	unsigned comparison issue in DWARF2_FRAME_REG_OUT.

From-SVN: r111850
parent 6677e189
2006-03-08 Andreas Tobler <a.tobler@schweiz.ch>
* dwarf2out.c (expand_builtin_dwarf_sp_column): Make dwarf_regnum
unsigned to fix signed/unsigned comparison issue in
DWARF2_FRAME_REG_OUT.
(expand_builtin_init_dwarf_reg_sizes): Make i unsigned to fix signed/
unsigned comparison issue in DWARF2_FRAME_REG_OUT.
* tree-ssa-operands.c (finalize_ssa_def_ops): Move the declaration
of ptr into the ENABLE_CHECKING section.
......
......@@ -411,7 +411,7 @@ static void def_cfa_1 (const char *, dw_cfa_location *);
rtx
expand_builtin_dwarf_sp_column (void)
{
int dwarf_regnum = DWARF_FRAME_REGNUM (STACK_POINTER_REGNUM);
unsigned int dwarf_regnum = DWARF_FRAME_REGNUM (STACK_POINTER_REGNUM);
return GEN_INT (DWARF2_FRAME_REG_OUT (dwarf_regnum, 1));
}
......@@ -438,7 +438,7 @@ stripattributes (const char *s)
void
expand_builtin_init_dwarf_reg_sizes (tree address)
{
int i;
unsigned int i;
enum machine_mode mode = TYPE_MODE (char_type_node);
rtx addr = expand_normal (address);
rtx mem = gen_rtx_MEM (BLKmode, addr);
......
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