------- Comment #20 from rguenth at gcc dot gnu dot org  2008-11-23 13:43 
-------
We also need to make sure not to do hoisting where we should do sinking like
for

int foo(int b, int i)
{
  int res;
  if (b)
    res = i + 1;
  else
    res = i + 1;
  return res;
}

(add some more code that shows the increased life-range of res would hurt)

I guess sinking doesn't really fit the PRE framework.


-- 


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

Reply via email to