This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
[tree-ssa] USE or VUSE bugs?
- From: Wei Liu <liuwei at cs dot uiuc dot edu>
- To: gcc at gcc dot gnu dot org
- Date: Sun, 27 Apr 2003 21:59:39 -0500 (CDT)
- Subject: [tree-ssa] USE or VUSE bugs?
I have a very simple kernel as follows. The problem is, for statement
a=b+c, there is no USE or VUSE I can get from get_ops and get_vops. So
this statement seems to me no use operands. It is really weird, because I
suppose I can all operands from get_ops and get_vops.
Any suggestions are greatly appreciated. Thanks.
---------------------------------------------
void foo1 (const char *);
int foo2(float *in, float *in2);
float a;
int func(int *in, int in2)
{
float b, c;
int i;
for (i = 0; i < 10; i++)
{
foo1("yes");
foo2 (&b, &c);
*in = in2;
a = b + c;
}
}
=============================
Sincerely,
Wei Liu