diff options
author | andreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-03-08 23:00:12 +0000 |
---|---|---|
committer | andreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-03-08 23:00:12 +0000 |
commit | 963e1d38a53b75ee4942d5e338e68751b9f29551 (patch) | |
tree | a959fad21117a2740308ffb8d3b748542dd1656b /gcc | |
parent | e817549bd68500148e63febb7638d642cf32f5ec (diff) | |
download | ppe42-gcc-963e1d38a53b75ee4942d5e338e68751b9f29551.tar.gz ppe42-gcc-963e1d38a53b75ee4942d5e338e68751b9f29551.zip |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111850 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/dwarf2out.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c882a0d978c..0aeb0882f65 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ 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. diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 8ee34b34e93..6e98a4f0ed8 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -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); |