--- Comment #8 from pinskia at gcc dot gnu dot org 2008-04-07 01:44 ---
This turns out to be PRE for global decl issue as the following is done
correctly (at least on the trunk):
int g(int);
int f(int tt, int *t)
{
if (tt)
*t = 2;
else
*t = 3;
return g(*t);
}
--- CUT ---
f
--- Comment #7 from pinskia at gcc dot gnu dot org 2008-02-23 05:39 ---
*** Bug 35304 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
---
--- Comment #6 from pinskia at gcc dot gnu dot org 2007-07-01 01:18 ---
Note for the Cell this is even more important so you don't run into the LHS
hazzard.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #5 from rguenth at gcc dot gnu dot org 2007-04-03 20:40 ---
Micha, this one is "similar" to hmmer
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
---
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-04-03 20:00 ---
*** Bug 31460 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
---
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-02-06 16:19 ---
(In reply to comment #2)
> 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:
This load PRE issue has been
--- 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)
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-12-24 01:51 ---
I should mention this shows up semi a lot in fortran code as what happens is
that t is not really a global variable but instead a local variable which is
passed to another function.
--
http://gcc.gnu.org/bugzill