------- Comment #4 from pinskia at gcc dot gnu dot org 2007-12-17 21:38 ------- retval[idx--] |= val >> (4 - pos - 1); val <<= 32 - (4 - pos - 1); if (idx < 0) For the first warning, even though the warning is correct, I don't think we should warn here as the expressions are split between two different statements.
do { mp_size_t __i; for (__i = 0; __i < (idx); __i++) (retval)[__i] = 0; } while (0); For the second but I think that one should not be warned about. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34515