[tree-ssa] USE or VUSE bugs?
Wei Liu
liuwei@cs.uiuc.edu
Mon Apr 28 04:49:00 GMT 2003
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
More information about the Gcc
mailing list