This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]