mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-10 17:11:01 +08:00
dwarf2out.c (address_of_int_loc_descriptor): Avoid signed/unsigned comparison warning on rs6000.
* dwarf2out.c (address_of_int_loc_descriptor): Avoid signed/unsigned comparison warning on rs6000. From-SVN: r151967
This commit is contained in:
parent
40742b4269
commit
8b659ecb8e
@ -1,5 +1,8 @@
|
||||
2009-09-22 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* dwarf2out.c (address_of_int_loc_descriptor): Avoid signed/unsigned
|
||||
comparison warning on rs6000.
|
||||
|
||||
PR middle-end/41429
|
||||
* tree-cfg.c (remove_useless_stmts_tc): Call gsi_next (gsi) even for
|
||||
GIMPLE_EH_MUST_NOT_THROW cleanup.
|
||||
|
@ -10926,7 +10926,7 @@ address_of_int_loc_descriptor (int size, HOST_WIDE_INT i)
|
||||
+ 1 (mode size)
|
||||
and for DW_OP_implicit_value:
|
||||
1 (DW_OP_implicit_value) + 1 (length) + mode_size. */
|
||||
if (DWARF2_ADDR_SIZE >= size
|
||||
if ((int) DWARF2_ADDR_SIZE >= size
|
||||
&& litsize + 1 + 1 + 1 < 1 + 1 + size)
|
||||
{
|
||||
loc_result = int_loc_descriptor (i);
|
||||
|
Loading…
x
Reference in New Issue
Block a user