[Bug optimization/14758] [tree-ssa] another missed forward propagation opportunity

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Mar 30 21:31:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-03-30 21:31 -------
Here is an example which is easier to put into the testsuite, there should be no references to 
link_error.

void link_error (void);
void
foo (int a)
{
  int old_a=a;
  a = !a;
  a = !a;
  a = !a;
  a = !a;
  a = !a;

  if (a)
    if (old_a)
      link_error ();
}



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2004-03-28 07:35:45         |2004-03-30 21:31:27
               date|                            |


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



More information about the Gcc-bugs mailing list