------- Comment #1 from rguenth at gcc dot gnu dot org 2006-12-09 11:02 ------- This is because for the first line
(*((char *)(p) + 0) = (char) ((dat)) & 0xff) we do the len + 1 in unsigned char type (we recognize x & 0xff as a cast to unsigned char). So we have two additions and cannot figure out in the end that one is redundant. (we might have a dup for this) -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu dot | |org Severity|normal |enhancement Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 GCC build triplet|i586-suse-linux | GCC host triplet|i586-suse-linux | GCC target triplet|i586-suse-linux | Keywords| |missed-optimization Last reconfirmed|0000-00-00 00:00:00 |2006-12-09 11:02:10 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30128