[tree-ssa] USE or VUSE bugs?
Daniel Berlin
dberlin@dberlin.org
Mon Apr 28 05:22:00 GMT 2003
On Sunday, April 27, 2003, at 10:59 PM, Wei Liu wrote:
> 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.
At what point?
IE Where is your code inserted that you are seeing this.
> 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