[Bug tree-optimization/30128] Strange code generated

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Feb 8 23:14:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30128

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|target                      |tree-optimization

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-08 23:13:33 UTC ---
Confirmed still happens:
  len_2 = i_1(D) + 1;
  D.1380_3 = (unsigned char) len_2;
  D.1381_4 = D.1380_3 + 1;
  D.1382_5 = (char) D.1381_4;
  buffer[0] = D.1382_5;
  D.1383_6 = i_1(D) + 2;
  D.1384_7 = D.1383_6 >> 8;
  D.1385_8 = (char) D.1384_7;



More information about the Gcc-bugs mailing list