------- Comment #2 from pinskia at gcc dot gnu dot org  2006-01-28 04:06 -------
We should be able to create a PHI for this case.

Hmm, maybe I don't understand load PRE but for some reason I thought it would
be able to do this case:
int *t;
int g(int);
int f(int tt)
{
  int *t1 = t;
  if (*t1)
    *t1 = 2;
  return g(*t1);
}


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-01-28 04:06:19
               date|                            |


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

Reply via email to