[Bug optimization/13191] [64bit] Redundant sign extends

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Feb 25 06:15:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-02-25 06:15 -------
Well I put the wrong dump in here before, here is the right one:
do_integer_bitwise (iterations, r)
{
  int s.3;
  int s;

<bb 0>:
  s = (int)iterations;
  r = s ^ r;
  s.3 = s ^ r;
  r = s ^ (r | s.3);
  s.3 = s.3 ^ r;
  r = s ^ (r | s.3);
  s.3 = s.3 ^ r;
  r = s ^ (r | s.3);
  return r | s.3 ^ r;

}

-- 


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



More information about the Gcc-bugs mailing list