PR debug/49262
* dwarf2out.c (native_encode_initializer): Decrement count in each
iteration.
From-SVN: r174715
2011-06-06 Jakub Jelinek <jakub@redhat.com>
+ PR debug/49262
+ * dwarf2out.c (native_encode_initializer): Decrement count in each
+ iteration.
+
PR debug/49294
* dwarf2out.c (mem_loc_descriptor) <do_shift>: Give up for
non-MODE_INT modes.
{
int count = tree_low_cst (TREE_OPERAND (index, 1), 0)
- tree_low_cst (TREE_OPERAND (index, 0), 0);
- while (count > 0)
+ while (count-- > 0)
{
if (val)
memcpy (array + curpos, array + pos, fieldsize);