[Bug optimization/2806] if's are not combined together

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Mar 4 03:06:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-03-04 03:06 -------
We are now missing one jump threading for some reason:
(From .DOM3):
{
<bb 0>:
  if (eax_1 == 65535) goto <L0>; else goto <L6>;

<L0>:;
  if (edx_2 == 1) goto <L1>; else goto <L4>;

<L1>:;
  abarney[0] = 5;
  abarney[1] = 6;

<L4>:;
  edx_3 = edx_2 - 1;
  if (edx_3 == 0) goto <L5>; else goto <L6>;

<L5>:;
  afred[0] = 2;

<L6>:;
  return;

}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |law at gcc dot gnu dot org
             Status|SUSPENDED                   |NEW
   Last reconfirmed|2003-12-04 09:14:27         |2004-03-04 03:06:04
               date|                            |


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



More information about the Gcc-bugs mailing list